Exam 2025/2026 with Questions and Verified Rationalized Answers
100% Graded A+
1. IN: This operator is used in aWHERE clause to determine if a value matches oneof several value
j j j j j j j j j j j j j j j j j j
s.
2. BETWEEN (value BETWEEN minValue AND maxValue) j j j j j
<= value =>: This operator provides an alternative way to determine if a value isbetween two ot
j j j j j j j j j j j j j j j j j
her values. j
3. LIKE
% matches any number of characters
j j j j j
_ matches exactly one character: Used in aWHERE clause, matches text againsta pattern using t
j j j j j j j j j j j j j j j j
e two wildcard characters % and _
j j j j j j
4. BINARY: The LIKE operator performs case-insensitive pattern matching by de-
j j j j j j j j j
fault case or case-sensitive pattern matching if followed by this keyword.
j j j j j j j j j j j
5. DISTINCT: Used with the SELECT statement to return only unique values.
j j j j j j j j j j
6. ORDER BY: Orders selected rows by one or more columns in ascending order.
j j j j j j j j j j j j
7. DESC: Use this with the ORDER BY clause to order rows in descending order.
j j j j j j j j j j j j j
8. Function: This operates on an expression enclosed in parentheses, or an argu-ment.
j j j j j j j j j j j j
9. Argument: An expression enclosed in parenthesis that returns a value.j j j j j j j j j
10. Aggregate Function j
COUNT(): Counts the number of rows in the set.MIN()
j j j j j j j j j
MAX()
1j/j3
, SUM()
AVG(): Processes values from a set of rows and returns a summary value.
j j j j j j j j j j j j
11. The GROUP BY clause consists of the GROUP BY keyword and one ormore columns.:
j j j j j j j j j j j j j j j
What does the GROUP BY clause consist of?
j j j j j j j
12. HAVING
GROUP BY CountryCode j j
HAVING SUM(Population) > 69420: This clause is used with the GROUP BYclause to filter g
j j j j j j j j j j j j j j j
roup results. j
13. Join
Thetables arecombinedbycomparing columns left andright,usuallywiththe
j j j j j j j j j j j j
= operator. j
SELECT DepartmentName, EmployeeNameFROM j j j j
Department, Employee j
WHERE Manager = ID;: A SELECT statement that combines data from two tables,known as the lef
j j j j j j j j j j j j j j j j
t table and right table, into a single result.
j j j j j j j j
14. Join Clause: Determines how a join query handles unmatched rows.
j j j j j j j j j
15. INNER JOIN j
(A join clause): Selects only matching left and right table rows.
j j j j j j j j j j
2j/j3