Search Header Logo

SQL MIDTERM EXAM

Authored by Christian Pineda

Computers

University

Used 6+ times

SQL MIDTERM EXAM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

What does SQL stand for?

Structured Query Language

Structured Question Language

Strong Question Language

Standard Query Language

2.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

Which SQL statement is used to create a database table called 'Customers'?

CREATE DB Customers

CREATE DATABASE TAB Customers

CREATE DATABASE TABLE Customers

CREATE TABLE Customers

3.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

Which operator is used to search for a specified pattern in a column?

GET

LIKE

FROM

ILIKE

4.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

The NOT NULL constraint enforces a column to not accept NULL values.

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

Which operator is used to select values within a range?

RANGE

ORDER BY

BETWEEN

WITHIN

6.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

What is the most common type of join?

INNER JOIN

INSIDE JOIN

JOINED

JOINED TABLE

7.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

With SQL, how can you return the number of records in the "Persons" table?

SELECT COUNT(*) FROM Persons

SELECT NO(*) FROM Persons

SELECT COLUMNS(*) FROM Persons

SELECT LEN(*) FROM Persons

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?