Delete sql queries