Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
On conflict
drop table if exists t; create table t(i serial, x int unique, y int); insert into t(x,y) values(1,1) on conflict(x) do update set x = excluded.x; insert into t(x,y) values(1,1) on conflict(x) do update set x = excluded.x; -- Works fine --insert into t(x,y) values(1,1),(1,2) on conflict(x) do update set x = excluded.x; -- Uncomment, error here
run
|
edit
|
history
|
help
0
Assignment 1(SET A)
revenue average per current month, last 3, 6 and 12 months
lol
Full text search
Webiste SQL Analysis
complicated-conditional-sql-query-to-match-attributes-for-marketing-campaigns/43219741#43219741
asd
Final 1
Update as a function result
PostreSQL: Today's Date/Time