Query workload generator