SQL Basic

SQL Basic

Professional Development

15 Qs

quiz-placeholder

Similar activities

Kelas X 28 Spreadsheet 2020

Kelas X 28 Spreadsheet 2020

Professional Development

15 Qs

canva app

canva app

Professional Development

10 Qs

Exhaust System Technology and Repair

Exhaust System Technology and Repair

8th Grade - Professional Development

10 Qs

Clutch assembly understanding

Clutch assembly understanding

Professional Development

17 Qs

unit 201: Health and safety and welfare in construction

unit 201: Health and safety and welfare in construction

Professional Development

18 Qs

Photoshop tools

Photoshop tools

6th Grade - Professional Development

16 Qs

Quiz: Dale's Cone of Experience

Quiz: Dale's Cone of Experience

Professional Development

20 Qs

G Suite Review

G Suite Review

Professional Development

10 Qs

SQL Basic

SQL Basic

Assessment

Quiz

Instructional Technology

Professional Development

Hard

Created by

Mary Miti

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL query to find all the cities whose humidity is 95.

SELECT city WHERE humidity = 95

SELECT city FROM weather WHERE humidity = 95

SELECT humidity = 89 FROM weather

SELECT city FROM weather

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL query to find the temperature in increasing order of all cities.

SELECT city FROM weather ORDER BY temperature

SELECT city, temperature FROM weather

SELECT city, temperature FROM weather ORDER BY temperature

SELECT city, temperature FROM weather ORDER BY city

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to remove rows from a table ‘CUSTOMER’ is __________________

DROP FROM CUSTOMER

UPDATE FROM CUSTOMER

REMOVE FROM CUSTOMER

DELETE FROM CUSTOMER WHERE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function is used to count the number of rows in a SQL query?

COUNT NUMBER()

NUMBER()

SUM()

COUNT(*)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default

ASC

DESC

There is no default value

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?

SELECT * FROM Persons WHERE FirstName=’a’

SELECT * FROM Persons WHERE FirstName LIKE ‘a%’

SELECT * FROM Persons WHERE FirstName LIKE ‘%a’

SELECT * FROM Persons WHERE FirstName=’%a%’

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "S" in SQL stand for?

Several

Structured

Syntax

Semi-precise

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?