Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get last insert id

SELECT MAX(id) AS last_id FROM users
-- last_id --
-- 33 --
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #mysql #insert #id
ADD COMMENT
Topic
Name
9+1 =