I have a table :
ID COUNTER Date
---- ------- -----------
1 05 23-07-2019
2 01 23-06-2017
3 10 02-06-2019
4 14 01-12-2016
5 03 23-11-2018
6 07 23-11-2015
Now I want to Sort first Date
column , based on that sort result sort counter
.How to write a query for this. If I have a more than one date for a particular year than , sort according to counter
for that particular year records.
Like this :
COUNTER Date
------- -----------
10 02-06-2019
05 23-07-2019
03 23-11-2018
01 23-06-2017
14 01-12-2016
07 23-11-2015
Any help would be appreciated!. Thanks.