sql queries was moved to special file