removed redundant file.
updated query sql.