You are on page 1of 13

Which of the following is a correct operator used in SQL statements?

a.
OR

b.
AND

c.
WHERE

d.
Equal To
Feedback
Your answer is incorrect.
The correct answer is:
Equal To

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is/are logical operator used in conditions?

a.
LIKE

b.
OR

c.
AND and OR

d.
AND
Feedback
Your answer is correct.
The correct answer is:
AND and OR

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct syntax of select statement with ORDER BY?

a.
SELECT Column_Name FROM Table_Name ORDER BY Table_Name;

b.
SELECT Column_Name FROM Table_Name ORDER BY Column_Name;

c.
SELECT Column_Name FROM Table_Name WHERE ORDER BY Column_Name;

d.
SELECT Column_Name FROM Table_Name WHERE Column_Name LIKE ASC;
Feedback
Your answer is correct.
The correct answer is:
SELECT Column_Name FROM Table_Name ORDER BY Column_Name;

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is a correct example of SQL statements with WHERE Clause?

a.
SELECT * FROM tbStudent WHERE Course = ‘BSCS’;
b.
SELECT IDNumber, LastName, FirstName, MiddleName FROM tbStudent WHERE Course
AND ‘BSCS’;

c.
SELECT IDNumber, LastName, FirstName, MiddleName FROM tbStudent WHERE ‘BSCS’ =
Course;

d.
SELECT * FROM tbStudent ORDER BY LastName ASC WHERE Course LIKE ‘BSCS’;
Feedback
Your answer is correct.
The correct answer is:
SELECT * FROM tbStudent WHERE Course = ‘BSCS’;

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct syntax of select statement with WHERE Clause?

a.
SELECT Column_Name FROM Column_Name OPERATOR WHERE Value;

b.
SELECT Column_Name FROM Table_Name WHERE Column_Name OPERATOR Value;

c.
SELECT WHERE Column_Name OPERATOR Value FROM Table_Name;

d.
SELECT FROM Table_Name Column_Name(s) WHERE Column_Name OPERATOR Value;
Feedback
Your answer is correct.
The correct answer is:
SELECT Column_Name FROM Table_Name WHERE Column_Name OPERATOR Value;
Question 6
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is correct about asterisk in select statement?

a.
It is used to display column name from database table

b.
It is used to return all available records in a particular column

c.
It is used to return all columns in database table

d.
It is used to display records in tabular format
Feedback
Your answer is incorrect.
The correct answer is:
It is used to return all columns in database table

Question 7
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is used to return or display records from database table?

a.
Edit

b.
Select

c.
Show

d.
Update
Feedback
Your answer is incorrect.
The correct answer is:
Select

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is a keyword used to sort records in ascending or descending order?

a.
WHERE

b.
LIKE

c.
LIMIT

d.
ORDER BY
Feedback
Your answer is correct.
The correct answer is:
ORDER BY

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct syntax of select statement?

a.
SELECT Table_Name FROM Column_Name;

b.
SELECT Column_Name FROM Table_Name;

c.
Table_Name FROM SELECT Column_Name;

d.
SELECT Column_Name Table_Name;
Feedback
Your answer is correct.
The correct answer is:
SELECT Column_Name FROM Table_Name;

Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct example of select statement with sorting?

a.
SELECT * FROM tbStudent WHERE ORDER BY LastName ASC;

b.
SELECT * FROM tbStudent WHERE LastName LIKE ORDER BY ASC;

c.
SELECT * FROM tbStudent ORDER BY LastName ASC;

d.
SELECT IDNumber, LastName, FirstName, MiddleName FROM tbStudent WHERE LastName
ORDER BY ASC;
Feedback
Your answer is correct.
The correct answer is:
SELECT * FROM tbStudent ORDER BY LastName ASC;

Question 11
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is operator used in WHERE Clause to specify multiple possible values
for a column?

a.
DISTINCT

b.
LIKE

c.
BETWEEN

d.
IN
Feedback
Your answer is correct.
The correct answer is:
IN

Question 12
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is used to separate SQL statement in database system?

a.
Asterisk
b.
Comma

c.
Semicolon

d.
Dot
Feedback
Your answer is correct.
The correct answer is:
Semicolon

Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct syntax of select statement with distinct keyword?

a.
SELECT DISTINCT * FROM Table_Name;

b.
SELECT Column_Name FROM Table_Name;

c.
SELECT Column_Name DISTINCT FROM Table_Name;

d.
SELECT DISTINCT Column_Name FROM Table_Name;
Feedback
Your answer is correct.
The correct answer is:
SELECT DISTINCT Column_Name FROM Table_Name;

Question 14
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is a keyword added in select statement to return a unique record?

a.
FROM

b.
WHERE

c.
DISTINCT

d.
INTO
Feedback
Your answer is incorrect.
The correct answer is:
DISTINCT

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is operator used in WHERE Clause to search a pattern of characters?

a.
IN

b.
BETWEEN

c.
LIKE
d.
DISTINCT
Feedback
Your answer is correct.
The correct answer is:
LIKE

Question 16
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is a WHERE Clause operator used in numbers?

a.
BETWEEN

b.
AND

c.
Less than or equal to

d.
LIKE
Feedback
Your answer is incorrect.
The correct answer is:
Less than or equal to

Question 17
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is correct about the structured query language?
a.
SQL is used to write information systems

b.
SQL is not a case sensitive language

c.
SQL is a built-in language of databases

d.
SQL is a case sensitive language
Feedback
Your answer is correct.
The correct answer is:
SQL is not a case sensitive language

Question 18
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is a keyword used to filter records?

a.
INTO

b.
SELECT

c.
FROM

d.
WHERE
Feedback
Your answer is correct.
The correct answer is:
WHERE

Question 19
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is a correct example of WHERE Clause with compound condition?

a.
SELECT * FROM tbStudent WHERE LastName = ‘Dela Cruz’ AND Course = ‘BSCS’;

b.
SELECT * FROM tbStudent WHERE Course LIKE ‘BSCS’, ‘BSIT’;

c.
SELECT * FROM tbStudent WHERE IDNumber = ‘202101’ OR ‘202102’;

d.
SELECT * FROM tbStudent WHERE LastName LIKE ‘Dela Cruz’ Course LIKE ‘BSCS’;
Feedback
Your answer is correct.
The correct answer is:
SELECT * FROM tbStudent WHERE LastName = ‘Dela Cruz’ AND Course = ‘BSCS’;

Question 20
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is a standard language for accessing and manipulating databases?

a.
C++

b.
Visual Basic
c.
MySQL

d.
Structured Query Language
Feedback
Your answer is correct.
The correct answer is:
Structured Query Language

You might also like