Skip to content

Asked in PPSC, FPSC and other one-paper exams (compiled from unofficial resources).

Which SQL query would you use to find employees earning more than $5000 a month?

  1. A.SELECT * FROM employees WHERE salary = 5000;
  2. B.SELECT * FROM employees WHERE salary < 5000;
  3. C.SELECT * FROM employees WHERE salary > 5000;Correct answer
  4. D.SELECT * FROM employees WHERE salary >= 5000;

Timed quizzes, instant results, track your progress — free

Practice these MCQs in the app

Quick fact: The correct SQL query to find employees earning more than $5000 a month is SELECT * FROM employees WHERE salary > 5000;

Related MCQs

Start studying free