Search Header Logo

RDBMS-SQL

Authored by Monika G

Computers

University

Used 137+ times

RDBMS-SQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is full form of SQL

Structured Query Language 
Strong Question Language
Structured Question Language
Strong Query Language
Structure Query Language 

2.

MULTIPLE CHOICE QUESTION

30 sec • 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 * FROM Persons WHERE FirstName='Peter'
SELECT * FROM Persons WHERE FirstName<>'Peter'
SELECT * FROM Persons WHERE FirstName<>'Peter'
SELECT * FROM Persons WHERE FirstName=='Peter'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how can you insert a new record into the "Persons" table?

INSERT INTO Persons VALUES ('Jimmy', 'Jackson')  
INSERT ('Jimmy', 'Jackson') INTO Persons
INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
INSERT VALUES ('Jimmy, Jackson') INTO Persons
INSERT ('Jimmy', 'Jackson') VALUES into Persons

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is valid SQL for an Index?

CREATE INDEX ID;
CHANGE INDEX ID;
ADD INDEX ID;
REMOVE INDEX ID;
DELETE INDEX ID;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The HAVING clause does which of the following?

Acts like a WHERE clause but is used for groups rather than columns.
Acts like a WHERE clause but is used for rows rather than columns.
Acts like a WHERE clause but is used for columns rather than groups.
Acts EXACTLY like a WHERE clause.
Acts like a WHERE clause but is used for groups rather than rows.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following sorts rows in SQL?

SORT BY
ALIGN BY
ORDER BY
GROUP BY
SORT

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The DROP TABLE statement:

deletes the table structure only.
deletes the table structure along with the table data.
works whether or not referential integrity constraints would be violated.
is not an SQL statement.
deletes the data only.

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers