I have a table include two columns, year and month, I want get a unique result that order by year and month.
example:
y m
2013 12
2012 1
2013 4
2012 3
I want get
y m
2013 12
How to write the SQL query. thanks.
I have a table include two columns, year and month, I want get a unique result that order by year and month.
example:
y m
2013 12
2012 1
2013 4
2012 3
I want get
y m
2013 12
How to write the SQL query. thanks.