Debug: query = %s