Task: equi-join-detect (source dataset: Auto-BI)

Your are given a database with related tables used for business intelligence analysis. Your task is to identify all key/foreign-key join relationships between the tables for this database. Recall that a join is a relationship between two tables, that allows rows from one table to be combined with rows from another, based on a set of common join columns.
 
 
No explanation needed. Please return all join relationships in the following JSON format:
{
  "joins": [
    {
      "from_table": "table-1",
      "from_column": "column-1",
      "to_table": "table-2",
      "to_column": "column-3"
    }, 
	...
  ]
}

Tables:

Table: Calendar
| Date                    |   Year | Quarter   | Month   | MonthSort   | Month in Year   |   MonthInYearSort |
|:------------------------|-------:|:----------|:--------|:------------|:----------------|------------------:|
| 1996-01-01 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-02 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-03 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-04 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-05 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-06 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-07 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-08 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-09 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |
| 1996-01-10 00:00:00.000 |   1996 | 1996-Q1   | Jan-96  | 1996-01     | Jan             |                 1 |


Table: Customers
| CustomerID   | Customer                           | City Name    | PostalCode   | Country   | City                    | Sales Region   |
|:-------------|:-----------------------------------|:-------------|:-------------|:----------|:------------------------|:---------------|
| ALFKI        | Alfreds Futterkiste                | Berlin       | 12209        | Germany   | Berlin, Germany         | Europe         |
| BLAUS        | Blauer See Delikatessen            | Mannheim     | 68306        | Germany   | Mannheim, Germany       | Europe         |
| DRACD        | Drachenblut Delikatessen           | Aachen       | 52066        | Germany   | Aachen, Germany         | Europe         |
| CACTU        | Cactus Comidas para llevar         | Buenos Aires | 1010         | Argentina | Buenos Aires, Argentina | South America  |
| ANATR        | Ana Trujillo Emparedados y helados | Mexico City  | 05021        | Mexico    | Mexico City, Mexico     | North America  |
| ANTON        | Antonio Moreno Taquería            | Mexico City  | 05023        | Mexico    | Mexico City, Mexico     | North America  |
| CENTC        | Centro comercial Moctezuma         | Mexico City  | 05022        | Mexico    | Mexico City, Mexico     | North America  |
| ERNSH        | Ernst Handel                       | Graz         | 8010         | Austria   | Graz, Austria           | Europe         |
| AROUT        | Around the Horn                    | London       | WA1 1DP      | UK        | London, UK              | Europe         |
| BSBEV        | B's Beverages                      | London       | EC2 5NT      | UK        | London, UK              | Europe         |


Table: Products
|   ProductID | Product                         | Category     |
|------------:|:--------------------------------|:-------------|
|           1 | Chai                            | Beverages    |
|           2 | Chang                           | Beverages    |
|           3 | Aniseed Syrup                   | Condiments   |
|           4 | Chef Anton's Cajun Seasoning    | Condiments   |
|           5 | Chef Anton's Gumbo Mix          | Condiments   |
|           6 | Grandma's Boysenberry Spread    | Condiments   |
|           7 | Uncle Bob's Organic Dried Pears | Produce      |
|           8 | Northwoods Cranberry Sauce      | Condiments   |
|           9 | Mishi Kobe Niku                 | Meat/Poultry |
|          10 | Ikura                           | Seafood      |


Table: Sales
|   OrderID |   ProductID |   SalesAmount | CustomerID   | Order Date              |   Quantity |
|----------:|------------:|--------------:|:-------------|:------------------------|-----------:|
|     10251 |          65 |           336 | VICTE        | 1996-07-08 00:00:00.000 |         20 |
|     10253 |          31 |           200 | HANAR        | 1996-07-10 00:00:00.000 |         20 |
|     10255 |           2 |           304 | RICSU        | 1996-07-12 00:00:00.000 |         20 |
|     10261 |          21 |           160 | QUEDE        | 1996-07-19 00:00:00.000 |         20 |
|     10261 |          35 |           288 | QUEDE        | 1996-07-19 00:00:00.000 |         20 |
|     10265 |          70 |           240 | BLONP        | 1996-07-25 00:00:00.000 |         20 |
|     10273 |          33 |            40 | QUICK        | 1996-08-05 00:00:00.000 |         20 |
|     10274 |          71 |           344 | VINET        | 1996-08-06 00:00:00.000 |         20 |
|     10277 |          28 |           728 | MORGK        | 1996-08-09 00:00:00.000 |         20 |
|     10280 |          55 |           384 | BERGS        | 1996-08-14 00:00:00.000 |         20 |

 


tables: name: Calendar
data: Calendar.csv
name: Customers
data: Customers.csv
name: Products
data: Products.csv
name: Sales
data: Sales.csv
label: Sales
ProductID
Products
ProductID
Sales
CustomerID
Customers
CustomerID
output: {
    "joins": [
        {
            "from_table": "Sales",
            "from_column": "ProductID",
            "to_table": "Products",
            "to_column": "ProductID"
        },
        {
            "from_table": "Sales",
            "from_column": "CustomerID",
            "to_table": "Customers",
            "to_column": "CustomerID"
        }
    ]
}