I'm fairly new to mysql. I have a table with 1 unique/primary column and another called user_id that is unique but doesn't auto increment. When I add someone to the database, I don't know how to increment user_id without querying the db and find the last value first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.