You need to sign in to do that
Don't have an account?
tock
What's the best way to get the last record in a table
Hello,
I'm trying to find a query that will return the last ID created in the accounts table, can anyone tell me the PHP for this please?
Cheers.
select id from account order by createdDate desc limit 1