I've got a table for messages in my mysql-database. And I want to set the auto_increment in dependence on another row, like so:
conversation_id | message_id | content
123 a_i: 1 bla
123 a_i: 2 bla
123 a_i: 3 bla
1234 a_i: 1 bla
Do you have any idea?
Thanks,
Kevin.