AQR Capital Management interview question

design on line self guide learning systems, write sql