Hello and welcome to the forum (maybe . . .),
i m looking for the solution not code.so first of all just see want i m asking before u reply
thanks for ur advice so u dont knw how it work
This is NOT a kiddie chat-room, so please do NOT post as you would there. Even though this is our forum for students and beginners, we expect people to post properly and show a good attitude.
The solution will surely be code. As you have not very clearly explained what you need to do (you may believe you were clear, but many will not understand what you really mean - and there is no need for people to guess). For one, i do not know what you want, so it will be better if you show what you "have" (both tables) and what you want to compare between them.
If is rather foolish to think someone "does not know" when they give a reply you didn't want. You need to consider the reply was to the post, not what you expected.
Hopefully, going forward your posts and attitude will improve.