Structured Query Language

Computer Science and Engineering > DataBase Management System

SQL stands for structured query language. It is a language that can be used for retrieval and management of data stored in relational database. It is a non-procedural language as it specifies what is to be retrieved rather than how to retrieve it. It can be used for defining the structure of data, modifying data in the database and specifying the security constraints.

The two major categories of SQL commands are Data Definition Language (DDL) and Data Manipulation Language (DML). DDL provides commands that can be used to create, modify and delete database objects. DML provides commands that can be used to access and manipulate the data, that is, to retrieve, insert, delete and update data in a database.

Improve your understanding of Structured Query Language (SQL) with our interactive and challenging MCQ (Multiple Choice Questions) quiz. Covering a range of topics, from basic queries to advanced SQL features, our quiz is designed to help you practice your skills and prepare for interviews or exams.

➲ Structured Query Language - Quiz

  • A SELECT * FROM Employee SORT BY
  • B SELECT * FROM Employee ORDER BY Name DESC;
  • C SELECT * FROM Employee ORDER Name DESC;
  • D SELECT * FROM Employee SORT
  • A DELETE
  • B DISTINCT
  • C NON DUPLICATE
  • D EXISTS
  • A INSERT VALUES (
  • B INSERT (
  • C INSERT INTO Employee VALUES (
  • D None of these
  • A UPDATE Employee SET Name=
  • B ALTER Employee SET Name=
  • C UPDATE Employee SET Name=
  • D ALTER Employee SET Name=
  • A Only statement (I) permanently removes the relation Customer
  • B Only statement (II) permanently removes the relation Customer
  • C Both statements (I) and (II) permanently remove the relation Customer
  • D None of these
  • A All of these
  • B SELECT * FROM Employee WHERE email_id IS NULL;
  • C SELECT * FROM Employee WHERE IS NULL (email_id);
  • D SELECT * FROM Employee WHERE email_id NULL;
  • A SELECT COLUMNS(*) FROM Employee;
  • B SELECT COUNT()FROM Employee;
  • C SELECT COUNT(*)FROM Employee;
  • D All of these