ITC interview question

how to input multiple queries iby using single query