SQL Summative Test (G10 - ICT 1)

SQL Summative Test (G10 - ICT 1)

15 Qs

quiz-placeholder

Similar activities

Rules & Procedures Review

Rules & Procedures Review

9th - 12th Grade

13 Qs

Data and Statistics (6th CCSS)

Data and Statistics (6th CCSS)

6th Grade

10 Qs

Statistics Study Guide

Statistics Study Guide

KG - University

12 Qs

D6OA CMAS Knowledge Check 2024!

D6OA CMAS Knowledge Check 2024!

Professional Development

19 Qs

SOAL ASSESMENT BAHASA INGGRIS

SOAL ASSESMENT BAHASA INGGRIS

KG - University

14 Qs

ViC Knowledge Check Practice

ViC Knowledge Check Practice

9th - 12th Grade

16 Qs

East and Southeast Asia Unit Test

East and Southeast Asia Unit Test

KG - University

20 Qs

Cognitive Grammar by Ronald Langacker

Cognitive Grammar by Ronald Langacker

KG - University

10 Qs

SQL Summative Test (G10 - ICT 1)

SQL Summative Test (G10 - ICT 1)

Assessment

Quiz

others

Medium

Created by

JOSEPH ALMONTE

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting all records from a table named "Customers"?
SELECT * IN Customers;
SELECT ALL FROM Customers;
SELECT * FROM Customers;
SELECT ALL IN Customers;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting only distinct values from the "Country" column in the "Employees" table?
SELECT UNIQUE Country FROM Employees;
SELECT DIFFERENT Country FROM Employees;
SELECT DISTINCT Country FROM Employees;
SELECT UNIQUE VALUES Country FROM Employees;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting all records from a table named "Students" where the value of the "Age" column is greater than or equal to 18?
SELECT * FROM Students WHERE Age >= 18;
SELECT * FROM Students WHERE Age => 18;
SELECT * FROM Students WHERE Age > 18;
SELECT * FROM Students WHERE Age 18;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting all records from a table named "Products" where the value of the "Price" column is between 10 and 20, inclusive?
SELECT * FROM Products WHERE Price BETWEEN 10 AND 20;
SELECT * FROM Products WHERE Price IN (10, 20);
SELECT * FROM Products WHERE Price > 10 AND Price < 20;
SELECT * FROM Products WHERE Price BETWEEN 20 AND 10;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting all records from a table named "Suppliers" where the value of the "CompanyName" column starts with "A"?
SELECT * FROM Suppliers WHERE CompanyName LIKE '%A';
SELECT * FROM Suppliers WHERE CompanyName = 'A';
SELECT * FROM Suppliers WHERE CompanyName IN ('A');
SELECT * FROM Suppliers WHERE CompanyName LIKE 'A%';

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for updating the value of the "City" column to "Seattle" for all records in a table named "Employees"?
UPDATE Employees SET 'Seattle' WHERE City;
UPDATE Employees SET City WHERE 'Seattle';
UPDATE Employees 'Seattle' WHERE City;
UPDATE Employees SET City = 'Seattle';

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for deleting all records from a table named "Students"?
DELETE Students WHERE Records=All;
TRUNCATE TABLE Students;
TRUNCATE Students;
DELETE 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?