I have a MySQL database with a column named ID(VARCHAR 60)
The data of ID is linked by id_num + serial num.
For example, a group data is below
- 367618648+0001
- 367618648+0002
- 51687687+0001
- 51687687+0002
- 51687687+0003
- 51687687+0004
I want to know the best way to find the max "serial num" for an "id_num"?
367618648+0001
all in theid
field? – JNevill