Catalist, LLC interview question

Some SQL questions and a few logic reasoning questions.