shabbir...thanks for your reply...

but there are 'n' numbers of options and suppose the user opts for 'm' number of options, then how to write query?