I build one search filter, in that filter users can filter using different fields of years, where they can select all or only specific years, and sort with different values. I will like to know how to run this Query in MySQL database.
what i am trying to achieve is :
SELECT *
FROM table
WHERE year LIKE 7, 8, 9, 10, 11, 12,
ORDER BY parent DESC, student ASC, audience DESC
Thanks in advance.
1 Answer