Home / CSE / SQL Basics :: section-1

CSE :: SQL Basics

  1. What is the full form of SQL?

  2. A.

     Structured Query Language

    B.

     Structured Query List

    C.

     Simple Query Language

    D.

     None of these


  3. Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?

  4. A.

     Data Definition Language(DDL)

    B.

     Data Manipulation Language(DML)

    C.

     Both of above

    D.

     None


  5. Which operator performs pattern matching?

  6. A.

     BETWEEN operator

    B.

     LIKE operator

    C.

     EXISTS operator

    D.

     None of these


  • What operator tests column for the absence of data?

  • A.

     EXISTS operator

    B.

     NOT operator

    C.

     IS NULL operator

    D.

     None of these


  • In SQL, which command(s) is(are) used to change a table's storage characteristics?

  • A.

     ALTER TABLE

    B.

     MODIFY TABLE

    C.

     CHANGE TABLE

    D.

     All of the above


  • In SQL, which of the following is not a data definition language commands?

  • A.

     RENAME

    B.

     REVOKE

    C.

     GRANT

    D.

     UPDATE


  • In SQL, which command is used to SELECT only one copy of each set of duplicable rows

  • A.

     SELECT DISTINCT

    B.

     SELECT UNIQUE

    C.

     SELECT DIFFERENT

    D.

     All of the above


  • A command that lets you change one or more fields in a record is

  • A.

     Insert

    B.

     Modify

    C.

     Look-up

    D.

     All of the above


  • Which of the SQL statements is correct?

  • A.

     SELECT Username AND Password FROM Users

    B.

     SELECT Username, Password FROM Users

    C.

     SELECT Username, Password WHERE Username = 'user1'

    D.

     None of these


  • The FROM SQL clause is used to...

  • A.

     specify what table we are selecting or deleting data FROM

    B.

     specify range for search condition

    C.

     specify search condition

    D.

     None of these