query: Postgres: Insert if not exists, otherwise return the row
positive_passages.docid: 27642
positive_passages.text: Insert if not exists, else return id in postgresql
negative_passages.docid: 77672
negative_passages.text: MySQL Conditional Insert
negative_passages.docid: 154568
negative_passages.text: Optimal way to ignore duplicate inserts?
negative_passages.docid: 89949
negative_passages.text: Easy mysql question regarding primary keys and an insert
negative_passages.docid: 5511
negative_passages.text: Check if table exists
negative_passages.docid: 24417
negative_passages.text: "INSERT IGNORE" vs "INSERT ... ON DUPLICATE KEY UPDATE"
negative_passages.docid: 11936
negative_passages.text: Insert into ... values ( SELECT ... FROM ... )
negative_passages.docid: 77455
negative_passages.text: Only inserting a row if it's not already there
negative_passages.docid: 108037
negative_passages.text: Insert multiples rows/columns - PostgreSQL 9.2
negative_passages.docid: 34957
negative_passages.text: Idiomatic way to implement UPSERT in PostgreSQL
negative_passages.docid: 36386
negative_passages.text: Best way to get identity of inserted row?
negative_passages.docid: 136557
negative_passages.text: Postgres sql insert query syntax error from phpPgAdmin
negative_passages.docid: 83406
negative_passages.text: ''More than one row returned by a subquery used as an expression'' postgres error
negative_passages.docid: 78777
negative_passages.text: Oracle: how to UPSERT (update or insert into a table?)
negative_passages.docid: 38371
negative_passages.text: How to UPSERT (MERGE, INSERT ... ON DUPLICATE UPDATE) in PostgreSQL?
negative_passages.docid: 110522
negative_passages.text: Insert, on duplicate update in PostgreSQL?
negative_passages.docid: 63056
negative_passages.text: Subquery using Exists 1 or Exists *