103 solutions available
Question 1Assertion (A): Database management system is an application software which arranges data in a well-organized manner in the form of...
Question 2Assertion (A): A database consists of multiple tables.Reasoning (R): A foreign key is used to represent the relationship between two...
Question 3Assertion (A): The limitations of traditional file system are overcome by storing data in a database.Reasoning (R): We can organize related...
Question 4Assertion (A): The number of attributes in a relation is called the degree of the relation.Reasoning (R): The number of tuples in a...
Question 5Assertion (A): Each table must have one primary key.Reasoning (R): Primary key is a set of one or more attributes that uniquely identifies...
Question 6Assertion (A): A database can have only one table.Reasoning (R): If a piece of data is stored in two places in a database, then it leads to...
Question 7Assertion (A): A database constraint can be added or removed any time in/from the database tables.Reasoning (R): Alter table command is...
Question 8Assertion (A): SQL has efficient mechanisms to retrieve data stored in multiple tables in a MySQL database.Reasoning (R): The SQL statement...
Question 9Assertion (A): The SQL keyword Like is used with wildcards only.Reasoning (R): '_' underscore and "%" per cent are the two wildcard...
Question 10Assertion (A): DISTINCT clause must be used in an SQL statement to eliminate duplicate rows.Reasoning (R): DISTINCT only works with...
Question 11Assertion (A): FLOAT and DOUBLE are data types.Reasoning (R): Both can hold any number up to 23 digits.Both A and R are true and R is the...
Question 1Kunal has entered the following SQL command in the table 'STUDENT' that has TotalMarks as one of the columns:SELECT * FROM Student;...
Question 2(a)Mr. Shivaya is using a table 'COURSE' with the following columns: COURSE_ID, COURSE_NAME. He needs to display the names of all the...
Question 2(b)Ms. Manisha, a veterinarian, created a table 'VETERINARY' with the following columns:ANIMAL_ID, VACCINATION_DATE, ANIMAL, OWNER_NAME She...
Question 3Your school management has decided to organize cricket matches between students of Classes XI and XII. All the students are divided into...
Question 1A Database is an organized collection of records.
Question 2DBMS stands for Database Management System.
Question 3Data Redundancy means duplication of data.
Question 4Tuples are known as rows and Attributes are known as columns in RDBMS.
Question 5MySQL is a freely available open-source RDBMS that implements SQL.
Question 6MySQL provides a dummy table called Dual.
Question 7The Distinct keyword eliminates duplicate records from the results of a SELECT statement.
Question 8The Describe or Desc statement is used to view the structure of a table.
Question 9The Where clause is used to select specific rows.
Question 10Select is used to fetch data from one or more database tables.
Question 11Select * statement displays all Columns of a table.
Question 12The rows of the table (relation) are referred to as Tuples.
Question 13Insert into command is used to add a new record to a table.
Question 14The non-key attribute which helps to make relationship between two tables is known as Foreign key.
Question 15Alter table command is used to change the data type of an existing column.
Question 1............... is a named collection of data items which represents a complete unit of information.FieldRecordTableDatabase
Question 2A ............... is a named collection of all occurrences of a given type of logical record.FieldRecordRelationDatabase
Question 3The number of attributes in a relation determines the ............... of a relation.DegreeTuplesAttributesCardinality
Question 4The rows of the relations are generally referred to as ............... .DegreeTuplesAttributesCardinality
Question 5What is a database?Organized collection of information that cannot be accessed, updated and managedCollection of data or information...
Question 6............... is a set of one or more attributes that can uniquely identify tuples within the relation.Primary...
Question 7A candidate key that is not the primary key is called a/an ............... .Primary KeyAlternate KeyCandidate KeyForeign Key
Question 8The ............... allows you to perform tasks related to data definition.DDLDMLTCLNone of these
Question 9The ............... allows you to perform tasks related to data manipulation.DDLDMLTCLNone of these
Question 10A ............... is a text that is not executed.StatementQueryCommentClause
Question 11............... are words that have a special meaning in SQL.KeywordsLiteralsVariablesTables
Question 12Which of the following are DDL commands?(A) Delete(B) Create(C) Update(D) Alter(E) Drop(B), (D) and (E)(A), (B) and (D)(B), (C) and...
Question 13Identify the correct statement(s):Statement 1 (S1): Char data type in MySQL stores fixed length strings.Statement 2 (S2): Char data type...
Question 14Which of the following keywords is used to display non-repeated values in MySQL?UniqueAllOrder byDistinct
Question 15The SQL statements always end with ............... .,:;"
Question 16Shivam wants to see the table structure in MySQL. Select an appropriate command to help him.UseShowDescDisplay
Question 17Rajat wants to delete a primary key constraint from the table. Select an appropriate command to do so.CreateAlterDropDelete
Question 18Rajveer wants to rename column in display result for his query. Select the appropriate query for the same:Select Ename, Salary*12 Annual...
Question 19The symbol Asterisk (*) in a select query retrieves ............... .All data from the tableData of primary key onlyNULL dataNone of these
Question 20Consider the attributes ( RollNumber, SName, SDateofBirth, GUID ) of the table Student. According to you, which of the following options...
Question 21Consider a table Student having two fields—FName varchar(20) and LName char(20). If in a record, value stored in Fname is 'Anuj' and LName...
Question 1What is data?
Question 2What do you mean by information?
Question 3What is the difference between data and information?
Question 4What is database and database system? What are the elements of database system?
Question 5Why do we need a database?
Question 6What is database management system? Why do we need a DBMS?
Question 7(i)Explain the difference between database and file.
Question 7(ii)Explain the difference between data and file.
Question 8Suppose all customers of a particular business live in states for which the city name is unique. Given the following description for...
Question 9(i)Define Relation.
Question 9(ii)Define Domain.
Question 9(iii)Define Tuple.
Question 9(iv)Define Attribute.
Question 9(v)Define Degree.
Question 9(vi)Define Cardinality.
Question 10Summarize the major differences between a relation and a traditional file.
Question 11What is the relationship between a database and a table?
Question 12What is DBMS? Write names of any two DBMSs.
Question 13How is data organized in a table?
Question 14What is a primary key? What is its function in a table?
Question 15Write SQL queries to perform the following based on the table Product having fields as (prod_id, prod_name, quantity, unit_rate, price,...
Question 16(a)Define Database.
Question 16(b)Define Data inconsistency.
Question 16(c)Define Primary Key.
Question 16(d)Define Candidate Key.
Question 16(e)Define Alternate Key.
Question 16(f)Define Foreign Key.
Question 17Match the following clauses with their respective functions.Column 1Column 2ALTERInsert the values in a tableUPDATERestrictions on...
Question 18Write SQL commands for (a) to (e) on the basis of PRODUCTS relation given below:Table:...
Question 19What are DDL and DML?
Question 20Differentiate between primary key and candidate key in a relation.
Question 21What do you understand by the terms Cardinality and Degree of a relation in relational database?
Question 22Differentiate between DDL and DML. Mention the two commands for each category.
Question 23Consider the given table and answer the questions.Table: SchoolBusRtnoArea_CoveredCapacityNoofstudentsDistanceTransporterCharges1Vasant...
Question 24Write SQL commands for (a) to (d) and write the output for (e) on the basis of the following table:Table: FURNITURES...
Question 25Write SQL commands for (a) to (d) and write the output for (e) and (f) on the basis of given table GRADUATE:Table: GRADUATES...
Question 26(a)What is the difference between Candidate key and Alternate key?
Question 26(b)What is the degree and cardinality of a table having 10 rows and 5 columns?
Question 26(c)For the given table, do as directed:Table: STUDENTColumn nameData typeSizeConstraintROLLNOInteger4Primary KeySNAMEVarchar25Not...
Question 27Write SQL queries based on the following tables:Table: PRODUCTP_IDProductNameManufacturerPriceDiscountTP01Talcum PowderLAK40NullFW05Face...
Question 28Write SQL queries based on the table given below:Table: HOSPITALS...
Question 1In relational data model a table is called relation.
Question 2A row in a table will not represent a relationship among a set of values.
Question 3Data Item is the smallest unit of named data.
Question 4Data Item represents multi-type of information in a field.
Question 5Duplication of data is known as Data Redundancy.
Question 6An attribute is a set of values of a dissimilar type of data.
Question 7MySQL supports different platforms like UNIX and Windows.
Question 8UPDATE TABLE command is used to create table in a database.
Question 9Null (Unavailable and unknown) values are entered by the following command:INSERT INTO TABLE NAME VALUES ("NULL") ;
Question 10ALTER TABLE command is used to modify the structure of the table.
Question 11All primary keys are candidate keys but all candidate keys are not primary keys.