結果 : check if sql statement is valid