Creating ListQueues SQLQuery