SQL in Databases

SQL in Databases

10th Grade

15 Qs

quiz-placeholder

Similar activities

Database Knowledge Check 3 (SQL)

Database Knowledge Check 3 (SQL)

9th - 12th Grade

12 Qs

SQL DDL

SQL DDL

9th - 12th Grade

15 Qs

โปรแกรมฐานข้อมูล

โปรแกรมฐานข้อมูล

10th Grade

17 Qs

G10 Structured Query Language

G10 Structured Query Language

10th Grade

12 Qs

SQL- Join, Group by, having

SQL- Join, Group by, having

9th - 12th Grade

10 Qs

Web-based Development

Web-based Development

5th Grade - University

15 Qs

Databases - Logic Operators

Databases - Logic Operators

3rd - 12th Grade

10 Qs

Evaluasi materi Programming Rit V2

Evaluasi materi Programming Rit V2

10th Grade

10 Qs

SQL in Databases

SQL in Databases

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Adrian Mallia

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL clause is used to choose which columns to show in the result?

SELECT

FROM

WHERE

ORDER BY

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the FROM clause specify in an SQL query?

The columns to display

The table to get data from

The order of the results

The condition to filter rows

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement will show all columns from a table named `Students`?

SELECT * FROM Students;

SHOW ALL FROM Students;

GET * FROM Students;

SELECT ALL Students;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select only the "Name" and "Age" columns from a table called `Kids`?

SELECT Name, Age FROM Kids;

SELECT Kids FROM Name, Age;

FROM Kids SELECT Name, Age;

SELECT Name AND Age FROM Kids;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the query SELECT * FROM EMPLOYEES WHERE LOCATION = "PAOLA" or "COSPICUA"; output?

All fields of those employees who reside in Paola only

All fields of those employees who reside in Paola or Cospicua only

Only the names of those employees who reside in Paola or Cospicua

All fields of those employees who do not reside in Paola or Cospicua

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this SQL query do? `SELECT * FROM Books WHERE Author = 'J.K. Rowling';`

Shows all books by J.K. Rowling

Shows only the Author column

Shows all authors except J.K. Rowling

Shows all books in the library

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL query will show all students who are 10 years old from the `Students` table?

SELECT * FROM Students WHERE Age = 10;

SELECT Age = 10 FROM Students;

SELECT * FROM Students ORDER BY Age = 10;

SELECT 10 FROM Students;

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?