MySQL Forums
Forum List  »  Knowledge Base

I have to findout the users who have matching experience in all the category mentioned in condition.
Posted by: Michael James
Date: April 16, 2009 05:32AM

Can any one help me to get the result......

If my table structure like...

Field Type
================================
UserCatId int(11)
UserId int(11)
CategoryId int(11)
Experience int(11)

And; I have to findout the users who have matching experience in all the category mentioned in condition.

i.e.: Any user who have experience in Category Id 1 between exp. between 10 to 15 yrs. As well as CategoryId 2 between experience of 5 and 8 yrs.
and more...

I want to achieve this; could you please suggest me the Query or if any modification required in database Table Structure ?

Options: ReplyQuote


Subject
Views
Written By
Posted
I have to findout the users who have matching experience in all the category mentioned in condition.
2678
April 16, 2009 05:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.