Kinaxis interview question

ask you some cases that how to use sql