By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
8 rows affected
| CustomerID | CustomerName | |
|---|---|---|
| 1 | John Doe | john.doe@example.com |
| 2 | Jane Smith | jane.smith@example.com |
| 3 | Michael Johnson | michael.johnson@example.com |
| 4 | Emily Brown | emily.brown@example.com |
| OrderID | CustomerID | OrderDate | TotalAmount |
|---|---|---|---|
| 101 | 1 | 2023-08-06 10:00:00.000 | 100.00 |
| 102 | 2 | 2023-08-06 11:30:00.000 | 50.00 |
| 103 | 1 | 2023-08-06 12:15:00.000 | 75.00 |
| 104 | 3 | 2023-08-06 14:20:00.000 | 200.00 |
| CustomerID | CustomerName | OrderID | OrderDate | TotalAmount |
|---|---|---|---|---|
| 1 | John Doe | 101 | 2023-08-06 10:00:00.000 | 100.00 |
| 2 | Jane Smith | 102 | 2023-08-06 11:30:00.000 | 50.00 |
| 1 | John Doe | 103 | 2023-08-06 12:15:00.000 | 75.00 |
| 3 | Michael Johnson | 104 | 2023-08-06 14:20:00.000 | 200.00 |