SELECT query did not execute