Reputation: 11
i have a table called dispatch which contains attributes like file name, subject and so on. what i want as output is data of file-name/auto-increment-num. EG: MD/ICT/2018/1 and next value will be like MD/ICT/2018/2 and so on..
MD/ICT/2018/1 and next value will be like MD/ICT/2018/2 and so on..
Upvotes: 0
Views: 94
Reputation: 90
I think there to way to make it happen or consider.
maybe if the year changes need also to reset count back to 1.
if ever no delete function or consideration count per year just use auto_increment as basis of numbering.
Upvotes: 2