Sail E0 Webinar

MCQs

Total Questions : 69 | Page 3 of 7 pages
Question 21. Which of the following do you need to consider when you make a table in SQL?
  1.    Data types
  2.    Primary keys
  3.    Default values
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 22. When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
  1.    LIKE only.
  2.    IN only.
  3.    NOT IN only.
  4.    Both IN and NOT IN.
 Discuss Question
Answer: Option D. -> Both IN and NOT IN.
Question 23. SQL query and modification commands make up a(n) ________ .
  1.    DDL
  2.    DML
  3.    HTML
  4.    XML
 Discuss Question
Answer: Option B. -> DML
Question 24. Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';
  1.    SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');
  2.    SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
  3.    SELECT NAME IN CUSTOMER WHERE STATE = 'V';
  4.    SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
 Discuss Question
Answer: Option D. -> SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
Question 25. The Microsoft Access wildcards are ____ and ____ .
  1.    asterisk (*); percent sign (%)
  2.    percent sign (%); underscore (_)
  3.    underscore(_); question mark (?)
  4.    question mark (?); asterisk (*)
 Discuss Question
Answer: Option D. -> question mark (?); asterisk (*)
Question 26. Which one of the following sorts rows in SQL?
  1.    SORT BY
  2.    ALIGN BY
  3.    ORDER BY
  4.    GROUP BY
 Discuss Question
Answer: Option C. -> ORDER BY
Question 27. To sort the results of a query use:
  1.    SORT BY.
  2.    GROUP BY.
  3.    ORDER BY.
  4.    None of the above is correct.
 Discuss Question
Answer: Option C. -> ORDER BY.
Question 28. To define what columns should be displayed in an SQL SELECT statement:
  1.    use FROM to name the source table(s) and list the columns to be shown after SELECT.
  2.    use USING to name the source table(s) and list the columns to be shown after SELECT.
  3.    use SELECT to name the source table(s) and list the columns to be shown after USING.
  4.    use USING to name the source table(s) and list the columns to be shown after WHERE.
 Discuss Question
Answer: Option A. -> use FROM to name the source table(s) and list the columns to be shown after SELECT.
Question 29. SQL can be used to:
  1.    create database structures only.
  2.    query database data only.
  3.    modify database data only.
  4.    All of the above can be done by SQL.
 Discuss Question
Answer: Option D. -> All of the above can be done by SQL.
Question 30. The SQL statement that queries or reads data from a table is ________ .
  1.    SELECT
  2.    READ
  3.    QUERY
  4.    None of the above is correct
 Discuss Question
Answer: Option A. -> SELECT

Latest Videos

Latest Test Papers