MCQ 1 Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record?

Correct Answer Choice C Super Key
See Answer

MCQ 2 Character data can be stored as ____________.

Correct Answer Choice A Either Fixed or Variable length string
See Answer

MCQ 3 Which SQL commands can be used to delete all records from the table in a sql databas

Correct Answer Choice D Both A and C
See Answer

MCQ 4 SQL Command to remove stored procedure SQL

Correct Answer Choice B Drop
See Answer


MCQ 5 Which of the following operations requires the relations to be union compatible?

Correct Answer Choice D All of these
See Answer

MCQ 6 How do you select all the records from a table named "records" where the value of the column "FirstName" starts with an "R"?

Correct Answer Choice A SELECT * FROM Persons WHERE FirstName LIKE 'R%'
See Answer

MCQ 7 How can you return the number of records in the "records" table?

Correct Answer Choice D SELECT COUNT(*) FROM records
See Answer

MCQ 8 How can you delete the records where the "FirstName" is "Rajiv" in the records Table?

Correct Answer Choice C DELETE FROM records WHERE FirstName = 'Rajiv'
See Answer


MCQ 9 The COUNT function in SQL returns the number of ______________.

Correct Answer Choice A Values
See Answer

MCQ 10 The command used to delete a particular column in a relation is ___________________

Correct Answer Choice D DELETE COLUMN
See Answer

MCQ 11 How can you insert a new record into the "records" table?

Correct Answer Choice A INSERT INTO records VALUES ('Rajiv', 'Sharma')
See Answer

MCQ 12 How do you select all the records from a table named "records" where the value of the column "FirstName" is "Rajiv"?

Correct Answer Choice B SELECT * FROM records WHERE FirstName='Rajiv'
See Answer


MCQ 13 Which SQL statement is used to return only different values?

Correct Answer Choice C SELECT DISTINCT
See Answer

MCQ 14 Which SQL keyword is used to sort the result-set?

Correct Answer Choice D ORDER BY
See Answer

MCQ 15 Which data type can store unstructured data in a column?

Correct Answer Choice A CHAR
See Answer

MCQ 16 The virtual table that its created by data from the result of an SQL 'Select' statement is called ______________.

Correct Answer Choice A View
See Answer


MCQ 17 A View is in database is

Correct Answer Choice A A view is a virtual table which results of executing a pre-compiled query. A view is not part of the physical database schema, while the regular tables are.
See Answer

MCQ 18 Which of the group functions ignonre null values?

Correct Answer Choice D All of the above
See Answer

MCQ 19 Which SQK Keyword is used to retrive a maximum value?

Correct Answer Choice D Max
See Answer

MCQ 20 Which of the following is true for TRUNCATE in SQL?

Correct Answer Choice C It is usually faster than DELETE command
See Answer


MCQ 21 Difference between a primary key and a unique key?

Correct Answer Choice C You can have only one primary key whereas you can have multiple unique keys
See Answer

MCQ 22 If we do want to eliminate duplicates, we use the keyword _____________in the aggregate expression.

Correct Answer Choice B Distinct
See Answer

MCQ 23 The UNION SQL clause can be used with _____________

Correct Answer Choice A SELECT clause only
See Answer

MCQ 24 Which of the following is not a DDL command?

Correct Answer Choice A UPDATE
See Answer


MCQ 25 Aggregate functions are functions that take a ___________ as input and return a single value.

Correct Answer Choice A Collection of values
See Answer

NTSE, NEET, AIEEE, Olympiad & Other Competive Exams Preparation

Publish Your Article / Write for Us

Article Writing Guide/Help

Trending Questions


Advantages Of NCERT, CBSE & State Boards Solutions For All Subjects

  • All the NCERT Solutions have been prepared by academic experts having 10+ years of teaching experience.
  • They have prepared all the solutions in simple and easy language, so that each and every student can understand the concepts easily.
  • All the solutions have been explained step to step wise in details with better explainations.
  • Students can also use these question and answers for your assignments and in homework help.
  • All the solutions have been explained in detail and the answers have been compiled in a step-wise manner.
  • All the question and asnwers are commonly prepared according to the Latest Syllabus of Board Education and Guidelines.
  • Students can know about the various types of questions asked in the exams with the help of these solutions.

Top Course Categories