Computer Science · SQL Queries
Which of the following queries will return the records for employees whose salary is exactly 62,000 OR whose name starts with the letter 'M'?
- 1SELECT * FROM EMPLOYEE WHERE SALARY = 62000 OR E_NAME LIKE '%M';
- 2SELECT * FROM EMPLOYEE WHERE SALARY IN (62000, 70000) OR E_NAME = 'Mike%';
- 3SELECT * FROM EMPLOYEE WHERE SALARY = 62000 OR E_NAME LIKE 'M%';✓
- 4SELECT * FROM EMPLOYEE WHERE SALARY = 62000 AND E_NAME LIKE 'M%';
Correct answer
SELECT * FROM EMPLOYEE WHERE SALARY = 62000 OR E_NAME LIKE 'M%';
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on SQL Queries?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · SQL Queries