Two querys for accounting_stop_query (sql.conf)