Dive into the SQL MCQ Exam: Trivia Quiz! Designed to test and enhance your SQL skills, this quiz covers essential operations like SELECT, UPDATE, and INSERT. Ideal for learners aiming to master database management through practical SQL query scenarios.
SELECT
GET
OPEN
EXTRACT
Rate this question:
SAVE
MODIFY
UPDATE
SAVE AS
Rate this question:
SELECT Persons. FirstName
EXTRACT FirstName FROM Persons
SELECT FirstName FROM Persons
SELECT First Name FROM persons
Rate this question:
SELECT [all] FROM Persons
SELECT Persons
SELECT *.Persons
SELECT * FROM Persons
Rate this question:
INSERT ('Jimmy', 'Jackson') INTO Persons
INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
INSERT Persons values ('Jimmy', 'Jackson')
Rate this question:
INSERT INTO Persons ('Olsen') INTO LastName
INSERT INTO Persons (LastName) VALUES ('Olsen')
INSERT ('Olsen') INTO Persons (LastName)
INSERT IN Persons ('Olsen') INTO LastName
Rate this question:
UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'
MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen
UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'
MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'
Rate this question:
DELETE FROM Persons WHERE FirstName = 'Peter'
DELETE FirstName='Peter' FROM Persons
DELETE ROW FirstName='Peter' FROM Persons
DELETE Persons WHERE FirstName = 'Peter'
Rate this question:
Using TRUNCATE all the values in the table will be deleted but not the structure whereas as In Delete a particular row can be deleted but not the structure
Using TRUNCATE all the values in the table will be deleted and the structure as well but whereas as In Delete a particular row can be deleted but not the structure
Using TRUNCATE all the values in the table will be deleted but not the structure whereas as In Delete a particular row can be deleted and the structure as well
None of the Above
Rate this question:
FROM
DEFINE
WHERE
DESELECT
Rate this question:
All are used
Only >>> not used
Only
None
Rate this question:
INSERT INTO r4r_team (id, username, exp) VALUES (1, ‘r4r01’, ‘2’);
INSERT IN r4r_team VALUES (1, ‘r4r01’, ‘2’);
INSERT INTO r4r_team (id, username, exp) VALUE (1, ‘r4r01’, ‘2’);
INSERT INTO table r4r_team (id, username, exp) VALUE (1, ‘r4r01’, ‘2’);
Rate this question:
1, 3, 2
2, 1, 3
2, 3, 1
The order of these clauses does not matter
Rate this question:
INSTR
SUBSTR
LPAD
LEAST
Rate this question:
SELECT TRANSLATE(description, 'NESS', 'SUN') FROM vendor
SELECT CONVERT(description, 'NESS', 'SUN') FROM vendor
SELECT EXTRACT(description, 'NESS', 'SUN') FROM vendor
SELECT REPLACE(description, 'NESS', 'SUN') FROM vendor
Rate this question:
ALTER TABLE ORDERS ADD COLUMN ORDER_DATE DATE;
ALTER TABLE ORDERS ADD ORDER_DATE (DATE);
ALTER TABLE ORDERS ADD ORDER_DATE DATE;
ALTER TABLE ORDERS NEW COLUMN ORDER_DATE TYPE DATE;
Rate this question:
Names starting with “a”
Names starting with “a” or “A”
Names containing “a” as second character
Names containing “a” as any letter except the first
Rate this question:
IN
BETWEEN.. AND..
LIKE
Rate this question:
DDL
DML
DCL
DQL
Rate this question:
Character Operators
Comparison Operators
Set Operators
Miscellaneous Operators
Rate this question:
Check constraint
Primary Key
Unique
Default
Rate this question:
DCL
DDL
DQL
All of the above
Rate this question:
Drop
Delete
Truncate
Cascade
Rate this question:
1
2
3
4
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.