I have a mysql table which has following rows:
id (unique and auto increment)
I want to create a sql statement which essentially performs the following task: Pull from table_name the last inserted row where the customerid='mb6537'.
There could be more than one row containing this customerid, I simply want to pull the last inserted.
Any one has a thought on this!