41 solutions available
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 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 3Your school management has decided to organize cricket matches between students of Classes XI and XII. All the students are divided into...
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 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 3What is the difference between data and information?
Question 7(i)Explain the difference between database and file.
Question 7(ii)Explain the difference between data and file.
Question 10Summarize the major differences between a relation and a traditional file.
Question 11What is the relationship between a database and 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...