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: Circuits
|   circuitId | circuitRef     | name                           | location     | country   |      lat |       lng | alt   | url                                                         |
|------------:|:---------------|:-------------------------------|:-------------|:----------|---------:|----------:|:------|:------------------------------------------------------------|
|           2 | sepang         | Sepang International Circuit   | Kuala Lumpur | Malaysia  |  2.76083 | 101.738   |       | http://en.wikipedia.org/wiki/Sepang_International_Circuit   |
|           3 | bahrain        | Bahrain International Circuit  | Sakhir       | Bahrain   | 26.0325  |  50.5106  |       | http://en.wikipedia.org/wiki/Bahrain_International_Circuit  |
|           4 | catalunya      | Circuit de Barcelona-Catalunya | MontmelÌ_    | Spain     | 41.57    |   2.26111 |       | http://en.wikipedia.org/wiki/Circuit_de_Barcelona-Catalunya |
|           5 | istanbul       | Istanbul Park                  | Istanbul     | Turkey    | 40.9517  |  29.405   |       | http://en.wikipedia.org/wiki/Istanbul_Park                  |
|           6 | monaco         | Circuit de Monaco              | Monte-Carlo  | Monaco    | 43.7347  |   7.42056 |       | http://en.wikipedia.org/wiki/Circuit_de_Monaco              |
|           7 | villeneuve     | Circuit Gilles Villeneuve      | Montreal     | Canada    | 45.5     | -73.5228  |       | http://en.wikipedia.org/wiki/Circuit_Gilles_Villeneuve      |
|           8 | magny_cours    | Circuit de Nevers Magny-Cours  | Magny Cours  | France    | 46.8642  |   3.16361 |       | http://en.wikipedia.org/wiki/Circuit_de_Nevers_Magny-Cours  |
|           9 | silverstone    | Silverstone Circuit            | Silverstone  | UK        | 52.0786  |  -1.01694 |       | http://en.wikipedia.org/wiki/Silverstone_Circuit            |
|          10 | hockenheimring | Hockenheimring                 | Hockenheim   | Germany   | 49.3278  |   8.56583 |       | http://en.wikipedia.org/wiki/Hockenheimring                 |
|          11 | hungaroring    | Hungaroring                    | Budapest     | Hungary   | 47.5789  |  19.2486  |       | http://en.wikipedia.org/wiki/Hungaroring                    |


Table: Constructor Results
|   constructorResultsId |   raceId |   constructorId |   points | status   |
|-----------------------:|---------:|----------------:|---------:|:---------|
|                    579 |       71 |              18 |        0 | NULL     |
|                    588 |       72 |              18 |        0 | NULL     |
|                    598 |       73 |              18 |        0 | NULL     |
|                    608 |       74 |              18 |        0 | NULL     |
|                    618 |       75 |              18 |        0 | NULL     |
|                    626 |       76 |              18 |        0 | NULL     |
|                    637 |       77 |              18 |        0 | NULL     |
|                    645 |       78 |              18 |        0 | NULL     |
|                    667 |       80 |              18 |        0 | NULL     |
|                    677 |       81 |              18 |        0 | NULL     |


Table: Constructors
|   constructorId | constructorRef   | name     | nationality   | url                                                          | Column1   |
|----------------:|:-----------------|:---------|:--------------|:-------------------------------------------------------------|:----------|
|               1 | mclaren          | McLaren  | British       | http://en.wikipedia.org/wiki/McLaren                         |           |
|               3 | williams         | Williams | British       | http://en.wikipedia.org/wiki/Williams_Grand_Prix_Engineering |           |
|              16 | bar              | BAR      | British       | http://en.wikipedia.org/wiki/British_American_Racing         |           |
|              19 | jaguar           | Jaguar   | British       | http://en.wikipedia.org/wiki/Jaguar_Racing                   |           |
|              21 | arrows           | Arrows   | British       | http://en.wikipedia.org/wiki/Arrows_Grand_Prix_International |           |
|              23 | brawn            | Brawn    | British       | http://en.wikipedia.org/wiki/Brawn_GP                        |           |
|              24 | stewart          | Stewart  | British       | http://en.wikipedia.org/wiki/Stewart_Grand_Prix              |           |
|              25 | tyrrell          | Tyrrell  | British       | http://en.wikipedia.org/wiki/Tyrrell_Racing                  |           |
|              26 | lola             | Lola     | British       | http://en.wikipedia.org/wiki/MasterCard_Lola                 |           |
|              29 | footwork         | Footwork | British       | http://en.wikipedia.org/wiki/Footwork_Arrows                 |           |


Table: Dates
| Date                    |   Year |   YearOffset | YearCompleted   |   QuarterOfYear | Quarter & Year   |   QuarternYear |   QuarterOffset | QuarterCompleted   |   MonthOfYear |   DayOfMonth | Month Name   | MonthShortName   | Month Initial   | Month & Year   |   MonthnYear |   MonthOffset | MonthCompleted   | MonthEnding             |   DateInt |   DayOfWeek | DayOfWeekName   | Weekday Initial   | Day Type   |   ISO Year |   ISO YearOffset |   ISO QuarterOfYear | ISO Quarter   | ISO Quarter & Year   |   ISO QuarternYear |   ISO QuarterOffset |   ISO Weeknumber | Week & Year   |   WeeknYear |   WeekOffset | WeekCompleted   | WeekEnding              | Fiscal Year   |   FiscalYearOffset | Fiscal Quarter   |   FQuarternYear | IsCurrentFQ   |   Fiscal Period |   FPeriodnYear | IsCurrentFP   |   Fiscal Week | Fiscal Year & Week   |   FWeeknYear | IsCurrentFW   | IsAfterToday   | IsWorkingDay   | IsHoliday   | IsBusinessDay   | IsPYTD   | IsPFYTD   |
|:------------------------|-------:|-------------:|:----------------|----------------:|:-----------------|---------------:|----------------:|:-------------------|--------------:|-------------:|:-------------|:-----------------|:----------------|:---------------|-------------:|--------------:|:-----------------|:------------------------|----------:|------------:|:----------------|:------------------|:-----------|-----------:|-----------------:|--------------------:|:--------------|:---------------------|-------------------:|--------------------:|-----------------:|:--------------|------------:|-------------:|:----------------|:------------------------|:--------------|-------------------:|:-----------------|----------------:|:--------------|----------------:|---------------:|:--------------|--------------:|:---------------------|-------------:|:--------------|:---------------|:---------------|:------------|:----------------|:---------|:----------|
| 2010-01-01 00:00:00.000 |   2010 |          -11 | True            |               1 | Q1 2010          |       20100100 |             -46 | True               |             1 |            1 | January      | Jan              | J​               | Jan 2010       |     20100100 |          -138 | True             | 2010-01-31 00:00:00.000 |  20100101 |           5 | Friday          | F​​​​​                 | Weekday    |       2009 |              -12 |                   4 | Q4            | Q4 2009              |           20090400 |                 -47 |               53 | 2009-53       |    20095300 |         -601 | True            | 2010-01-03 00:00:00.000 | FY10          |                -12 | FQ3              |        20100300 | False         |               7 |       20100700 | False         |            27 | 2010-27              |     20102700 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-10-08 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            10 |            8 | October      | Oct              | O​​​​​​​​​​               | Oct 2010       |     20101000 |          -129 | True             | 2010-10-31 00:00:00.000 |  20101008 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               40 | 2010-40       |    20104000 |         -561 | True            | 2010-10-10 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               4 |       20110400 | False         |            15 | 2011-15              |     20111500 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-10-15 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            10 |           15 | October      | Oct              | O​​​​​​​​​​               | Oct 2010       |     20101000 |          -129 | True             | 2010-10-31 00:00:00.000 |  20101015 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               41 | 2010-41       |    20104100 |         -560 | True            | 2010-10-17 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               4 |       20110400 | False         |            16 | 2011-16              |     20111600 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-10-22 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            10 |           22 | October      | Oct              | O​​​​​​​​​​               | Oct 2010       |     20101000 |          -129 | True             | 2010-10-31 00:00:00.000 |  20101022 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               42 | 2010-42       |    20104200 |         -559 | True            | 2010-10-24 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               4 |       20110400 | False         |            17 | 2011-17              |     20111700 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-10-29 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            10 |           29 | October      | Oct              | O​​​​​​​​​​               | Oct 2010       |     20101000 |          -129 | True             | 2010-10-31 00:00:00.000 |  20101029 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               43 | 2010-43       |    20104300 |         -558 | True            | 2010-10-31 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               4 |       20110400 | False         |            18 | 2011-18              |     20111800 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-11-05 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            11 |            5 | November     | Nov              | N​​​​​​​​​​​               | Nov 2010       |     20101100 |          -128 | True             | 2010-11-30 00:00:00.000 |  20101105 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               44 | 2010-44       |    20104400 |         -557 | True            | 2010-11-07 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               5 |       20110500 | False         |            19 | 2011-19              |     20111900 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-11-12 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            11 |           12 | November     | Nov              | N​​​​​​​​​​​               | Nov 2010       |     20101100 |          -128 | True             | 2010-11-30 00:00:00.000 |  20101112 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               45 | 2010-45       |    20104500 |         -556 | True            | 2010-11-14 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               5 |       20110500 | False         |            20 | 2011-20              |     20112000 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-11-19 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            11 |           19 | November     | Nov              | N​​​​​​​​​​​               | Nov 2010       |     20101100 |          -128 | True             | 2010-11-30 00:00:00.000 |  20101119 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               46 | 2010-46       |    20104600 |         -555 | True            | 2010-11-21 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               5 |       20110500 | False         |            21 | 2011-21              |     20112100 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-11-26 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            11 |           26 | November     | Nov              | N​​​​​​​​​​​               | Nov 2010       |     20101100 |          -128 | True             | 2010-11-30 00:00:00.000 |  20101126 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               47 | 2010-47       |    20104700 |         -554 | True            | 2010-11-28 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               5 |       20110500 | False         |            22 | 2011-22              |     20112200 | False         | False          | True           | Unknown     | True            | False    | False     |
| 2010-12-03 00:00:00.000 |   2010 |          -11 | True            |               4 | Q4 2010          |       20100400 |             -43 | True               |            12 |            3 | December     | Dec              | D​​​​​​​​​​​​               | Dec 2010       |     20101200 |          -127 | True             | 2010-12-31 00:00:00.000 |  20101203 |           5 | Friday          | F​​​​​                 | Weekday    |       2010 |              -11 |                   4 | Q4            | Q4 2010              |           20100400 |                 -43 |               48 | 2010-48       |    20104800 |         -553 | True            | 2010-12-05 00:00:00.000 | FY11          |                -11 | FQ2              |        20110200 | False         |               6 |       20110600 | False         |            23 | 2011-23              |     20112300 | False         | False          | True           | Unknown     | True            | False    | False     |


