Mysql useful tips

I decided to put in one post several Mysql commands and tips which I used during this week. 1. Get a table structure To get a table structure in a SQL it can be used a command show create table <table name> \G 2. Get ID of last inserted record. To get the ID of the last inserted record just use mysql built-in function LAST_INSERT_ID(). […]

Read Me Leave comment