QAD Interview Question

sql joins