Ruby on RailsDatabase abstractionPublic
Ruby on Rails
Ruby on Rails is Ruby's most popular server-side web framework. It uses an MVC model, and provides useful features, like database access, out of the box.
Database abstraction decouples business logic from a database, making it a key component of many web frameworks.
Public questions (free account) are common interview questions. They are great for practicing, or if you want to filter candidates using the classic problems.
A company database contains the following table, in which id is the primary key:
Select all the statements that return only the employee with name "John" (id = 2).
(multiple correct answers possible)