SQL Quiz

SQL Quiz

University

19 Qs

quiz-placeholder

Similar activities

PICMAKER

PICMAKER

University

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Text me!

Text me!

University

20 Qs

Control Structures  C#

Control Structures C#

University

20 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Object Oriented Programming Assessment 1

Object Oriented Programming Assessment 1

University

15 Qs

DBMS - Fundamentals

DBMS - Fundamentals

University

19 Qs

SQL Quiz

SQL Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Neeraj Varshney

Used 249+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a ‘tuple’?

A row or record in a database table

Another name for the key linking different tables in a database.

An attribute attached to a record.

Another name for a table in an RDBMS.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

REMOVE FROM CUSTOMER …

DROP FROM CUSTOMER …

DELETE FROM CUSTOMER WHERE …

UPDATE FROM CUSTOMER …

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The command to eliminate a table from a database is:

REMOVE TABLE CUSTOMER;

DROP TABLE CUSTOMER;

DELETE TABLE CUSTOMER;

UPDATE TABLE CUSTOMER;

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included

ONLY

UNIQUE

DISTINCT

SINGLE

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

SELECT [all] FROM Persons

SELECT Persons

SELECT * FROM Persons

SELECT *.Persons

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?

SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'

SELECT [all] FROM Persons WHERE FirstName='Peter'

SELECT * FROM Persons WHERE FirstName='Peter'

SELECT * FROM Persons WHERE FirstName<>'Peter'

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

SELECT * FROM Persons WHERE FirstName='a'

SELECT * FROM Persons WHERE FirstName LIKE 'a%'

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

SELECT * FROM Persons WHERE FirstName LIKE '%a'

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?