Loading

Quipoin Menu

Learn • Practice • Grow

sql / SQL Operators
mcq
Direction: Choose the correct option

Q1.

Which are arithmetic operators in SQL?
A. IN, BETWEEN, LIKE
B. AND, OR, NOT
C. =, <, >
D. +, -, *, /
Direction: Choose the correct option

Q2.

SELECT salary, salary * 1.10 FROM employees;
What does salary * 1.10 calculate?
A. Salary plus 10%
B. Salary times 10
C. Salary divided by 10
D. Salary minus 10%
Direction: Choose the correct option

Q3.

Which are comparison operators?
A. IN, BETWEEN, LIKE
B. =, <>, >, <, >=, <=
C. +, -, *, /
D. AND, OR, NOT
Direction: Choose the correct option

Q4.

What is the difference between = and LIKE?
A. #NAME?
B. LIKE is faster
C. Both are same
D. #NAME?
Direction: Choose the correct option

Q5.

SELECT * FROM employees WHERE department_id IN (SELECT id FROM departments WHERE location = 'New York');
What type of operator is IN used with?
A. Comparison operator
B. Arithmetic operator
C. Subquery operator
D. Logical operator