Search Header Logo

FAT Lab Quiz

Authored by Priyaadharshini M

Computers

University

Used 2+ times

FAT Lab Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 1. Which is the correct SELECT statement to display all records with all columns of a table?

SELECT * FROM table_name

   SELECT ALL COLS FROM table_name

SELECT FROM table_name

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 2. Which is the correct SELECT statement to display all records with selected columns of a table?

SELECT * FROM table_name

SELECT column1,column2,... FROM table_name

  SELECT FROM table_name

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 3. Which is the correct SELECT statement to display selected records (based on the condition) with all columns of a table?

SELECT column1,

column2,... FROM 

table name
 WHERE 
condition

SELECT FROM table_name
 WHERE 
condition

SELECT ALL FROM table_name
 WHERE 
condition

SELECT * FROM table_name
 WHERE 
condition

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 4. Which is the correct syntax for BETWEEN operator?

WHERE column_name BETWEEN (value1 AND value2)

  WHERE column_name BETWEEN value1 AND value2

WHERE column_name BETWEEN (value1value2)

WHERE BETWEEN column_name value1 AND value2

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 5. Which is the correct syntax for IN operator?

  WHERE column_name IN (value1value2, ...)

  WHERE column_name IN value1 AND value2

WHERE column_name IN (value1 AND value2, AND ...)

WHERE IN column_name value1 AND value2 AND ...

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 6. Which is the correct syntax for LIKE operator?

  WHERE column_name IS LIKE pattern_string

WHERE column_name IS LIKE ='pattern_string'

WHERE column_name LIKE pattern_string

WHERE column_name LIKE 'pattern_string'

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 7. Which is the correct syntax for SELECT statement with TOP keyword to return TOP N records with all columns?

SELECT * FROM TOP n table_name

SELECT TOP n * FROM table_name

SELECT * FROM table_name TOP n

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?