more direct error feedback
best SQL query ever