Delete sql_query