Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

get last record in sql

SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #record #sql
ADD COMMENT
Topic
Name
7+3 =