Obtain id of an insert in the same statement
42133
How to get the insert ID in JDBC?
37395
Get the last inserted row ID (with SQL statement)
47928
CodeIgniter activerecord, retrieve last insert id?
7774
PHP MySQLi Multiple Inserts
13300
How to find an identity of the last inserted row in Entity Framework?
30896
MySQL get missing IDs from table
145311
Generate an increment ID that is unique for a given value of a foreign key
146943
PHP/MySQL insert row then get 'id'
38371
How to UPSERT (MERGE, INSERT ... ON DUPLICATE UPDATE) in PostgreSQL?
130341
SQL Insert Statement Persists Two Records When I Need Just One
1017
Is MySql's LAST_INSERT_ID() function guaranteed to be correct?
152204
Is INSERT RETURNING guaranteed to return things in the "right" order?
52455
Insert an input variable in a query in PostgreSQL
105883
Inserting multiple rows in a single SQL query?
133342
How to cast variables in T-SQL for bulk insert?
123697
Insert at specific resulting positions?
21454
Adding an identity to an existing column