Table: Driver Standings
|   driverStandingsId |   raceId |   driverId |   points |   position |   positionText |   wins |
|--------------------:|---------:|-----------:|---------:|-----------:|---------------:|-------:|
|                  47 |       20 |         16 |        0 |         21 |             21 |      0 |
|                  68 |       21 |         16 |        0 |         21 |             21 |      0 |
|                  89 |       22 |         16 |        0 |         21 |             21 |      0 |
|                 107 |       23 |         19 |        0 |         21 |             21 |      0 |
|                 129 |       24 |         19 |        0 |         21 |             21 |      0 |
|                 151 |       25 |         19 |        0 |         21 |             21 |      0 |
|                 173 |       26 |         19 |        0 |         21 |             21 |      0 |
|                 199 |       27 |         16 |        0 |         21 |             21 |      0 |
|                 221 |       28 |         16 |        0 |         21 |             21 |      0 |
|                 243 |       29 |         16 |        0 |         21 |             21 |      0 |


Table: Drivers
|   driverId | driverRef      | number   | code   | forename   | surname   | dob                     | nationality   | url                                           |
|-----------:|:---------------|:---------|:-------|:-----------|:----------|:------------------------|:--------------|:----------------------------------------------|
|        121 | andretti       |          |        | Michael    | Andretti  | 1962-10-05 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Michael_Andretti |
|        158 | cheever        |          |        | Eddie      | Cheever   | 1958-01-10 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Eddie_Cheever    |
|        193 | sullivan       |          |        | Danny      | Sullivan  | 1950-03-09 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Danny_Sullivan   |
|        207 | mario_andretti |          |        | Mario      | Andretti  | 1940-02-28 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Mario_Andretti   |
|        214 | cogan          |          |        | Kevin      | Cogan     | 1956-03-31 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Kevin_Cogan      |
|        239 | lunger         |          |        | Brett      | Lunger    | 1945-11-14 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Brett_Lunger     |
|        240 | ongais         |          |        | Danny      | Ongais    | 1942-05-21 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Danny_Ongais     |
|        249 | rahal          |          |        | Bobby      | Rahal     | 1953-01-10 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Bobby_Rahal      |
|        288 | donohue        |          |        | Mark       | Donohue   | 1937-03-18 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Mark_Donohue     |
|        309 | revson         |          |        | Peter      | Revson    | 1939-02-27 00:00:00.000 | American      | http://en.wikipedia.org/wiki/Peter_Revson     |


