By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
10 rows affected
CustomerID | CustomerName | ContactEmail |
---|---|---|
1 | John Doe | john.doe@example.com |
2 | Jane Smith | jane.smith@example.com |
3 | Michael Johnson | michael.johnson@example.com |
4 | Sarah Williams | sarah.williams@example.com |
5 | Tony Chiu | tony.chiu@example.com |
OrderID | CustomerID | OrderDate | TotalAmount |
---|---|---|---|
101 | 1 | 2023-08-01 | 100.00 |
102 | 2 | 2023-08-02 | 50.00 |
103 | 1 | 2023-08-02 | 75.00 |
104 | 3 | 2023-08-03 | 200.00 |
105 | 9 | 2023-08-04 | 150.00 |
CustomerID | CustomerName | ContactEmail | OrderID | OrderDate | TotalAmount |
---|---|---|---|---|---|
1 | John Doe | john.doe@example.com | 101 | 2023-08-01 | 100.00 |
1 | John Doe | john.doe@example.com | 103 | 2023-08-02 | 75.00 |
2 | Jane Smith | jane.smith@example.com | 102 | 2023-08-02 | 50.00 |
3 | Michael Johnson | michael.johnson@example.com | 104 | 2023-08-03 | 200.00 |
4 | Sarah Williams | sarah.williams@example.com | null | null | null |
5 | Tony Chiu | tony.chiu@example.com | null | null | null |
null | null | null | 105 | 2023-08-04 | 150.00 |
CustomerID | CustomerName | ContactEmail | OrderID | OrderDate | TotalAmount |
---|---|---|---|---|---|
4 | Sarah Williams | sarah.williams@example.com | null | null | null |
5 | Tony Chiu | tony.chiu@example.com | null | null | null |
null | null | null | 105 | 2023-08-04 | 150.00 |