Planet Spark interview question

ActiveRecord Query and System Design