EmployeeSearch


Ruby Database abstraction Ruby on Rails 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 the employee with name "John" (id = 2).