Hi i am using this query to make the list of events
SELECT *, CASE
WHEN ((month > 9 OR (month =9 and days >= 22)) AND year <= 2012)then 'list1'
WHEN (year <= 2013) then 'list2'
WHEN (year > 2013)then 'list3'
end as sortlist from events order by sortlist, date
Now I want to sort the list3 by same sql, order by year. Is this possible?
I got the solution.
In order by, i just edited as