Hi Pat Hartman,
Thanks for reply, yes I checked and the Unique_ID is exists in both the table, and strange thing is that, when I opened and closed the database 2 or three times and again run the query it works fine, and some time when I tried to open the table it gives an error message "Not a...