Sail E0 Webinar

MCQs

Total Questions : 126 | Page 1 of 13 pages
Question 1. You can add a row using SQL in a database with which of the following?
  1.    ADD
  2.    CREATE
  3.    INSERT
  4.    MAKE
 Discuss Question
Answer: Option C. -> INSERT
Question 2. The wildcard in a WHERE clause is useful when?
  1.    An exact match is necessary in a CREATE statement.
  2.    An exact match is not possible in a SELECT statement.
  3.    An exact match is necessary in a SELECT statement.
  4.    An exact match is not possible in a CREATE statement.
 Discuss Question
Answer: Option B. -> An exact match is not possible in a SELECT statement.
Question 3. The SQL WHERE clause:
  1.    limits the column data that are returned.
  2.    limits the row data are returned.
  3.    Both A and B are correct.
  4.    Neither A nor B are correct.
 Discuss Question
Answer: Option B. -> limits the row data are returned.
Question 4. The command to remove rows from a table 'CUSTOMER' is:
  1.    DELETE FROM CUSTOMER WHERE ...
  2.    UPDATE FROM CUSTOMER ...
  3.    DROP FROM CUSTOMER ...
  4.    REMOVE FROM CUSTOMER ...
 Discuss Question
Answer: Option A. -> DELETE FROM CUSTOMER WHERE ...
Question 5. Which of the following is the original purpose of SQL?
  1.    To define the data structures
  2.    All of these
  3.    To specify the syntax and semantics of SQL data definition language
  4.    To specify the syntax and semantics of SQL manipulation language
 Discuss Question
Answer: Option B. -> All of these
Question 6. A view is which of the following?
  1.    A base table that cannot be accessed via SQL commands
  2.    A virtual table that can be accessed via SQL commands
  3.    A virtual table that cannot be accessed via SQL commands
  4.    A base table that can be accessed via SQL commands
 Discuss Question
Answer: Option B. -> A virtual table that can be accessed via SQL commands
Question 7. ON UPDATE CASCADE ensures which of the following?
  1.    All of these
  2.    Data Integrity
  3.    Normalization
  4.    Materialized Views
 Discuss Question
Answer: Option B. -> Data Integrity
Question 8. The command to eliminate a table from a database is:
  1.    REMOVE TABLE CUSTOMER;
  2.    DROP TABLE CUSTOMER;
  3.    UPDATE TABLE CUSTOMER;
  4.    DELETE TABLE CUSTOMER;
 Discuss Question
Answer: Option B. -> DROP TABLE CUSTOMER;
Question 9. SQL data definition commands make up a(n) ________ .
  1.    DDL
  2.    DML
  3.    HTML
  4.    XML
 Discuss Question
Answer: Option A. -> DDL
Question 10. Which of the following is valid SQL for an Index?
  1.    CREATE INDEX ID;
  2.    CHANGE INDEX ID;
  3.    ADD INDEX ID;
  4.    REMOVE INDEX ID;
 Discuss Question
Answer: Option A. -> CREATE INDEX ID;

Latest Videos

Latest Test Papers