SDC error : "Query was empty" SQL :