GoConqr has a new look! Let us know what you think.

Quiz

SQL

1610 R 38 questions

Take the quiz

Questions in this quiz (38)

  1. 1You can not order the results of a set operation
    1. ATrue
    2. BFalse
  2. 2 A table can be created with or without data.
    1. ATrue
    2. BFalse
  3. 3Transaction control determines when data manipulation becomes permanent in a database.
    1. ATrue
    2. BFalse
  4. 4Consider the SQL statement. Which of the following clauses does not sort the result rows by the salary values in the ascending order? SELECT last_name “Employee”, salary “Salary” FROM employees
    1. AORDER BY salary;
    2. BORDER BY 2;
    3. CORDER BY Salary DESC;
    4. DORDER BY “Salary” ASC;
  5. 5You can rename a table with the RENAME or the ALTER TABLE command.
    1. ATrue
    2. BFalse
  6. 6\Which of the following functions is not single-row function?
    1. ACONCAT
    2. BSUM
    3. CUPPER
    4. DROUND
  7. 7Write SQL statement for display the department numbers with more than employees in each dept.
    1. ASelect deptno, count(deptno) from emp group by deptno having count(*)>3;
    2. BSelect deptno, count (deptno) from emp group by deptno having count(*)>2;
    3. CSelect deptno, count (emp) from deptno group by emp having count(*)>2;
    4. DSelect deptno, count(deptno) from deptno group by emp having count(*)>3;
  8. 8You cannot drop a user if objects exist in the user’s schema.
    1. ATrue
    2. BFalse
  9. 9Queries that return more than one row from the inner SELECT statement are called
    1. AMultiple-row subqueries
    2. BMultiple-column subqueries
    3. CSing-column subqueries
    4. DSingle-row subqueries
  10. 10Use the _______ operator to return all rows from multiple tables and eliminate any duplicate rows.
    1. AUNION ALL
    2. BMINUS
    3. CINTERSECT
    4. DUNION

Information

Description
Quiz on SQL, created by 1610 R on 14/12/2017.
Author
1610 R
Language
English
Views
69
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?