SQL MCQ
SQL MCQ
Name *
Tariq Ahmad
Email Address *
OPEN
EXTRACT
SELECT
GET
MODIFY
UPDATE
ALTER
CHANGE
Which clause is used to filter the results of a query? *
FILTER
WHERE
HAVING
SELECT
How do you select all the columns from a table named "Customers"? *
SELECT Customers
REMOVE
DELETE
DROP
CLEAR
COUNT()
SUM()
TOTAL()
NUMBER()
Which SQL keyword is used to sort the result-set? *
SORT BY
ALIGN BY
ORDER BY
GROUP BY
How can you insert a new row into the table "Customers"? *
SELECT UNIQUE
SELECT DISTINCT
SELECT DIFFERENT
SELECT VARIOUS
Descending
Ascending
Alphabetical
Numerical
Which keyword is used to specify a condition in a SQL statement? *
CONDITION
WHERE
HAVING
FILTER
SELECT Employees.FirstName
CREATE TABLE
MAKE TABLE
BUILD TABLE
SET UP TABLE
What is the correct SQL statement to return the number of rows in the "Orders" *
table?
SELECT COUNT(Orders)
COUNT(Orders)
Which type of JOIN returns all rows from the left table, and the matched rows *
from the right table?
LEFT JOIN
RIGHT JOIN
FULL JOIN
INNER JOIN
To return all rows from both tables, matched and unmatched, you would use? *
INNER JOIN
LEFT JOIN
CROSS JOIN
Which JOIN type returns only the rows that have a match in both tables? *
OUTER JOIN
LEFT JOIN
RIGHT JOIN
INNER JOIN
SELF JOIN
DIRECT JOIN
SIMPLE JOIN
DOUBLE JOIN
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy
Forms