Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
IF IN POSTGRESQL
DO $$ DECLARE a integer := 10; b integer := 20; BEGIN IF a > b THEN RAISE INFO 'a is greater than b'; END IF; IF a < b THEN RAISE INFO 'a is less than b'; END IF; IF a = b THEN RAISE INFO 'a is equal to b'; END IF; END $$;
run
|
edit
|
history
|
help
0
E2
testo
Comp
Pedido_Insert_Delete
Current time/date, timezone
cte
generate-data-combinations-for-a-column-dynamically-based-on-another-column-sql-postgresql
Returning IDs with exactly 3 consecutive months of invoice_amt >2000
test
Select rows with no intersection on join table and check by date