SQL Commands - SELECT Statements

SQL Commands - SELECT Statements

Professional Development

10 Qs

quiz-placeholder

Similar activities

SQL Commands for your Handphone Contacts

SQL Commands for your Handphone Contacts

Professional Development

10 Qs

ICT Comp Arch & Sec - Lesson 5 - Info Security

ICT Comp Arch & Sec - Lesson 5 - Info Security

Professional Development

10 Qs

OFFICE 365

OFFICE 365

Professional Development

12 Qs

Phishing Emails - Protecting Your Identity

Phishing Emails - Protecting Your Identity

Professional Development

10 Qs

Communication using Ms Word

Communication using Ms Word

Professional Development

10 Qs

Unit 2 IT LO3

Unit 2 IT LO3

KG - Professional Development

15 Qs

Digitalization of Performance task on LMS- KALINGA

Digitalization of Performance task on LMS- KALINGA

Professional Development

15 Qs

Day 6 and 7

Day 6 and 7

Professional Development

15 Qs

SQL Commands - SELECT Statements

SQL Commands - SELECT Statements

Assessment

Quiz

Computers

Professional Development

Medium

Created by

JX Chow

Used 21+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?