update sql statement

updated sql statement