one query per select instead of semicolon separated queries