thx ur reply.
actually, i have a problem related to inner join.
there is 3 table..
say..
user(uid, name)
user_industry(uid, iid),
industry(iid, iname);
user_media(uid,mid)
media(mid, mname)
client can search by user name, and industry name, media name
some users may not belong to any industries or media
so that i need to use inner join?
if client just enter user name, media name
it seems that some hit records are missing if
use
"select * from user, media, industry,user_industry, user_media where user.uid = user_media.uid and user_media.mid = media.mid and user.uid = user_industry.uid and user_industy.iid= industry.iid"
for example,
user "alex" have some industry (ind1) but no media,
if client enter "alex" and "ind1 " will it hit???
i am not sure inner join can help or not..
any suggestion will be appreciate..
Alex