SELECT LAST_INSERT_ID() will return the last value assigned by the auto_increment function. Note that you don’t have to specify the table name.
Subscribe to:
Post Comments (Atom)
Welcome to techInterview, a site for technical interview questions, and other things that make you think!
0 comments:
Post a Comment