SQL Summative Test (G10 - ICT 1)

SQL Summative Test (G10 - ICT 1)

15 Qs

quiz-placeholder

Similar activities

FACS - Unit 1 - FCCLA

FACS - Unit 1 - FCCLA

9th - 12th Grade

12 Qs

Noun Review

Noun Review

KG - University

20 Qs

FUNS Quiz   A_Regular Geometry

FUNS Quiz A_Regular Geometry

10th Grade

15 Qs

Grammar Crunch Time 4/17

Grammar Crunch Time 4/17

4th Grade

20 Qs

Grade 7 Unit 1 Common Assessment

Grade 7 Unit 1 Common Assessment

7th Grade

20 Qs

3 w2 THURSDAY: Language Review

3 w2 THURSDAY: Language Review

3rd Grade

12 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

AI

Enhance your content

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

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

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?