So what help you are looking for? Is the query not running, giving error or something else.