Table: Lap Times
|   raceId |   driverId |   lap |   position | time     |   milliseconds |
|---------:|-----------:|------:|-----------:|:---------|---------------:|
|      944 |          8 |     1 |          4 | 1:22.683 |          82683 |
|      944 |          8 |     2 |          4 | 1:17.488 |          77488 |
|      944 |          8 |     3 |          4 | 1:17.073 |          77073 |
|      944 |          8 |     4 |          4 | 1:16.751 |          76751 |
|      944 |          8 |     5 |          4 | 1:16.885 |          76885 |
|      944 |          8 |     6 |          4 | 1:16.751 |          76751 |
|      944 |          8 |     7 |          4 | 1:17.252 |          77252 |
|      944 |          8 |     8 |          4 | 1:16.950 |          76950 |
|      944 |          8 |     9 |          4 | 1:17.251 |          77251 |
|      944 |          8 |    10 |          4 | 1:17.376 |          77376 |


Table: Pit Stops
|   raceId |   driverId |   stop |   lap | time                    |   duration |   milliseconds |
|---------:|-----------:|-------:|------:|:------------------------|-----------:|---------------:|
|      841 |        153 |      1 |     1 | 1899-12-30 17:05:23.000 |     26.898 |          26898 |
|      841 |         30 |      1 |     1 | 1899-12-30 17:05:52.000 |     25.021 |          25021 |
|      844 |        815 |      1 |     1 | 1899-12-30 15:05:18.000 |     29.27  |          29270 |
|      845 |        155 |      1 |     1 | 1899-12-30 14:05:11.000 |     24.871 |          24871 |
|      852 |         10 |      1 |     1 | 1899-12-30 14:05:58.000 |     35.092 |          35092 |
|      852 |        811 |      1 |     1 | 1899-12-30 14:06:10.000 |     30.795 |          30795 |
|      852 |          5 |      1 |     1 | 1899-12-30 14:06:14.000 |     28.539 |          28539 |
|      853 |        155 |      1 |     1 | 1899-12-30 14:05:42.000 |     27.55  |          27550 |
|      853 |         22 |      1 |     1 | 1899-12-30 14:06:43.000 |     29.157 |          29157 |
|      854 |        817 |      1 |     1 | 1899-12-30 20:06:48.000 |     44.17  |          44170 |


Table: Qualifying
|   qualifyId |   raceId |   driverId |   constructorId |   number |   position | q1       | q2   | q3   |
|------------:|---------:|-----------:|----------------:|---------:|-----------:|:---------|:-----|:-----|
|        1149 |       77 |         13 |              15 |       12 |         11 | 1:32.205 |      | NULL |
|        1153 |       77 |         35 |              15 |       11 |         15 | 1:32.891 |      | NULL |
|        1166 |       78 |         35 |              15 |       11 |          8 | 1:16.116 |      | NULL |
|        1169 |       78 |         13 |              15 |       12 |         11 | 1:16.661 |      | NULL |
|        1188 |       79 |         13 |              15 |       12 |         10 | 1:11.555 |      | NULL |
|        1190 |       79 |         35 |              15 |       11 |         12 | 1:11.691 |      | NULL |
|        1208 |       80 |         13 |              15 |       12 |         10 | 1:15.566 |      | NULL |
|        1209 |       80 |         35 |              15 |       11 |         11 | 1:15.699 |      | NULL |
|        1229 |       81 |         35 |              15 |       11 |         11 | 1:21.352 |      | NULL |
|        1234 |       81 |         13 |              15 |       12 |         16 | 1:22.495 |      | NULL |


