Cardless Interview Question

Answer some SQL based questions?