We can't do this sql query '' error: Query was empty