EmployeeSearch


Ruby on Rails Database abstraction Public

Easy  

3min

A company database contains the following table, in which id is the primary key:

employees
idnameage
1Steve21
2John44
3Amy26
4Marcus44

Select all the statements that return only the employee with name "John" (id = 2).