I have the following tables structure :
this table for main categories
for each category we can add values
for each category we can add filters for search
for each filter we can add values
finally this table is used for saving data to each category value this
I want to create search query to find results based on user chosen filter value
for example find a university that has sector : public and degree : bachelor?
the search will be done on the last table
for example find a university that has sector : public and degree : bachelor?
the query should handle filter_id = 1 and filter_id_value = 1 also filter_id =2 and filter_id_value =3
the final result should be university of jordan
NOTE : I program using php and mysql