Viewing 2 posts - 1 through 2 (of 2 total)
You can add another column 'YearMonth' in which u should store values like '201201','201202'....
If u do this, u can sort month field easily
August 7, 2012 at 6:45 am
#1522540
No.You can't add 2 primary key in a table.Instead u can add Unique key which accept null value in it.
August 7, 2012 at 6:41 am
#1522537