Texas Instruments interview question

Several hard level sql queries