Check if querys succeeded
Check if querys succeeded