Table: Races
|   raceId |   year |   round |   circuitId | Grand Prix Name          | Date                    | time   | url                                                        |
|---------:|-------:|--------:|------------:|:-------------------------|:------------------------|:-------|:-----------------------------------------------------------|
|       90 |   2004 |       1 |           1 | Australian Grand Prix    | 2004-03-07 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Australian_Grand_Prix    |
|       91 |   2004 |       2 |           2 | Malaysian Grand Prix     | 2004-03-21 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Malaysian_Grand_Prix     |
|       92 |   2004 |       3 |           3 | Bahrain Grand Prix       | 2004-04-04 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Bahrain_Grand_Prix       |
|       93 |   2004 |       4 |          21 | San Marino Grand Prix    | 2004-04-25 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_San_Marino_Grand_Prix    |
|       94 |   2004 |       5 |           4 | Spanish Grand Prix       | 2004-05-09 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Spanish_Grand_Prix       |
|       95 |   2004 |       6 |           6 | Monaco Grand Prix        | 2004-05-23 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Monaco_Grand_Prix        |
|       96 |   2004 |       7 |          20 | European Grand Prix      | 2004-05-30 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_European_Grand_Prix      |
|       97 |   2004 |       8 |           7 | Canadian Grand Prix      | 2004-06-13 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_Canadian_Grand_Prix      |
|       98 |   2004 |       9 |          19 | United States Grand Prix | 2004-06-20 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_United_States_Grand_Prix |
|       99 |   2004 |      10 |           8 | French Grand Prix        | 2004-07-04 00:00:00.000 |        | http://en.wikipedia.org/wiki/2004_French_Grand_Prix        |


Table: Results
|   resultId |   raceId |   driverId |   constructorId |   number |   grid | position   | positionText   |   positionOrder |   points |   laps | time   | milliseconds   | fastestLap   | rank   | fastestLapTime   | fastestLapSpeed   |   statusId |
|-----------:|---------:|-----------:|----------------:|---------:|-------:|:-----------|:---------------|----------------:|---------:|-------:|:-------|:---------------|:-------------|:-------|:-----------------|:------------------|-----------:|
|       2230 |      125 |         22 |               6 |        2 |      3 |            | R              |              14 |        0 |     39 |        |                |              |        |                  |                   |          5 |
|       3121 |      166 |         30 |               6 |        3 |      1 |            | R              |              16 |        0 |     58 |        |                |              |        |                  |                   |          5 |
|       3361 |      177 |         56 |               6 |        4 |      4 |            | R              |              14 |        0 |     46 |        |                |              |        |                  |                   |          5 |
|       3672 |      191 |         30 |               6 |        3 |      3 |            | R              |              17 |        0 |      5 |        |                |              |        |                  |                   |          5 |
|       4330 |      221 |         56 |               6 |        6 |     14 |            | R              |              16 |        0 |     22 |        |                |              |        |                  |                   |          5 |
|       4614 |      234 |         56 |               6 |        2 |      8 |            | R              |              14 |        0 |     34 |        |                |              |        |                  |                   |          5 |
|       4820 |      243 |         55 |               6 |       27 |      2 |            | R              |              22 |        0 |     25 |        |                |              |        |                  |                   |          5 |
|       4940 |      248 |         55 |               6 |       27 |     10 |            | R              |              18 |        0 |     12 |        |                |              |        |                  |                   |          5 |
|       5106 |      255 |         55 |               6 |       27 |      2 |            | R              |              16 |        0 |     24 |        |                |              |        |                  |                   |          5 |
|       5127 |      256 |         77 |               6 |       28 |      4 |            | R              |              13 |        0 |     34 |        |                |              |        |                  |                   |          5 |


