By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
INSERT 0 5
INSERT 0 2
INSERT 0 2
INSERT 0 4
| vendor | ponum | poamt | invnum | invamt |
|---|---|---|---|---|
| KLM Company | 10004 | 1572.00 | I0004 | 1572.00 |
| DEF Company | 10002 | 3254.00 | I0002 | 3254.00 |
| ABC Company | 10001 | 1250.00 | I0001 | 1250.00 |
| GHI Company | 10003 | 854.00 | I0003 | 854.00 |
| NOP Company | 10005 | 6000.00 | null | 0 |
SELECT 5
| vendor | ponum | poamt | invnum | invamt |
|---|---|---|---|---|
| ABC Company | 10001 | 1250.00 | I0001 | 1250.00 |
| DEF Company | 10002 | 3254.00 | I0002 | 3254.00 |
| NOP Company | 10005 | 6000.00 | null | null |
| GHI Company | 10003 | 854.00 | null | null |
| KLM Company | 10004 | 1572.00 | null | null |
| GHI Company | 10003 | 854.00 | I0003 | 854.00 |
| KLM Company | 10004 | 1572.00 | I0004 | 1572.00 |
| DEF Company | 10002 | 3254.00 | null | null |
| NOP Company | 10005 | 6000.00 | null | null |
| ABC Company | 10001 | 1250.00 | null | null |
SELECT 10
ERROR: syntax error at or near "Vendor" LINE 1: Vendor PONum Amt InvNum Amt ^