Travelers interview question

Can you compare the difference Having and Select in SAS SQL?