Table: Seasons
|   year | url                                                  |
|-------:|:-----------------------------------------------------|
|   2009 | http://en.wikipedia.org/wiki/2009_Formula_One_season |
|   2008 | http://en.wikipedia.org/wiki/2008_Formula_One_season |
|   2007 | http://en.wikipedia.org/wiki/2007_Formula_One_season |
|   2006 | http://en.wikipedia.org/wiki/2006_Formula_One_season |
|   2005 | http://en.wikipedia.org/wiki/2005_Formula_One_season |
|   2004 | http://en.wikipedia.org/wiki/2004_Formula_One_season |
|   2003 | http://en.wikipedia.org/wiki/2003_Formula_One_season |
|   2002 | http://en.wikipedia.org/wiki/2002_Formula_One_season |
|   2001 | http://en.wikipedia.org/wiki/2001_Formula_One_season |
|   2000 | http://en.wikipedia.org/wiki/2000_Formula_One_season |


Table: Status
|   statusId | status       |
|-----------:|:-------------|
|          1 | Finished     |
|          2 | Disqualified |
|          3 | Accident     |
|          4 | Collision    |
|          5 | Engine       |
|          6 | Gearbox      |
|          7 | Transmission |
|          8 | Clutch       |
|          9 | Hydraulics   |
|         10 | Electrical   |

 


tables: name: Circuits
data: Circuits.csv
name: Constructor Results
data: Constructor Results.csv
name: Constructors
data: Constructors.csv
name: Dates
data: Dates.csv
name: Driver Standings
data: Driver Standings.csv
name: Drivers
data: Drivers.csv
name: Lap Times
data: Lap Times.csv
name: Pit Stops
data: Pit Stops.csv
name: Qualifying
data: Qualifying.csv
name: Races
data: Races.csv
name: Results
data: Results.csv
name: Seasons
data: Seasons.csv
name: Status
data: Status.csv
label: Lap Times
raceId
Races
raceId
Lap Times
driverId
Drivers
driverId
Results
raceId
Races
raceId
Qualifying
raceId
Races
raceId
Results
driverId
Drivers
driverId
Qualifying
driverId
Drivers
driverId
Results
constructorId
Constructors
constructorId
Qualifying
constructorId
Constructors
constructorId
Results
statusId
Status
statusId
Constructor Results
raceId
Races
raceId
Driver Standings
raceId
Races
raceId
Pit Stops
raceId
Races
raceId
Driver Standings
driverId
Drivers
driverId
Pit Stops
driverId
Drivers
driverId
Constructor Results
constructorId
Constructors
constructorId
output: {
    "joins": [
        {
            "from_table": "Lap Times",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Lap Times",
            "from_column": "driverId",
            "to_table": "Drivers",
            "to_column": "driverId"
        },
        {
            "from_table": "Results",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Qualifying",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Results",
            "from_column": "driverId",
            "to_table": "Drivers",
            "to_column": "driverId"
        },
        {
            "from_table": "Qualifying",
            "from_column": "driverId",
            "to_table": "Drivers",
            "to_column": "driverId"
        },
        {
            "from_table": "Results",
            "from_column": "constructorId",
            "to_table": "Constructors",
            "to_column": "constructorId"
        },
        {
            "from_table": "Qualifying",
            "from_column": "constructorId",
            "to_table": "Constructors",
            "to_column": "constructorId"
        },
        {
            "from_table": "Results",
            "from_column": "statusId",
            "to_table": "Status",
            "to_column": "statusId"
        },
        {
            "from_table": "Constructor Results",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Driver Standings",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Pit Stops",
            "from_column": "raceId",
            "to_table": "Races",
            "to_column": "raceId"
        },
        {
            "from_table": "Driver Standings",
            "from_column": "driverId",
            "to_table": "Drivers",
            "to_column": "driverId"
        },
        {
            "from_table": "Pit Stops",
            "from_column": "driverId",
            "to_table": "Drivers",
            "to_column": "driverId"
        },
        {
            "from_table": "Constructor Results",
            "from_column": "constructorId",
            "to_table": "Constructors",
            "to_column": "constructorId"
        }
    ]
}