SQL Commands - SELECT Statements

SQL Commands - SELECT Statements

Professional Development

10 Qs

quiz-placeholder

Similar activities

Fraud

Fraud

KG - Professional Development

13 Qs

How are you doing?

How are you doing?

Professional Development

10 Qs

AWS ACF Módulo 1  - Visão geral dos conceitos de nuvem

AWS ACF Módulo 1 - Visão geral dos conceitos de nuvem

Professional Development

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Azure Cloud computing

Azure Cloud computing

Professional Development

10 Qs

GRAND OPENING INTERNSHIP EXERCISE 2024

GRAND OPENING INTERNSHIP EXERCISE 2024

Professional Development

13 Qs

C String Array MCQs

C String Array MCQs

Professional Development

10 Qs

Unix Fundamentals

Unix Fundamentals

Professional Development

10 Qs

SQL Commands - SELECT Statements

SQL Commands - SELECT Statements

Assessment

Quiz

Computers

Professional Development

Medium

Created by

JX Chow

Used 22+ times

FREE Resource

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the SELECT Statement

SELECT * _____ ABC

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does ABC in the Select Statement Represent?

SELECT * FROM ABC

The Name of the Table

The Name of the Database

The Name of the Column

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the * in the Select Statement represent?

SELECT * FROM ABC

The First Column in the Table

All the Columns

in the Table

The Last Column in the Table

Answer explanation

The asterisk (*) is used widely as a wildcard character in searches

It is used to specify any number of items should go in there

In SQL it means to get all available columns

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What goes into the WHERE Clause of a Select Statement?

SELECT * FROM ABC

WHERE _____

The database that the table is in

The columns that need to be retrieved

The condition that the Results must fulfil

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Modify the Select Statement to only get the following Columns

Col1, Col2

SELECT * FROM ABC

SELECT

Col1 and Col2

FROM ABC

SELECT

Col1 Col2

FROM ABC

SELECT

Col1, Col2, *

FROM ABC

SELECT

Col1, Col2

FROM ABC

Answer explanation

REMEMBER

Columns need to be separated by commas!

SELECT Name, Phone FROM Contacts

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the line that helps us check if the phone number '91234567' is already added?

SELECT Name, Email

FROM Contacts

WHERE Phone = '91234567'

SELECT Name, Email

FROM Contacts

WHERE Phone = '91234567'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the line that tells SQL which table to use?

SELECT Name, Email

FROM Contacts

WHERE Phone = '91234567'

SELECT Name, Email

FROM Contacts

WHERE Phone = '91234567'

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?