Database abstractionRuby on RailsPublic
Database abstraction decouples business logic from a database, making it a key component of many web frameworks.
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.
Public questions (free plan) 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 the employee with name "John" (id = 2).