Update sequence on row INSERT
13921
How to reset postgres' primary key sequence when it falls out of sync?
108153
Preparing a MySQL INSERT/UPDATE statement with DEFAULT values
106479
Check if a row exists, otherwise insert
142689
Carry over long sequence of missing values with Postgres
81786
One-to-many insert/upsert from landing to separate DE's
112312
Create unique sequence per set of rows sharing the same foreign key value
37801
CREATE SEQUENCE using expressions with psql variables for parameters
24417
"INSERT IGNORE" vs "INSERT ... ON DUPLICATE KEY UPDATE"
78777
Oracle: how to UPSERT (update or insert into a table?)
154568
Optimal way to ignore duplicate inserts?
116979
Reorder / reset auto increment primary key
37395
Get the last inserted row ID (with SQL statement)
137429
Re-number a list when a new entry is inserted
99698
SQL update top1 row query
67647
Finding sequences and triggers associated with an Oracle table
118257
Postgres error on insert - ERROR: invalid byte sequence for encoding "UTF8": 0x00
123180
PostgreSQL gapless sequences