ITC Interview Question

how to input multiple queries iby using single query