Visa Inc. interview question

Simple SQL queries