Database Application Unit 4

  1. Which of the following comparison operators is NOT EQUAL?






    D. <>
  2. Which of the following is not a valid compound operator?






    D. BETWEEN
  3. Which of the following statements will display rows for a commission greater than 100 and less than 2000?






    C. SELECT col1, col2, coln FROM table_name WHERE commission > 100 AND commission <2000;
  4. Which of the following is a valid statement?

    A. WHERE clause to limit the rows and HAVING clause to limit the groups
    B. WHERE clause to limit the groups and HAVING clause to limit the columns
    C. WHERE clause to limit the rows and HAVING clause to limit the columns
    D. WHERE clause to limit the groups and HAVING clause to limit the groups
    A. WHERE clause to limit the rows and HAVING clause to limit the groups
  5. Which of the following is not an aggregate function?






    D. MED
  6. Which of the following is a valid SQL statement?




    A. SELECT col1, col2 FROM table_name WHERE col1 = value ORDER BY col1;
  7. Which of the following SQL statements will display REP_ID column values in a sorted manner?






    D. SELECT rep_id FROM SALES_REP ORDER BY rep_id DESC;
  8. Which of the following statements will list a specific record in a table?






    B. SELECT col1, col2, FROM table_name WHERE col1 = value;
  9. Which query will return rows for a column that has no value?




    C. SELECT col1, col2 FROM table_name WHERE col1 IS NULL;
  10. Which of the following is true of a subquery?






    E. All of the above
Author
jdavis123
ID
358837
Card Set
Database Application Unit 4
Description
Updated