queries solved