Search Header Logo

SQL 2

Authored by O Hawkridge

Computers, Other

11th Grade

Used 14+ times

SQL 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What word is missing from the line below?
SELECT *
_______ CUSTOMER;

FROM
WHERE
SELECT
ORDER BY

2.

DRAG AND DROP QUESTION

20 sec • 1 pt

Drag the options into the correct boxes to complete the query

To display the detail of employee having "e" in their name in descending order of salary

SELECT * ​ (a)   emp ​ (b)   ename ​ (c)   %e%" ​ (d)   SAL ​ (e)   ;

FROM
WHERE
LIKE "
ORDER BY
DESC

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following queries is valid

SELECT name, course_name FROM student WHERE age>50 and <80;   

SELECT name, course_name FROM student WHERE age>50 and age <80;

SELECT name, course_name FROM student WHERE age>50 and WHERE age<80;

None of these

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In an SQL SELECT statement querying a single table, the asterisk (*) means that:

All records are to be returned.

None the options is correct.

All fields of the table are to be returned

All records meeting the full criteria are to be returned.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we select all rows for the "Designer" table?

SELECT * FROM Designer

SELECT [All] FROM Designer

SELECT Designer.*

SELECT FROM Designer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would we script a SQL query to select "Description" from the Item table?

SELECT Item.Description

EXTRACT Description FROM Item

SELECT Item FROM Description

SELECT Description FROM Item

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which query would return only the fields DesignerID and Designer?

SELECT * FROM Designers

SELECT DesignerID, Name FROM Designers

SELECT DesignerID AND Designer FROM Designers

SELECT DesignerID, Designer FROM Designers

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?