Syntax error when using WITH…AS statement – Postgresql
I'm inserting data into table and I want to get last id which will be later used for another query. Here is table structure and query sql-fiddle I'm receiving this error ERROR: syntax error at end of input Position: 890…