Database Management
Accenture PrimermediumDatabase ManagementSelect Statement

Select the suitable option for retrieving all the employees whose name ends with "kumar"?

Answer options

A
SELECT * FROM employee WHERE empname LIKE '%kumar';
B
SELECT * FROM employee WHERE empname LIKE 'kumar%';
C
SELECT * FROM employee WHERE empname = 'kumar';
D
SELECT * FROM employee WHERE empname LIKE '%kumar%';

Correct answer: SELECT * FROM employee WHERE empname LIKE '%kumar';

Explanation

The % wildcard at the start matches any prefix; '%kumar' matches names ending with 'kumar'.

Related Accenture Database Management questions

Practice more Accenture Database Management questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.