I am working on a web development project that requires PHP and a MYSQL database. I am a bit of a MYSQL newbie. In one php file, I am inserting a few data into a row of a table. This data alone cannot identify the row, but an auto-incremented key is automatically generated which can identify the row. Is there any way to insert this row and select from it in the same query so it doesn't have to be identified with WHERE statement? Any other solutions are very welcome.