db_id
stringlengths
3
31
Schema (values (type))
stringlengths
135
6.16k
Primary Keys
stringlengths
0
546
Foreign Keys
stringlengths
0
1.59k
perpetrator
perpetrator : Perpetrator_ID (number) , People_ID (number) , Date (text) , Year (number) , Location (text) , Country (text) , Killed (number) , Injured (number) | people : People_ID (number) , Name (text) , Height (number) , Weight (number) , Home Town (text)
perpetrator : Perpetrator_ID | people : People_ID
perpetrator : People_ID equals people : People_ID
college_2
classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : ID (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : ID (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : ID (text) , name (text) , dept_name (text) , tot_cred (number) | takes : ID (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_ID (text) , i_ID (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text)
classroom : building | department : dept_name | course : course_id | instructor : ID | section : course_id | teaches : ID | student : ID | takes : ID | advisor : s_ID | time_slot : time_slot_id | prereq : course_id
course : dept_name equals department : dept_name | instructor : dept_name equals department : dept_name | section : building equals classroom : building | section : room_number equals classroom : room_number | section : course_id equals course : course_id | teaches : ID equals instructor : ID | teaches : course_id equals section : course_id | teaches : sec_id equals section : sec_id | teaches : semester equals section : semester | teaches : year equals section : year | student : dept_name equals department : dept_name | takes : ID equals student : ID | takes : course_id equals section : course_id | takes : sec_id equals section : sec_id | takes : semester equals section : semester | takes : year equals section : year | advisor : s_ID equals student : ID | advisor : i_ID equals instructor : ID | prereq : prereq_id equals course : course_id | prereq : course_id equals course : course_id
flight_company
airport : id (number) , City (text) , Country (text) , IATA (text) , ICAO (text) , name (text) | operate_company : id (number) , name (text) , Type (text) , Principal_activities (text) , Incorporated_in (text) , Group_Equity_Shareholding (number) | flight : id (number) , Vehicle_Flight_number (text) , Date (text) , Pilot (text) , Velocity (number) , Altitude (number) , airport_id (number) , company_id (number)
airport : id | operate_company : id | flight : id
flight : company_id equals operate_company : id | flight : airport_id equals airport : id
icfp_1
Inst : instID (number) , name (text) , country (text) | Authors : authID (number) , lname (text) , fname (text) | Papers : paperID (number) , title (text) | Authorship : authID (number) , instID (number) , paperID (number) , authOrder (number)
Inst : instID | Authors : authID | Papers : paperID | Authorship : authID
Authorship : paperID equals Papers : paperID | Authorship : instID equals Inst : instID | Authorship : authID equals Authors : authID
body_builder
body_builder : Body_Builder_ID (number) , People_ID (number) , Snatch (number) , Clean_Jerk (number) , Total (number) | people : People_ID (number) , Name (text) , Height (number) , Weight (number) , Birth_Date (text) , Birth_Place (text)
body_builder : Body_Builder_ID | people : People_ID
body_builder : People_ID equals people : People_ID
storm_record
storm : Storm_ID (number) , Name (text) , Dates_active (text) , Max_speed (number) , Damage_millions_USD (number) , Number_Deaths (number) | region : Region_id (number) , Region_code (text) , Region_name (text) | affected_region : Region_id (number) , Storm_ID (number) , Number_city_affected (number)
storm : Storm_ID | region : Region_id | affected_region : Region_id
affected_region : Storm_ID equals storm : Storm_ID | affected_region : Region_id equals region : Region_id
pilot_record
aircraft : Aircraft_ID (number) , Order_Year (number) , Manufacturer (text) , Model (text) , Fleet_Series (text) , Powertrain (text) , Fuel_Propulsion (text) | pilot : Pilot_ID (number) , Pilot_name (text) , Rank (number) , Age (number) , Nationality (text) , Position (text) , Join_Year (number) , Team (text) | pilot_record : Record_ID (number) , Pilot_ID (number) , Aircraft_ID (number) , Date (text)
aircraft : Aircraft_ID | pilot : Pilot_ID | pilot_record : Pilot_ID
pilot_record : Aircraft_ID equals aircraft : Aircraft_ID | pilot_record : Pilot_ID equals pilot : Pilot_ID
race_track
race : Race_ID (number) , Name (text) , Class (text) , Date (text) , Track_ID (text) | track : Track_ID (number) , Name (text) , Location (text) , Seating (number) , Year_Opened (number)
race : Race_ID | track : Track_ID
race : Track_ID equals track : Track_ID
academic
author : aid (number) , homepage (text) , name (text) , oid (number) | conference : cid (number) , homepage (text) , name (text) | domain : did (number) , name (text) | domain_author : aid (number) , did (number) | domain_conference : cid (number) , did (number) | journal : homepage (text) , jid (number) , name (text) | domain_journal : did (number) , jid (number) | keyword : keyword (text) , kid (number) | domain_keyword : did (number) , kid (number) | publication : abstract (text) , cid (text) , citation_num (number) , jid (number) , pid (number) , reference_num (number) , title (text) , year (number) | domain_publication : did (number) , pid (number) | organization : continent (text) , homepage (text) , name (text) , oid (number) | publication_keyword : pid (number) , kid (number) | writes : aid (number) , pid (number) | cite : cited (number) , citing (number)
author : aid | conference : cid | domain : did | domain_author : did | domain_conference : did | journal : jid | domain_journal : did | keyword : kid | domain_keyword : did | publication : pid | domain_publication : did | organization : oid | publication_keyword : kid | writes : aid
domain_author : did equals domain : did | domain_author : aid equals author : aid | domain_conference : did equals domain : did | domain_conference : cid equals conference : cid | domain_journal : did equals domain : did | domain_journal : jid equals journal : jid | domain_keyword : did equals domain : did | domain_keyword : kid equals keyword : kid | publication : cid equals conference : cid | publication : jid equals journal : jid | domain_publication : did equals domain : did | domain_publication : pid equals publication : pid | publication_keyword : kid equals keyword : kid | publication_keyword : pid equals publication : pid | writes : aid equals author : aid | writes : pid equals publication : pid | cite : citing equals publication : pid | cite : cited equals publication : pid
department_store
Addresses : address_id (number) , address_details (text) | Staff : staff_id (number) , staff_gender (text) , staff_name (text) | Suppliers : supplier_id (number) , supplier_name (text) , supplier_phone (text) | Department_Store_Chain : dept_store_chain_id (number) , dept_store_chain_name (text) | Customers : customer_id (number) , payment_method_code (text) , customer_code (text) , customer_name (text) , customer_address (text) , customer_phone (text) , customer_email (text) | Products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | Supplier_Addresses : supplier_id (number) , address_id (number) , date_from (time) , date_to (time) | Customer_Addresses : customer_id (number) , address_id (number) , date_from (time) , date_to (time) | Customer_Orders : order_id (number) , customer_id (number) , order_status_code (text) , order_date (time) | Department_Stores : dept_store_id (number) , dept_store_chain_id (number) , store_name (text) , store_address (text) , store_phone (text) , store_email (text) | Departments : department_id (number) , dept_store_id (number) , department_name (text) | Order_Items : order_item_id (number) , order_id (number) , product_id (number) | Product_Suppliers : product_id (number) , supplier_id (number) , date_supplied_from (time) , date_supplied_to (time) , total_amount_purchased (text) , total_value_purchased (number) | Staff_Department_Assignments : staff_id (number) , department_id (number) , date_assigned_from (time) , job_title_code (text) , date_assigned_to (time)
Addresses : address_id | Staff : staff_id | Suppliers : supplier_id | Department_Store_Chain : dept_store_chain_id | Customers : customer_id | Products : product_id | Supplier_Addresses : supplier_id | Customer_Addresses : customer_id | Customer_Orders : order_id | Department_Stores : dept_store_id | Departments : department_id | Order_Items : order_item_id | Product_Suppliers : product_id | Staff_Department_Assignments : staff_id
Supplier_Addresses : supplier_id equals Suppliers : supplier_id | Supplier_Addresses : address_id equals Addresses : address_id | Customer_Addresses : customer_id equals Customers : customer_id | Customer_Addresses : address_id equals Addresses : address_id | Customer_Orders : customer_id equals Customers : customer_id | Department_Stores : dept_store_chain_id equals Department_Store_Chain : dept_store_chain_id | Departments : dept_store_id equals Department_Stores : dept_store_id | Order_Items : product_id equals Products : product_id | Order_Items : order_id equals Customer_Orders : order_id | Product_Suppliers : product_id equals Products : product_id | Product_Suppliers : supplier_id equals Suppliers : supplier_id | Staff_Department_Assignments : staff_id equals Staff : staff_id | Staff_Department_Assignments : department_id equals Departments : department_id
music_4
artist : Artist_ID (number) , Artist (text) , Age (number) , Famous_Title (text) , Famous_Release_date (text) | volume : Volume_ID (number) , Volume_Issue (text) , Issue_Date (text) , Weeks_on_Top (number) , Song (text) , Artist_ID (number) | music_festival : ID (number) , Music_Festival (text) , Date_of_ceremony (text) , Category (text) , Volume (number) , Result (text)
artist : Artist_ID | volume : Volume_ID | music_festival : ID
volume : Artist_ID equals artist : Artist_ID | music_festival : Volume equals volume : Volume_ID
insurance_fnol
Customers : Customer_ID (number) , Customer_name (text) | Services : Service_ID (number) , Service_name (text) | Available_Policies : Policy_ID (number) , policy_type_code (text) , Customer_Phone (text) | Customers_Policies : Customer_ID (number) , Policy_ID (number) , Date_Opened (time) , Date_Closed (time) | First_Notification_of_Loss : FNOL_ID (number) , Customer_ID (number) , Policy_ID (number) , Service_ID (number) | Claims : Claim_ID (number) , FNOL_ID (number) , Effective_Date (time) | Settlements : Settlement_ID (number) , Claim_ID (number) , Effective_Date (time) , Settlement_Amount (number)
Customers : Customer_ID | Services : Service_ID | Available_Policies : Policy_ID | Customers_Policies : Customer_ID | First_Notification_of_Loss : FNOL_ID | Claims : Claim_ID | Settlements : Settlement_ID
Customers_Policies : Policy_ID equals Available_Policies : Policy_ID | Customers_Policies : Customer_ID equals Customers : Customer_ID | First_Notification_of_Loss : Customer_ID equals Customers_Policies : Customer_ID | First_Notification_of_Loss : Policy_ID equals Customers_Policies : Policy_ID | First_Notification_of_Loss : Service_ID equals Services : Service_ID | Claims : FNOL_ID equals First_Notification_of_Loss : FNOL_ID | Settlements : Claim_ID equals Claims : Claim_ID
cinema
film : Film_ID (number) , Rank_in_series (number) , Number_in_season (number) , Title (text) , Directed_by (text) , Original_air_date (text) , Production_code (text) | cinema : Cinema_ID (number) , Name (text) , Openning_year (number) , Capacity (number) , Location (text) | schedule : Cinema_ID (number) , Film_ID (number) , Date (text) , Show_times_per_day (number) , Price (number)
film : Film_ID | cinema : Cinema_ID | schedule : Cinema_ID
schedule : Cinema_ID equals cinema : Cinema_ID | schedule : Film_ID equals film : Film_ID
decoration_competition
college : College_ID (number) , Name (text) , Leader_Name (text) , College_Location (text) | member : Member_ID (number) , Name (text) , Country (text) , College_ID (number) | round : Round_ID (number) , Member_ID (number) , Decoration_Theme (text) , Rank_in_Round (number)
college : College_ID | member : Member_ID | round : Member_ID
member : College_ID equals college : College_ID | round : Member_ID equals member : Member_ID
phone_market
phone : Name (text) , Phone_ID (number) , Memory_in_G (number) , Carrier (text) , Price (number) | market : Market_ID (number) , District (text) , Num_of_employees (number) , Num_of_shops (number) , Ranking (number) | phone_market : Market_ID (number) , Phone_ID (text) , Num_of_stock (number)
phone : Phone_ID | market : Market_ID | phone_market : Market_ID
phone_market : Phone_ID equals phone : Phone_ID | phone_market : Market_ID equals market : Market_ID
store_product
product : product_id (number) , product (text) , dimensions (text) , dpi (number) , pages_per_minute_color (number) , max_page_size (text) , interface (text) | store : Store_ID (number) , Store_Name (text) , Type (text) , Area_size (number) , Number_of_product_category (number) , Ranking (number) | district : District_ID (number) , District_name (text) , Headquartered_City (text) , City_Population (number) , City_Area (number) | store_product : Store_ID (number) , Product_ID (number) | store_district : Store_ID (number) , District_ID (number)
product : product_id | store : Store_ID | district : District_ID | store_product : Store_ID | store_district : Store_ID
store_product : Store_ID equals store : Store_ID | store_district : District_ID equals district : District_ID | store_district : Store_ID equals store : Store_ID
assets_maintenance
Third_Party_Companies : company_id (number) , company_type (text) , company_name (text) , company_address (text) , other_company_details (text) | Maintenance_Contracts : maintenance_contract_id (number) , maintenance_contract_company_id (number) , contract_start_date (time) , contract_end_date (time) , other_contract_details (text) | Parts : part_id (number) , part_name (text) , chargeable_yn (text) , chargeable_amount (text) , other_part_details (text) | Skills : skill_id (number) , skill_code (text) , skill_description (text) | Staff : staff_id (number) , staff_name (text) , gender (text) , other_staff_details (text) | Assets : asset_id (number) , maintenance_contract_id (number) , supplier_company_id (number) , asset_details (text) , asset_make (text) , asset_model (text) , asset_acquired_date (time) , asset_disposed_date (time) , other_asset_details (text) | Asset_Parts : asset_id (number) , part_id (number) | Maintenance_Engineers : engineer_id (number) , company_id (number) , first_name (text) , last_name (text) , other_details (text) | Engineer_Skills : engineer_id (number) , skill_id (number) | Fault_Log : fault_log_entry_id (number) , asset_id (number) , recorded_by_staff_id (number) , fault_log_entry_datetime (time) , fault_description (text) , other_fault_details (text) | Engineer_Visits : engineer_visit_id (number) , contact_staff_id (number) , engineer_id (number) , fault_log_entry_id (number) , fault_status (text) , visit_start_datetime (time) , visit_end_datetime (time) , other_visit_details (text) | Part_Faults : part_fault_id (number) , part_id (number) , fault_short_name (text) , fault_description (text) , other_fault_details (text) | Fault_Log_Parts : fault_log_entry_id (number) , part_fault_id (number) , fault_status (text) | Skills_Required_To_Fix : part_fault_id (number) , skill_id (number)
Third_Party_Companies : company_id | Maintenance_Contracts : maintenance_contract_id | Parts : part_id | Skills : skill_id | Staff : staff_id | Assets : asset_id | Maintenance_Engineers : engineer_id | Fault_Log : fault_log_entry_id | Engineer_Visits : engineer_visit_id | Part_Faults : part_fault_id
Maintenance_Contracts : maintenance_contract_company_id equals Third_Party_Companies : company_id | Assets : supplier_company_id equals Third_Party_Companies : company_id | Assets : maintenance_contract_id equals Maintenance_Contracts : maintenance_contract_id | Asset_Parts : asset_id equals Assets : asset_id | Asset_Parts : part_id equals Parts : part_id | Maintenance_Engineers : company_id equals Third_Party_Companies : company_id | Engineer_Skills : skill_id equals Skills : skill_id | Engineer_Skills : engineer_id equals Maintenance_Engineers : engineer_id | Fault_Log : recorded_by_staff_id equals Staff : staff_id | Fault_Log : asset_id equals Assets : asset_id | Engineer_Visits : contact_staff_id equals Staff : staff_id | Engineer_Visits : engineer_id equals Maintenance_Engineers : engineer_id | Engineer_Visits : fault_log_entry_id equals Fault_Log : fault_log_entry_id | Part_Faults : part_id equals Parts : part_id | Fault_Log_Parts : fault_log_entry_id equals Fault_Log : fault_log_entry_id | Fault_Log_Parts : part_fault_id equals Part_Faults : part_fault_id | Skills_Required_To_Fix : skill_id equals Skills : skill_id | Skills_Required_To_Fix : part_fault_id equals Part_Faults : part_fault_id
student_assessment
Addresses : address_id (number) , line_1 (text) , line_2 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | People : person_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , login_name (text) , password (text) | Students : student_id (number) , student_details (text) | Courses : course_id (text) , course_name (text) , course_description (text) , other_details (text) | People_Addresses : person_address_id (number) , person_id (number) , address_id (number) , date_from (time) , date_to (time) | Student_Course_Registrations : student_id (number) , course_id (number) , registration_date (time) | Student_Course_Attendance : student_id (number) , course_id (number) , date_of_attendance (time) | Candidates : candidate_id (number) , candidate_details (text) | Candidate_Assessments : candidate_id (number) , qualification (text) , assessment_date (time) , asessment_outcome_code (text)
Addresses : address_id | People : person_id | Students : student_id | Courses : course_id | People_Addresses : person_address_id | Student_Course_Registrations : student_id | Student_Course_Attendance : student_id | Candidates : candidate_id | Candidate_Assessments : candidate_id
Students : student_id equals People : person_id | People_Addresses : address_id equals Addresses : address_id | People_Addresses : person_id equals People : person_id | Student_Course_Registrations : course_id equals Courses : course_id | Student_Course_Registrations : student_id equals Students : student_id | Student_Course_Attendance : student_id equals Student_Course_Registrations : student_id | Student_Course_Attendance : course_id equals Student_Course_Registrations : course_id | Candidates : candidate_id equals People : person_id | Candidate_Assessments : candidate_id equals Candidates : candidate_id
dog_kennels
Breeds : breed_code (text) , breed_name (text) | Charges : charge_id (number) , charge_type (text) , charge_amount (number) | Sizes : size_code (text) , size_description (text) | Treatment_Types : treatment_type_code (text) , treatment_type_description (text) | Owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | Dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | Professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | Treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)
Breeds : breed_code | Charges : charge_id | Sizes : size_code | Treatment_Types : treatment_type_code | Owners : owner_id | Dogs : dog_id | Professionals : professional_id | Treatments : treatment_id
Dogs : owner_id equals Owners : owner_id | Dogs : owner_id equals Owners : owner_id | Dogs : size_code equals Sizes : size_code | Dogs : breed_code equals Breeds : breed_code | Treatments : dog_id equals Dogs : dog_id | Treatments : professional_id equals Professionals : professional_id | Treatments : treatment_type_code equals Treatment_Types : treatment_type_code
music_1
genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)
genre : g_name | artist : artist_name | files : f_id | song : song_name
artist : preferred_genre equals genre : g_name | files : artist_name equals artist : artist_name | song : genre_is equals genre : g_name | song : f_id equals files : f_id | song : artist_name equals artist : artist_name
company_employee
people : People_ID (number) , Age (number) , Name (text) , Nationality (text) , Graduation_College (text) | company : Company_ID (number) , Name (text) , Headquarters (text) , Industry (text) , Sales_in_Billion (number) , Profits_in_Billion (number) , Assets_in_Billion (number) , Market_Value_in_Billion (number) | employment : Company_ID (number) , People_ID (number) , Year_working (number)
people : People_ID | company : Company_ID | employment : Company_ID
employment : People_ID equals people : People_ID | employment : Company_ID equals company : Company_ID
farm
city : City_ID (number) , Official_Name (text) , Status (text) , Area_km_2 (number) , Population (number) , Census_Ranking (text) | farm : Farm_ID (number) , Year (number) , Total_Horses (number) , Working_Horses (number) , Total_Cattle (number) , Oxen (number) , Bulls (number) , Cows (number) , Pigs (number) , Sheep_and_Goats (number) | farm_competition : Competition_ID (number) , Year (number) , Theme (text) , Host_city_ID (number) , Hosts (text) | competition_record : Competition_ID (number) , Farm_ID (number) , Rank (number)
city : City_ID | farm : Farm_ID | farm_competition : Competition_ID | competition_record : Competition_ID
farm_competition : Host_city_ID equals city : City_ID | competition_record : Farm_ID equals farm : Farm_ID | competition_record : Competition_ID equals farm_competition : Competition_ID
solvency_ii
Addresses : Address_ID (number) , address_details (text) | Locations : Location_ID (number) , Other_Details (text) | Products : Product_ID (number) , Product_Type_Code (text) , Product_Name (text) , Product_Price (number) | Parties : Party_ID (number) , Party_Details (text) | Assets : Asset_ID (number) , Other_Details (text) | Channels : Channel_ID (number) , Other_Details (text) | Finances : Finance_ID (number) , Other_Details (text) | Events : Event_ID (number) , Address_ID (number) , Channel_ID (number) , Event_Type_Code (text) , Finance_ID (number) , Location_ID (number) | Products_in_Events : Product_in_Event_ID (number) , Event_ID (number) , Product_ID (number) | Parties_in_Events : Party_ID (number) , Event_ID (number) , Role_Code (text) | Agreements : Document_ID (number) , Event_ID (number) | Assets_in_Events : Asset_ID (number) , Event_ID (number)
Addresses : Address_ID | Locations : Location_ID | Products : Product_ID | Parties : Party_ID | Assets : Asset_ID | Channels : Channel_ID | Finances : Finance_ID | Events : Event_ID | Products_in_Events : Product_in_Event_ID | Parties_in_Events : Party_ID | Agreements : Document_ID | Assets_in_Events : Asset_ID
Events : Finance_ID equals Finances : Finance_ID | Events : Address_ID equals Addresses : Address_ID | Events : Location_ID equals Locations : Location_ID | Products_in_Events : Product_ID equals Products : Product_ID | Products_in_Events : Event_ID equals Events : Event_ID | Parties_in_Events : Event_ID equals Events : Event_ID | Parties_in_Events : Party_ID equals Parties : Party_ID | Agreements : Event_ID equals Events : Event_ID | Assets_in_Events : Event_ID equals Events : Event_ID | Assets_in_Events : Event_ID equals Events : Event_ID
city_record
city : City_ID (number) , City (text) , Hanzi (text) , Hanyu_Pinyin (text) , Regional_Population (number) , GDP (number) | match : Match_ID (number) , Date (text) , Venue (text) , Score (text) , Result (text) , Competition (text) | temperature : City_ID (number) , Jan (number) , Feb (number) , Mar (number) , Apr (number) , Jun (number) , Jul (number) , Aug (number) , Sep (number) , Oct (number) , Nov (number) , Dec (number) | hosting_city : Year (number) , Match_ID (number) , Host_City (text)
city : City_ID | match : Match_ID | temperature : City_ID | hosting_city : Year
temperature : City_ID equals city : City_ID | hosting_city : Match_ID equals match : Match_ID | hosting_city : Host_City equals city : City_ID
swimming
swimmer : ID (number) , name (text) , Nationality (text) , meter_100 (number) , meter_200 (text) , meter_300 (text) , meter_400 (text) , meter_500 (text) , meter_600 (text) , meter_700 (text) , Time (text) | stadium : ID (number) , name (text) , Capacity (number) , City (text) , Country (text) , Opening_year (number) | event : ID (number) , Name (text) , Stadium_ID (number) , Year (text) | record : ID (number) , Result (text) , Swimmer_ID (number) , Event_ID (number)
swimmer : ID | stadium : ID | event : ID | record : Swimmer_ID
event : Stadium_ID equals stadium : ID | record : Swimmer_ID equals swimmer : ID | record : Event_ID equals event : ID
flight_2
airlines : uid (number) , Airline (text) , Abbreviation (text) , Country (text) | airports : City (text) , AirportCode (text) , AirportName (text) , Country (text) , CountryAbbrev (text) | flights : Airline (number) , FlightNo (number) , SourceAirport (text) , DestAirport (text)
airlines : uid | airports : AirportCode | flights : Airline
flights : DestAirport equals airports : AirportCode | flights : SourceAirport equals airports : AirportCode
election
county : County_Id (number) , County_name (text) , Population (number) , Zip_code (text) | party : Party_ID (number) , Year (number) , Party (text) , Governor (text) , Lieutenant_Governor (text) , Comptroller (text) , Attorney_General (text) , US_Senate (text) | election : Election_ID (number) , Counties_Represented (text) , District (number) , Delegate (text) , Party (number) , First_Elected (number) , Committee (text)
county : County_Id | party : Party_ID | election : Election_ID
election : District equals county : County_Id | election : Party equals party : Party_ID
manufactory_1
Manufacturers : Code (number) , Name (text) , Headquarter (text) , Founder (text) , Revenue (number) | Products : Code (number) , Name (text) , Price (number) , Manufacturer (number)
Manufacturers : Code | Products : Code
Products : Manufacturer equals Manufacturers : Code
debate
people : People_ID (number) , District (text) , Name (text) , Party (text) , Age (number) | debate : Debate_ID (number) , Date (text) , Venue (text) , Num_of_Audience (number) | debate_people : Debate_ID (number) , Affirmative (number) , Negative (number) , If_Affirmative_Win (others)
people : People_ID | debate : Debate_ID | debate_people : Debate_ID
debate_people : Negative equals people : People_ID | debate_people : Affirmative equals people : People_ID | debate_people : Debate_ID equals debate : Debate_ID
network_2
Person : name (text) , age (number) , city (text) , gender (text) , job (text) | PersonFriend : name (text) , friend (text) , year (number)
Person : name
PersonFriend : friend equals Person : name | PersonFriend : name equals Person : name
local_govt_in_alabama
Services : Service_ID (number) , Service_Type_Code (text) | Participants : Participant_ID (number) , Participant_Type_Code (text) , Participant_Details (text) | Events : Event_ID (number) , Service_ID (number) , Event_Details (text) | Participants_in_Events : Event_ID (number) , Participant_ID (number)
Services : Service_ID | Participants : Participant_ID | Events : Event_ID | Participants_in_Events : Event_ID
Events : Service_ID equals Services : Service_ID | Participants_in_Events : Event_ID equals Events : Event_ID | Participants_in_Events : Participant_ID equals Participants : Participant_ID
climbing
mountain : Mountain_ID (number) , Name (text) , Height (number) , Prominence (number) , Range (text) , Country (text) | climber : Climber_ID (number) , Name (text) , Country (text) , Time (text) , Points (number) , Mountain_ID (number)
mountain : Mountain_ID | climber : Climber_ID
climber : Mountain_ID equals mountain : Mountain_ID
e_learning
Course_Authors_and_Tutors : author_id (number) , author_tutor_ATB (text) , login_name (text) , password (text) , personal_name (text) , middle_name (text) , family_name (text) , gender_mf (text) , address_line_1 (text) | Students : student_id (number) , date_of_registration (time) , date_of_latest_logon (time) , login_name (text) , password (text) , personal_name (text) , middle_name (text) , family_name (text) | Subjects : subject_id (number) , subject_name (text) | Courses : course_id (number) , author_id (number) , subject_id (number) , course_name (text) , course_description (text) | Student_Course_Enrolment : registration_id (number) , student_id (number) , course_id (number) , date_of_enrolment (time) , date_of_completion (time) | Student_Tests_Taken : registration_id (number) , date_test_taken (time) , test_result (text)
Course_Authors_and_Tutors : author_id | Students : student_id | Subjects : subject_id | Courses : course_id | Student_Course_Enrolment : registration_id
Courses : subject_id equals Subjects : subject_id | Courses : author_id equals Course_Authors_and_Tutors : author_id | Student_Course_Enrolment : student_id equals Students : student_id | Student_Course_Enrolment : course_id equals Courses : course_id | Student_Tests_Taken : registration_id equals Student_Course_Enrolment : registration_id
scientist_1
Scientists : SSN (number) , Name (text) | Projects : Code (text) , Name (text) , Hours (number) | AssignedTo : Scientist (number) , Project (text)
Scientists : SSN | Projects : Code | AssignedTo : Scientist
AssignedTo : Project equals Projects : Code | AssignedTo : Scientist equals Scientists : SSN
ship_1
captain : Captain_ID (number) , Name (text) , Ship_ID (number) , age (text) , Class (text) , Rank (text) | Ship : Ship_ID (number) , Name (text) , Type (text) , Built_Year (number) , Class (text) , Flag (text)
captain : Captain_ID | Ship : Ship_ID
captain : Ship_ID equals Ship : Ship_ID
entertainment_awards
festival_detail : Festival_ID (number) , Festival_Name (text) , Chair_Name (text) , Location (text) , Year (number) , Num_of_Audience (number) | artwork : Artwork_ID (number) , Type (text) , Name (text) | nomination : Artwork_ID (number) , Festival_ID (number) , Result (text)
festival_detail : Festival_ID | artwork : Artwork_ID | nomination : Artwork_ID
nomination : Festival_ID equals festival_detail : Festival_ID | nomination : Artwork_ID equals artwork : Artwork_ID
allergy_1
Allergy_Type : Allergy (text) , AllergyType (text) | Has_Allergy : StuID (number) , Allergy (text) | Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text)
Allergy_Type : Allergy | Student : StuID
Has_Allergy : Allergy equals Allergy_Type : Allergy | Has_Allergy : StuID equals Student : StuID
imdb
actor : aid (number) , gender (text) , name (text) , nationality (text) , birth_city (text) , birth_year (number) | copyright : id (number) , msid (number) , cid (number) | cast : id (number) , msid (number) , aid (number) , role (number) | genre : gid (number) , genre (text) | classification : id (number) , msid (number) , gid (number) | company : id (number) , name (text) , country_code (text) | director : did (number) , gender (text) , name (text) , nationality (text) , birth_city (text) , birth_year (number) | producer : pid (number) , gender (text) , name (text) , nationality (text) , birth_city (text) , birth_year (number) | directed_by : id (number) , msid (number) , did (number) | keyword : id (number) , keyword (text) | made_by : id (number) , msid (number) , pid (number) | movie : mid (number) , title (text) , release_year (number) , title_aka (text) , budget (text) | tags : id (number) , msid (number) , kid (number) | tv_series : sid (number) , title (text) , release_year (number) , num_of_seasons (number) , num_of_episodes (number) , title_aka (text) , budget (text) | writer : wid (number) , gender (text) , name (number) , nationality (number) , num_of_episodes (number) , birth_city (text) , birth_year (number) | written_by : id (number) , msid (number) , wid (number)
actor : aid | copyright : id | cast : id | genre : gid | classification : id | company : id | director : did | producer : pid | directed_by : id | keyword : id | made_by : id | movie : mid | tags : id | tv_series : sid | writer : wid
cast : msid equals copyright : msid | cast : aid equals actor : aid | classification : msid equals copyright : msid | classification : gid equals genre : gid | directed_by : did equals director : did | directed_by : msid equals copyright : msid | made_by : pid equals producer : pid | made_by : msid equals copyright : msid | tags : msid equals copyright : msid | written_by : wid equals writer : wid | written_by : msid equals copyright : msid
products_for_hire
Discount_Coupons : coupon_id (number) , date_issued (time) , coupon_amount (number) | Customers : customer_id (number) , coupon_id (number) , good_or_bad_customer (text) , first_name (text) , last_name (text) , gender_mf (text) , date_became_customer (time) , date_last_hire (time) | Bookings : booking_id (number) , customer_id (number) , booking_status_code (text) , returned_damaged_yn (text) , booking_start_date (time) , booking_end_date (time) , count_hired (text) , amount_payable (number) , amount_of_discount (number) , amount_outstanding (number) , amount_of_refund (number) | Products_for_Hire : product_id (number) , product_type_code (text) , daily_hire_cost (number) , product_name (text) , product_description (text) | Payments : payment_id (number) , booking_id (number) , customer_id (number) , payment_type_code (text) , amount_paid_in_full_yn (text) , payment_date (time) , amount_due (number) , amount_paid (number) | Products_Booked : booking_id (number) , product_id (number) , returned_yn (text) , returned_late_yn (text) , booked_count (number) , booked_amount (number) | View_Product_Availability : product_id (number) , booking_id (number) , status_date (time) , available_yn (text)
Discount_Coupons : coupon_id | Customers : customer_id | Bookings : booking_id | Products_for_Hire : product_id | Payments : payment_id | Products_Booked : booking_id | View_Product_Availability : status_date
Customers : coupon_id equals Discount_Coupons : coupon_id | Bookings : customer_id equals Customers : customer_id | Payments : customer_id equals Customers : customer_id | Payments : booking_id equals Bookings : booking_id | Products_Booked : product_id equals Products_for_Hire : product_id | Products_Booked : booking_id equals Bookings : booking_id | View_Product_Availability : product_id equals Products_for_Hire : product_id | View_Product_Availability : booking_id equals Bookings : booking_id
candidate_poll
candidate : Candidate_ID (number) , People_ID (number) , Poll_Source (text) , Date (text) , Support_rate (number) , Consider_rate (number) , Oppose_rate (number) , Unsure_rate (number) | people : People_ID (number) , Sex (text) , Name (text) , Date_of_Birth (text) , Height (number) , Weight (number)
candidate : Candidate_ID | people : People_ID
candidate : People_ID equals people : People_ID
chinook_1
Album : AlbumId (number) , Title (text) , ArtistId (number) | Artist : ArtistId (number) , Name (text) | Customer : CustomerId (number) , FirstName (text) , LastName (text) , Company (text) , Address (text) , City (text) , State (text) , Country (text) , PostalCode (text) , Phone (text) , Fax (text) , Email (text) , SupportRepId (number) | Employee : EmployeeId (number) , LastName (text) , FirstName (text) , Title (text) , ReportsTo (number) , BirthDate (time) , HireDate (time) , Address (text) , City (text) , State (text) , Country (text) , PostalCode (text) , Phone (text) , Fax (text) , Email (text) | Genre : GenreId (number) , Name (text) | Invoice : InvoiceId (number) , CustomerId (number) , InvoiceDate (time) , BillingAddress (text) , BillingCity (text) , BillingState (text) , BillingCountry (text) , BillingPostalCode (text) , Total (number) | InvoiceLine : InvoiceLineId (number) , InvoiceId (number) , TrackId (number) , UnitPrice (number) , Quantity (number) | MediaType : MediaTypeId (number) , Name (text) | Playlist : PlaylistId (number) , Name (text) | PlaylistTrack : PlaylistId (number) , TrackId (number) | Track : TrackId (number) , Name (text) , AlbumId (number) , MediaTypeId (number) , GenreId (number) , Composer (text) , Milliseconds (number) , Bytes (number) , UnitPrice (number)
Album : AlbumId | Artist : ArtistId | Customer : CustomerId | Employee : EmployeeId | Genre : GenreId | Invoice : InvoiceId | InvoiceLine : InvoiceLineId | MediaType : MediaTypeId | Playlist : PlaylistId | PlaylistTrack : PlaylistId | Track : TrackId
Album : ArtistId equals Artist : ArtistId | Customer : SupportRepId equals Employee : EmployeeId | Employee : ReportsTo equals Employee : EmployeeId | Invoice : CustomerId equals Customer : CustomerId | InvoiceLine : TrackId equals Track : TrackId | InvoiceLine : InvoiceId equals Invoice : InvoiceId | PlaylistTrack : TrackId equals Track : TrackId | PlaylistTrack : PlaylistId equals Playlist : PlaylistId | Track : MediaTypeId equals MediaType : MediaTypeId | Track : GenreId equals Genre : GenreId | Track : AlbumId equals Album : AlbumId
flight_4
routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text)
routes : rid | airports : apid | airlines : alid
routes : alid equals airlines : alid | routes : src_apid equals airports : apid | routes : dst_apid equals airports : apid
pets_1
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Has_Pet : StuID (number) , PetID (number) | Pets : PetID (number) , PetType (text) , pet_age (number) , weight (number)
Student : StuID | Pets : PetID
Has_Pet : StuID equals Student : StuID | Has_Pet : PetID equals Pets : PetID
dorm_1
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Dorm : dormid (number) , dorm_name (text) , student_capacity (number) , gender (text) | Dorm_amenity : amenid (number) , amenity_name (text) | Has_amenity : dormid (number) , amenid (number) | Lives_in : stuid (number) , dormid (number) , room_number (number)
Student : StuID
Has_amenity : amenid equals Dorm_amenity : amenid | Has_amenity : dormid equals Dorm : dormid | Lives_in : dormid equals Dorm : dormid | Lives_in : stuid equals Student : StuID
journal_committee
journal : Journal_ID (number) , Date (text) , Theme (text) , Sales (number) | editor : Editor_ID (number) , Name (text) , Age (number) | journal_committee : Editor_ID (number) , Journal_ID (number) , Work_Type (text)
journal : Journal_ID | editor : Editor_ID | journal_committee : Editor_ID
journal_committee : Journal_ID equals journal : Journal_ID | journal_committee : Editor_ID equals editor : Editor_ID
flight_1
flight : flno (number) , origin (text) , destination (text) , distance (number) , departure_date (time) , arrival_date (time) , price (number) , aid (number) | aircraft : aid (number) , name (text) , distance (number) | employee : eid (number) , name (text) , salary (number) | certificate : eid (number) , aid (number)
flight : flno | aircraft : aid | employee : eid | certificate : eid
flight : aid equals aircraft : aid | certificate : aid equals aircraft : aid | certificate : eid equals employee : eid
medicine_enzyme_interaction
medicine : id (number) , name (text) , Trade_Name (text) , FDA_approved (text) | enzyme : id (number) , name (text) , Location (text) , Product (text) , Chromosome (text) , OMIM (number) , Porphyria (text) | medicine_enzyme_interaction : enzyme_id (number) , medicine_id (number) , interaction_type (text)
medicine : id | enzyme : id | medicine_enzyme_interaction : enzyme_id
medicine_enzyme_interaction : medicine_id equals medicine : id | medicine_enzyme_interaction : enzyme_id equals enzyme : id
local_govt_and_lot
Customers : customer_id (number) , customer_details (text) | Properties : property_id (number) , property_type_code (text) , property_address (text) , other_details (text) | Residents : resident_id (number) , property_id (number) , date_moved_in (time) , date_moved_out (time) , other_details (text) | Organizations : organization_id (number) , parent_organization_id (number) , organization_details (text) | Services : service_id (number) , organization_id (number) , service_type_code (text) , service_details (text) | Residents_Services : resident_id (number) , service_id (number) , date_moved_in (time) , property_id (number) , date_requested (time) , date_provided (time) , other_details (text) | Things : thing_id (number) , organization_id (number) , Type_of_Thing_Code (text) , service_type_code (text) , service_details (text) | Customer_Events : Customer_Event_ID (number) , customer_id (number) , date_moved_in (time) , property_id (number) , resident_id (number) , thing_id (number) | Customer_Event_Notes : Customer_Event_Note_ID (number) , Customer_Event_ID (number) , service_type_code (text) , resident_id (number) , property_id (number) , date_moved_in (time) | Timed_Status_of_Things : thing_id (number) , Date_and_Date (time) , Status_of_Thing_Code (text) | Timed_Locations_of_Things : thing_id (number) , Date_and_Time (time) , Location_Code (text)
Customers : customer_id | Properties : property_id | Residents : resident_id | Organizations : organization_id | Services : service_id | Residents_Services : resident_id | Things : thing_id | Customer_Events : Customer_Event_ID | Customer_Event_Notes : Customer_Event_Note_ID | Timed_Status_of_Things : thing_id | Timed_Locations_of_Things : thing_id
Residents : property_id equals Properties : property_id | Services : organization_id equals Organizations : organization_id | Residents_Services : resident_id equals Residents : resident_id | Residents_Services : property_id equals Residents : property_id | Residents_Services : date_moved_in equals Residents : date_moved_in | Residents_Services : service_id equals Services : service_id | Things : organization_id equals Organizations : organization_id | Customer_Events : resident_id equals Residents : resident_id | Customer_Events : property_id equals Residents : property_id | Customer_Events : date_moved_in equals Residents : date_moved_in | Customer_Events : customer_id equals Customers : customer_id | Customer_Events : thing_id equals Things : thing_id | Customer_Event_Notes : Customer_Event_ID equals Customer_Events : Customer_Event_ID | Timed_Status_of_Things : thing_id equals Things : thing_id | Timed_Locations_of_Things : thing_id equals Things : thing_id
station_weather
train : id (number) , train_number (number) , name (text) , origin (text) , destination (text) , time (text) , interval (text) | station : id (number) , network_name (text) , services (text) , local_authority (text) | route : train_id (number) , station_id (number) | weekly_weather : station_id (number) , day_of_week (text) , high_temperature (number) , low_temperature (number) , precipitation (number) , wind_speed_mph (number)
train : id | station : id | route : train_id | weekly_weather : station_id
route : station_id equals station : id | route : train_id equals train : id | weekly_weather : station_id equals station : id
shop_membership
member : Member_ID (number) , Card_Number (text) , Name (text) , Hometown (text) , Level (number) | branch : Branch_ID (number) , Name (text) , Open_year (text) , Address_road (text) , City (text) , membership_amount (text) | membership_register_branch : Member_ID (number) , Branch_ID (text) , Register_Year (text) | purchase : Member_ID (number) , Branch_ID (text) , Year (text) , Total_pounds (number)
member : Member_ID | branch : Branch_ID | membership_register_branch : Member_ID | purchase : Member_ID
membership_register_branch : Branch_ID equals branch : Branch_ID | membership_register_branch : Member_ID equals member : Member_ID | purchase : Branch_ID equals branch : Branch_ID | purchase : Member_ID equals member : Member_ID
driving_school
Addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | Staff : staff_id (number) , staff_address_id (number) , nickname (text) , first_name (text) , middle_name (text) , last_name (text) , date_of_birth (time) , date_joined_staff (time) , date_left_staff (time) | Vehicles : vehicle_id (number) , vehicle_details (text) | Customers : customer_id (number) , customer_address_id (number) , customer_status_code (text) , date_became_customer (time) , date_of_birth (time) , first_name (text) , last_name (text) , amount_outstanding (number) , email_address (text) , phone_number (text) , cell_mobile_phone_number (text) | Customer_Payments : customer_id (number) , datetime_payment (time) , payment_method_code (text) , amount_payment (number) | Lessons : lesson_id (number) , customer_id (number) , lesson_status_code (text) , staff_id (number) , vehicle_id (number) , lesson_date (time) , lesson_time (text) , price (number)
Addresses : address_id | Staff : staff_id | Vehicles : vehicle_id | Customers : customer_id | Customer_Payments : customer_id | Lessons : lesson_id
Staff : staff_address_id equals Addresses : address_id | Customers : customer_address_id equals Addresses : address_id | Customer_Payments : customer_id equals Customers : customer_id | Lessons : customer_id equals Customers : customer_id | Lessons : staff_id equals Staff : staff_id | Lessons : vehicle_id equals Vehicles : vehicle_id
concert_singer
stadium : Stadium_ID (number) , Location (text) , Name (text) , Capacity (number) , Highest (number) , Lowest (number) , Average (number) | singer : Singer_ID (number) , Name (text) , Country (text) , Song_Name (text) , Song_release_year (text) , Age (number) , Is_male (others) | concert : concert_ID (number) , concert_Name (text) , Theme (text) , Stadium_ID (text) , Year (text) | singer_in_concert : concert_ID (number) , Singer_ID (text)
stadium : Stadium_ID | singer : Singer_ID | concert : concert_ID | singer_in_concert : concert_ID
concert : Stadium_ID equals stadium : Stadium_ID | singer_in_concert : Singer_ID equals singer : Singer_ID | singer_in_concert : concert_ID equals concert : concert_ID
music_2
Songs : SongId (number) , Title (text) | Albums : AId (number) , Title (text) , Year (number) , Label (text) , Type (text) | Band : Id (number) , Firstname (text) , Lastname (text) | Instruments : SongId (number) , BandmateId (number) , Instrument (text) | Performance : SongId (number) , Bandmate (number) , StagePosition (text) | Tracklists : AlbumId (number) , Position (number) , SongId (number) | Vocals : SongId (number) , Bandmate (number) , Type (text)
Songs : SongId | Albums : AId | Band : Id | Instruments : SongId | Performance : SongId | Tracklists : AlbumId | Vocals : SongId
Instruments : BandmateId equals Band : Id | Instruments : SongId equals Songs : SongId | Performance : Bandmate equals Band : Id | Performance : SongId equals Songs : SongId | Tracklists : AlbumId equals Albums : AId | Tracklists : SongId equals Songs : SongId | Vocals : Bandmate equals Band : Id | Vocals : SongId equals Songs : SongId
sports_competition
club : Club_ID (number) , name (text) , Region (text) , Start_year (text) | club_rank : Rank (number) , Club_ID (number) , Gold (number) , Silver (number) , Bronze (number) , Total (number) | player : Player_ID (number) , name (text) , Position (text) , Club_ID (number) , Apps (number) , Tries (number) , Goals (text) , Points (number) | competition : Competition_ID (number) , Year (number) , Competition_type (text) , Country (text) | competition_result : Competition_ID (number) , Club_ID_1 (number) , Club_ID_2 (number) , Score (text)
club : Club_ID | club_rank : Rank | player : Player_ID | competition : Competition_ID | competition_result : Competition_ID
club_rank : Club_ID equals club : Club_ID | player : Club_ID equals club : Club_ID | competition_result : Competition_ID equals competition : Competition_ID | competition_result : Club_ID_2 equals club : Club_ID | competition_result : Club_ID_1 equals club : Club_ID
railway
railway : Railway_ID (number) , Railway (text) , Builder (text) , Built (text) , Wheels (text) , Location (text) , ObjectNumber (text) | train : Train_ID (number) , Train_Num (text) , Name (text) , From (text) , Arrival (text) , Railway_ID (number) | manager : Manager_ID (number) , Name (text) , Country (text) , Working_year_starts (text) , Age (number) , Level (number) | railway_manage : Railway_ID (number) , Manager_ID (number) , From_Year (text)
railway : Railway_ID | train : Train_ID | manager : Manager_ID | railway_manage : Railway_ID
train : Railway_ID equals railway : Railway_ID | railway_manage : Railway_ID equals railway : Railway_ID | railway_manage : Manager_ID equals manager : Manager_ID
inn_1
Rooms : RoomId (text) , roomName (text) , beds (number) , bedType (text) , maxOccupancy (number) , basePrice (number) , decor (text) | Reservations : Code (number) , Room (text) , CheckIn (text) , CheckOut (text) , Rate (number) , LastName (text) , FirstName (text) , Adults (number) , Kids (number)
Rooms : RoomId | Reservations : Code
Reservations : Room equals Rooms : RoomId
museum_visit
museum : Museum_ID (number) , Name (text) , Num_of_Staff (number) , Open_Year (text) | visitor : ID (number) , Name (text) , Level_of_membership (number) , Age (number) | visit : Museum_ID (number) , visitor_ID (text) , Num_of_Ticket (number) , Total_spent (number)
museum : Museum_ID | visitor : ID | visit : Museum_ID
visit : visitor_ID equals visitor : ID | visit : Museum_ID equals museum : Museum_ID
browser_web
Web_client_accelerator : id (number) , name (text) , Operating_system (text) , Client (text) , Connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)
Web_client_accelerator : id | browser : id | accelerator_compatible_browser : accelerator_id
accelerator_compatible_browser : browser_id equals browser : id | accelerator_compatible_browser : accelerator_id equals Web_client_accelerator : id
baseball_1
all_star : player_id (text) , year (number) , game_num (number) , game_id (text) , team_id (text) , league_id (text) , gp (number) , starting_pos (number) | appearances : year (number) , team_id (text) , league_id (text) , player_id (text) , g_all (number) , gs (number) , g_batting (number) , g_defense (number) , g_p (number) , g_c (number) , g_1b (number) , g_2b (number) , g_3b (number) , g_ss (number) , g_lf (number) , g_cf (number) , g_rf (number) , g_of (number) , g_dh (number) , g_ph (number) , g_pr (number) | manager_award : player_id (text) , award_id (text) , year (number) , league_id (text) , tie (text) , notes (number) | player_award : player_id (text) , award_id (text) , year (number) , league_id (text) , tie (text) , notes (text) | manager_award_vote : award_id (text) , year (number) , league_id (text) , player_id (text) , points_won (number) , points_max (number) , votes_first (number) | player_award_vote : award_id (text) , year (number) , league_id (text) , player_id (text) , points_won (number) , points_max (number) , votes_first (number) | batting : player_id (text) , year (number) , stint (number) , team_id (text) , league_id (text) , g (number) , ab (number) , r (number) , h (number) , double (number) , triple (number) , hr (number) , rbi (number) , sb (number) , cs (number) , bb (number) , so (number) , ibb (number) , hbp (number) , sh (number) , sf (number) , g_idp (number) | batting_postseason : year (number) , round (text) , player_id (text) , team_id (text) , league_id (text) , g (number) , ab (number) , r (number) , h (number) , double (number) , triple (number) , hr (number) , rbi (number) , sb (number) , cs (number) , bb (number) , so (number) , ibb (number) , hbp (number) , sh (number) , sf (number) , g_idp (number) | player_college : player_id (text) , college_id (text) , year (number) | fielding : player_id (text) , year (number) , stint (number) , team_id (text) , league_id (text) , pos (text) , g (number) , gs (number) , inn_outs (number) , po (number) , a (number) , e (number) , dp (number) , pb (number) , wp (number) , sb (number) , cs (number) , zr (number) | fielding_outfield : player_id (text) , year (number) , stint (number) , glf (number) , gcf (number) , grf (number) | fielding_postseason : player_id (text) , year (number) , team_id (text) , league_id (text) , round (text) , pos (text) , g (number) , gs (number) , inn_outs (number) , po (number) , a (number) , e (number) , dp (number) , tp (number) , pb (number) , sb (number) , cs (number) | hall_of_fame : player_id (text) , yearid (number) , votedby (text) , ballots (number) , needed (number) , votes (number) , inducted (text) , category (text) , needed_note (text) | home_game : year (number) , league_id (text) , team_id (text) , park_id (text) , span_first (text) , span_last (text) , games (number) , openings (number) , attendance (number) | manager : player_id (text) , year (number) , team_id (text) , league_id (text) , inseason (number) , g (number) , w (number) , l (number) , rank (number) , plyr_mgr (text) | manager_half : player_id (text) , year (number) , team_id (text) , league_id (text) , inseason (number) , half (number) , g (number) , w (number) , l (number) , rank (number) | player : player_id (text) , birth_year (number) , birth_month (number) , birth_day (number) , birth_country (text) , birth_state (text) , birth_city (text) , death_year (number) , death_month (number) , death_day (number) , death_country (text) , death_state (text) , death_city (text) , name_first (text) , name_last (text) , name_given (text) , weight (number) , height (number) , bats (text) , throws (text) , debut (text) , final_game (text) , retro_id (text) , bbref_id (text) | park : park_id (text) , park_name (text) , park_alias (text) , city (text) , state (text) , country (text) | pitching : player_id (text) , year (number) , stint (number) , team_id (text) , league_id (text) , w (number) , l (number) , g (number) , gs (number) , cg (number) , sho (number) , sv (number) , ipouts (number) , h (number) , er (number) , hr (number) , bb (number) , so (number) , baopp (number) , era (number) , ibb (number) , wp (number) , hbp (number) , bk (number) , bfp (number) , gf (number) , r (number) , sh (number) , sf (number) , g_idp (number) | pitching_postseason : player_id (text) , year (number) , round (text) , team_id (text) , league_id (text) , w (number) , l (number) , g (number) , gs (number) , cg (number) , sho (number) , sv (number) , ipouts (number) , h (number) , er (number) , hr (number) , bb (number) , so (number) , baopp (text) , era (number) , ibb (number) , wp (number) , hbp (number) , bk (number) , bfp (number) , gf (number) , r (number) , sh (number) , sf (number) , g_idp (number) | salary : year (number) , team_id (text) , league_id (text) , player_id (text) , salary (number) | college : college_id (text) , name_full (text) , city (text) , state (text) , country (text) | postseason : year (number) , round (text) , team_id_winner (text) , league_id_winner (text) , team_id_loser (text) , league_id_loser (text) , wins (number) , losses (number) , ties (number) | team : year (number) , league_id (text) , team_id (text) , franchise_id (text) , div_id (text) , rank (number) , g (number) , ghome (number) , w (number) , l (number) , div_win (text) , wc_win (text) , lg_win (text) , ws_win (text) , r (number) , ab (number) , h (number) , double (number) , triple (number) , hr (number) , bb (number) , so (number) , sb (number) , cs (number) , hbp (number) , sf (number) , ra (number) , er (number) , era (number) , cg (number) , sho (number) , sv (number) , ipouts (number) , ha (number) , hra (number) , bba (number) , soa (number) , e (number) , dp (number) , fp (number) , name (text) , park (text) , attendance (number) , bpf (number) , ppf (number) , team_id_br (text) , team_id_lahman45 (text) , team_id_retro (text) | team_franchise : franchise_id (text) , franchise_name (text) , active (text) , na_assoc (text) | team_half : year (number) , league_id (text) , team_id (text) , half (number) , div_id (text) , div_win (text) , rank (number) , g (number) , w (number) , l (number)
all_star : player_id equals player : player_id | appearances : player_id equals player : player_id | appearances : team_id equals team : team_id | manager_award : player_id equals player : player_id | player_award : player_id equals player : player_id | player_award_vote : player_id equals player : player_id | batting : player_id equals player : player_id | batting_postseason : team_id equals team : team_id | batting_postseason : player_id equals player : player_id | player_college : college_id equals college : college_id | player_college : player_id equals player : player_id | fielding : player_id equals player : player_id | fielding_outfield : player_id equals player : player_id | fielding_postseason : player_id equals player : player_id | hall_of_fame : player_id equals player : player_id | home_game : park_id equals park : park_id | home_game : team_id equals team : team_id | manager : team_id equals team : team_id | manager_half : team_id equals team : team_id
architecture
architect : id (text) , name (text) , nationality (text) , gender (text) | bridge : architect_id (number) , id (number) , name (text) , location (text) , length_meters (number) , length_feet (number) | mill : architect_id (number) , id (number) , location (text) , name (text) , type (text) , built_year (number) , notes (text)
architect : id | bridge : id | mill : id
bridge : architect_id equals architect : id | mill : architect_id equals architect : id
csu_1
Campuses : Id (number) , Campus (text) , Location (text) , County (text) , Year (number) | csu_fees : Campus (number) , Year (number) , CampusFee (number) | degrees : Year (number) , Campus (number) , Degrees (number) | discipline_enrollments : Campus (number) , Discipline (number) , Year (number) , Undergraduate (number) , Graduate (number) | enrollments : Campus (number) , Year (number) , TotalEnrollment_AY (number) , FTE_AY (number) | faculty : Campus (number) , Year (number) , Faculty (number)
Campuses : Id | csu_fees : Campus | degrees : Year | discipline_enrollments : Campus | enrollments : Campus
csu_fees : Campus equals Campuses : Id | degrees : Campus equals Campuses : Id | discipline_enrollments : Campus equals Campuses : Id | enrollments : Campus equals Campuses : Id | faculty : Campus equals Campuses : Id
tracking_orders
Customers : customer_id (number) , customer_name (text) , customer_details (text) | Invoices : invoice_number (number) , invoice_date (time) , invoice_details (text) | Orders : order_id (number) , customer_id (number) , order_status (text) , date_order_placed (time) , order_details (text) | Products : product_id (number) , product_name (text) , product_details (text) | Order_Items : order_item_id (number) , product_id (number) , order_id (number) , order_item_status (text) , order_item_details (text) | Shipments : shipment_id (number) , order_id (number) , invoice_number (number) , shipment_tracking_number (text) , shipment_date (time) , other_shipment_details (text) | Shipment_Items : shipment_id (number) , order_item_id (number)
Customers : customer_id | Invoices : invoice_number | Orders : order_id | Products : product_id | Order_Items : order_item_id | Shipments : shipment_id
Orders : customer_id equals Customers : customer_id | Order_Items : product_id equals Products : product_id | Order_Items : order_id equals Orders : order_id | Shipments : invoice_number equals Invoices : invoice_number | Shipments : order_id equals Orders : order_id | Shipment_Items : shipment_id equals Shipments : shipment_id | Shipment_Items : order_item_id equals Order_Items : order_item_id
insurance_policies
Customers : Customer_ID (number) , Customer_Details (text) | Customer_Policies : Policy_ID (number) , Customer_ID (number) , Policy_Type_Code (text) , Start_Date (time) , End_Date (time) | Claims : Claim_ID (number) , Policy_ID (number) , Date_Claim_Made (time) , Date_Claim_Settled (time) , Amount_Claimed (number) , Amount_Settled (number) | Settlements : Settlement_ID (number) , Claim_ID (number) , Date_Claim_Made (time) , Date_Claim_Settled (time) , Amount_Claimed (number) , Amount_Settled (number) , Customer_Policy_ID (number) | Payments : Payment_ID (number) , Settlement_ID (number) , Payment_Method_Code (text) , Date_Payment_Made (time) , Amount_Payment (number)
Customers : Customer_ID | Customer_Policies : Policy_ID | Claims : Claim_ID | Settlements : Settlement_ID | Payments : Payment_ID
Customer_Policies : Customer_ID equals Customers : Customer_ID | Claims : Policy_ID equals Customer_Policies : Policy_ID | Settlements : Claim_ID equals Claims : Claim_ID | Payments : Settlement_ID equals Settlements : Settlement_ID
gas_company
company : Company_ID (number) , Rank (number) , Company (text) , Headquarters (text) , Main_Industry (text) , Sales_billion (number) , Profits_billion (number) , Assets_billion (number) , Market_Value (number) | gas_station : Station_ID (number) , Open_Year (number) , Location (text) , Manager_Name (text) , Vice_Manager_Name (text) , Representative_Name (text) | station_company : Station_ID (number) , Company_ID (number) , Rank_of_the_Year (number)
company : Company_ID | gas_station : Station_ID | station_company : Station_ID
station_company : Company_ID equals company : Company_ID | station_company : Station_ID equals gas_station : Station_ID
e_government
Addresses : address_id (number) , line_1_number_building (text) , town_city (text) , zip_postcode (text) , state_province_county (text) , country (text) | Services : service_id (number) , service_type_code (text) , service_name (text) , service_descriptio (text) | Forms : form_id (number) , form_type_code (text) , service_id (number) , form_number (text) , form_name (text) , form_description (text) | Individuals : individual_id (number) , individual_first_name (text) , individual_middle_name (text) , inidividual_phone (text) , individual_email (text) , individual_address (text) , individual_last_name (text) | Organizations : organization_id (number) , date_formed (time) , organization_name (text) , uk_vat_number (text) | Parties : party_id (number) , payment_method_code (text) , party_phone (text) , party_email (text) | Organization_Contact_Individuals : individual_id (number) , organization_id (number) , date_contact_from (time) , date_contact_to (time) | Party_Addresses : party_id (number) , address_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | Party_Forms : party_id (number) , form_id (number) , date_completion_started (time) , form_status_code (text) , date_fully_completed (time) | Party_Services : booking_id (number) , customer_id (number) , service_id (number) , service_datetime (time) , booking_made_date (time)
Addresses : address_id | Services : service_id | Forms : form_id | Individuals : individual_id | Organizations : organization_id | Parties : party_id | Organization_Contact_Individuals : individual_id | Party_Addresses : party_id | Party_Forms : party_id
Forms : service_id equals Services : service_id | Organization_Contact_Individuals : individual_id equals Individuals : individual_id | Organization_Contact_Individuals : organization_id equals Organizations : organization_id | Party_Addresses : party_id equals Parties : party_id | Party_Addresses : address_id equals Addresses : address_id | Party_Forms : form_id equals Forms : form_id | Party_Forms : party_id equals Parties : party_id | Party_Services : customer_id equals Parties : party_id | Party_Services : service_id equals Services : service_id
school_bus
driver : Driver_ID (number) , Name (text) , Party (text) , Home_city (text) , Age (number) | school : School_ID (number) , Grade (text) , School (text) , Location (text) , Type (text) | school_bus : School_ID (number) , Driver_ID (number) , Years_Working (number) , If_full_time (others)
driver : Driver_ID | school : School_ID | school_bus : School_ID
school_bus : Driver_ID equals driver : Driver_ID | school_bus : School_ID equals school : School_ID
machine_repair
repair : repair_ID (number) , name (text) , Launch_Date (text) , Notes (text) | machine : Machine_ID (number) , Making_Year (number) , Class (text) , Team (text) , Machine_series (text) , value_points (number) , quality_rank (number) | technician : technician_id (number) , Name (text) , Team (text) , Starting_Year (number) , Age (number) | repair_assignment : technician_id (number) , repair_ID (number) , Machine_ID (number)
repair : repair_ID | machine : Machine_ID | technician : technician_id | repair_assignment : technician_id
repair_assignment : Machine_ID equals machine : Machine_ID | repair_assignment : repair_ID equals repair : repair_ID | repair_assignment : technician_id equals technician : technician_id
theme_gallery
artist : Artist_ID (number) , Name (text) , Country (text) , Year_Join (number) , Age (number) | exhibition : Exhibition_ID (number) , Year (number) , Theme (text) , Artist_ID (number) , Ticket_Price (number) | exhibition_record : Exhibition_ID (number) , Date (text) , Attendance (number)
artist : Artist_ID | exhibition : Exhibition_ID | exhibition_record : Exhibition_ID
exhibition : Artist_ID equals artist : Artist_ID | exhibition_record : Exhibition_ID equals exhibition : Exhibition_ID
film_rank
film : Film_ID (number) , Title (text) , Studio (text) , Director (text) , Gross_in_dollar (number) | market : Market_ID (number) , Country (text) , Number_cities (number) | film_market_estimation : Estimation_ID (number) , Low_Estimate (number) , High_Estimate (number) , Film_ID (number) , Type (text) , Market_ID (number) , Year (number)
film : Film_ID | market : Market_ID | film_market_estimation : Estimation_ID
film_market_estimation : Market_ID equals market : Market_ID | film_market_estimation : Film_ID equals film : Film_ID
party_people
region : Region_ID (number) , Region_name (text) , Date (text) , Label (text) , Format (text) , Catalogue (text) | party : Party_ID (number) , Minister (text) , Took_office (text) , Left_office (text) , Region_ID (number) , Party_name (text) | member : Member_ID (number) , Member_Name (text) , Party_ID (text) , In_office (text) | party_events : Event_ID (number) , Event_Name (text) , Party_ID (number) , Member_in_charge_ID (number)
region : Region_ID | party : Party_ID | member : Member_ID | party_events : Event_ID
party : Region_ID equals region : Region_ID | member : Party_ID equals party : Party_ID | party_events : Member_in_charge_ID equals member : Member_ID | party_events : Party_ID equals party : Party_ID
hospital_1
Physician : EmployeeID (number) , Name (text) , Position (text) , SSN (number) | Department : DepartmentID (number) , Name (text) , Head (number) | Affiliated_With : Physician (number) , Department (number) , PrimaryAffiliation (boolean) | Procedures : Code (number) , Name (text) , Cost (number) | Trained_In : Physician (number) , Treatment (number) , CertificationDate (time) , CertificationExpires (time) | Patient : SSN (number) , Name (text) , Address (text) , Phone (text) , InsuranceID (number) , PCP (number) | Nurse : EmployeeID (number) , Name (text) , Position (text) , Registered (boolean) , SSN (number) | Appointment : AppointmentID (number) , Patient (number) , PrepNurse (number) , Physician (number) , Start (time) , End (time) , ExaminationRoom (text) | Medication : Code (number) , Name (text) , Brand (text) , Description (text) | Prescribes : Physician (number) , Patient (number) , Medication (number) , Date (time) , Appointment (number) , Dose (text) | Block : BlockFloor (number) , BlockCode (number) | Room : RoomNumber (number) , RoomType (text) , BlockFloor (number) , BlockCode (number) , Unavailable (boolean) | On_Call : Nurse (number) , BlockFloor (number) , BlockCode (number) , OnCallStart (time) , OnCallEnd (time) | Stay : StayID (number) , Patient (number) , Room (number) , StayStart (time) , StayEnd (time) | Undergoes : Patient (number) , Procedures (number) , Stay (number) , DateUndergoes (time) , Physician (number) , AssistingNurse (number)
Physician : EmployeeID | Department : DepartmentID | Affiliated_With : Physician | Procedures : Code | Trained_In : Physician | Patient : SSN | Nurse : EmployeeID | Appointment : AppointmentID | Medication : Code | Prescribes : Physician | Block : BlockFloor | Room : RoomNumber | On_Call : Nurse | Stay : StayID | Undergoes : Patient
Department : Head equals Physician : EmployeeID | Affiliated_With : Department equals Department : DepartmentID | Affiliated_With : Physician equals Physician : EmployeeID | Trained_In : Treatment equals Procedures : Code | Trained_In : Physician equals Physician : EmployeeID | Patient : PCP equals Physician : EmployeeID | Appointment : Physician equals Physician : EmployeeID | Appointment : PrepNurse equals Nurse : EmployeeID | Appointment : Patient equals Patient : SSN | Prescribes : Appointment equals Appointment : AppointmentID | Prescribes : Medication equals Medication : Code | Prescribes : Patient equals Patient : SSN | Prescribes : Physician equals Physician : EmployeeID | Room : BlockFloor equals Block : BlockFloor | Room : BlockCode equals Block : BlockCode | On_Call : BlockFloor equals Block : BlockFloor | On_Call : BlockCode equals Block : BlockCode | On_Call : Nurse equals Nurse : EmployeeID | Stay : Room equals Room : RoomNumber | Stay : Patient equals Patient : SSN | Undergoes : AssistingNurse equals Nurse : EmployeeID | Undergoes : Physician equals Physician : EmployeeID | Undergoes : Stay equals Stay : StayID | Undergoes : Procedures equals Procedures : Code | Undergoes : Patient equals Patient : SSN
customers_campaigns_ecommerce
Premises : premise_id (number) , premises_type (text) , premise_details (text) | Products : product_id (number) , product_category (text) , product_name (text) | Customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , customer_address (text) , customer_login (text) , customer_password (text) | Mailshot_Campaigns : mailshot_id (number) , product_category (text) , mailshot_name (text) , mailshot_start_date (time) , mailshot_end_date (time) | Customer_Addresses : customer_id (number) , premise_id (number) , date_address_from (time) , address_type_code (text) , date_address_to (time) | Customer_Orders : order_id (number) , customer_id (number) , order_status_code (text) , shipping_method_code (text) , order_placed_datetime (time) , order_delivered_datetime (time) , order_shipping_charges (text) | Mailshot_Customers : mailshot_id (number) , customer_id (number) , outcome_code (text) , mailshot_customer_date (time) | Order_Items : item_id (number) , order_item_status_code (text) , order_id (number) , product_id (number) , item_status_code (text) , item_delivered_datetime (time) , item_order_quantity (text)
Premises : premise_id | Products : product_id | Customers : customer_id | Mailshot_Campaigns : mailshot_id | Customer_Orders : order_id
Customer_Addresses : customer_id equals Customers : customer_id | Customer_Addresses : premise_id equals Premises : premise_id | Customer_Orders : customer_id equals Customers : customer_id | Mailshot_Customers : mailshot_id equals Mailshot_Campaigns : mailshot_id | Mailshot_Customers : customer_id equals Customers : customer_id | Order_Items : order_id equals Customer_Orders : order_id | Order_Items : product_id equals Products : product_id
gymnast
gymnast : Gymnast_ID (number) , Floor_Exercise_Points (number) , Pommel_Horse_Points (number) , Rings_Points (number) , Vault_Points (number) , Parallel_Bars_Points (number) , Horizontal_Bar_Points (number) , Total_Points (number) | people : People_ID (number) , Name (text) , Age (number) , Height (number) , Hometown (text)
gymnast : Gymnast_ID | people : People_ID
gymnast : Gymnast_ID equals people : People_ID
restaurants
GEOGRAPHIC : CITY_NAME (text) , COUNTY (text) , REGION (text) | RESTAURANT : ID (number) , NAME (text) , FOOD_TYPE (text) , CITY_NAME (text) , RATING (number) | LOCATION : RESTAURANT_ID (number) , HOUSE_NUMBER (number) , STREET_NAME (text) , CITY_NAME (text)
GEOGRAPHIC : CITY_NAME | RESTAURANT : ID | LOCATION : RESTAURANT_ID
RESTAURANT : CITY_NAME equals GEOGRAPHIC : CITY_NAME | LOCATION : CITY_NAME equals GEOGRAPHIC : CITY_NAME
mountain_photos
mountain : id (number) , name (text) , Height (number) , Prominence (number) , Range (text) , Country (text) | camera_lens : id (number) , brand (text) , name (text) , focal_length_mm (number) , max_aperture (number) | photos : id (number) , camera_lens_id (number) , mountain_id (number) , color (text) , name (text)
mountain : id | camera_lens : id | photos : id
photos : mountain_id equals mountain : id | photos : camera_lens_id equals camera_lens : id
battle_death
battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)
battle : id | ship : id | death : id
ship : lost_in_battle equals battle : id | death : caused_by_ship_id equals ship : id
cre_Doc_Control_Systems
Ref_Document_Types : document_type_code (text) , document_type_description (text) | Roles : role_code (text) , role_description (text) | Addresses : address_id (number) , address_details (text) | Ref_Document_Status : document_status_code (text) , document_status_description (text) | Ref_Shipping_Agents : shipping_agent_code (text) , shipping_agent_name (text) , shipping_agent_description (text) | Documents : document_id (number) , document_status_code (text) , document_type_code (text) , shipping_agent_code (text) , receipt_date (time) , receipt_number (text) , other_details (text) | Employees : employee_id (number) , role_code (text) , employee_name (text) , other_details (text) | Document_Drafts : document_id (number) , draft_number (number) , draft_details (text) | Draft_Copies : document_id (number) , draft_number (number) , copy_number (number) | Circulation_History : document_id (number) , draft_number (number) , copy_number (number) , employee_id (number) | Documents_Mailed : document_id (number) , mailed_to_address_id (number) , mailing_date (time)
Ref_Document_Types : document_type_code | Roles : role_code | Addresses : address_id | Ref_Document_Status : document_status_code | Ref_Shipping_Agents : shipping_agent_code | Documents : document_id | Employees : employee_id | Document_Drafts : document_id | Draft_Copies : document_id | Circulation_History : document_id | Documents_Mailed : document_id
Documents : shipping_agent_code equals Ref_Shipping_Agents : shipping_agent_code | Documents : document_status_code equals Ref_Document_Status : document_status_code | Documents : document_type_code equals Ref_Document_Types : document_type_code | Employees : role_code equals Roles : role_code | Document_Drafts : document_id equals Documents : document_id | Draft_Copies : document_id equals Document_Drafts : document_id | Draft_Copies : draft_number equals Document_Drafts : draft_number | Circulation_History : employee_id equals Employees : employee_id | Circulation_History : document_id equals Draft_Copies : document_id | Circulation_History : draft_number equals Draft_Copies : draft_number | Circulation_History : copy_number equals Draft_Copies : copy_number | Documents_Mailed : mailed_to_address_id equals Addresses : address_id | Documents_Mailed : document_id equals Documents : document_id
tracking_share_transactions
Investors : investor_id (number) , Investor_details (text) | Lots : lot_id (number) , investor_id (number) , lot_details (text) | Ref_Transaction_Types : transaction_type_code (text) , transaction_type_description (text) | Transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | Sales : sales_transaction_id (number) , sales_details (text) | Purchases : purchase_transaction_id (number) , purchase_details (text) | Transactions_Lots : transaction_id (number) , lot_id (number)
Investors : investor_id | Lots : lot_id | Ref_Transaction_Types : transaction_type_code | Transactions : transaction_id | Sales : sales_transaction_id
Lots : investor_id equals Investors : investor_id | Transactions : transaction_type_code equals Ref_Transaction_Types : transaction_type_code | Transactions : investor_id equals Investors : investor_id | Sales : sales_transaction_id equals Transactions : transaction_id | Purchases : purchase_transaction_id equals Transactions : transaction_id | Transactions_Lots : transaction_id equals Transactions : transaction_id | Transactions_Lots : lot_id equals Lots : lot_id
apartment_rentals
Apartment_Buildings : building_id (number) , building_short_name (text) , building_full_name (text) , building_description (text) , building_address (text) , building_manager (text) , building_phone (text) | Apartments : apt_id (number) , building_id (number) , apt_type_code (text) , apt_number (text) , bathroom_count (number) , bedroom_count (number) , room_count (text) | Apartment_Facilities : apt_id (number) , facility_code (text) | Guests : guest_id (number) , gender_code (text) , guest_first_name (text) , guest_last_name (text) , date_of_birth (time) | Apartment_Bookings : apt_booking_id (number) , apt_id (number) , guest_id (number) , booking_status_code (text) , booking_start_date (time) , booking_end_date (time) | View_Unit_Status : apt_id (number) , apt_booking_id (number) , status_date (time) , available_yn (others)
Apartment_Buildings : building_id | Apartments : apt_id | Apartment_Facilities : apt_id | Guests : guest_id | Apartment_Bookings : apt_booking_id | View_Unit_Status : status_date
Apartments : building_id equals Apartment_Buildings : building_id | Apartment_Facilities : apt_id equals Apartments : apt_id | Apartment_Bookings : guest_id equals Guests : guest_id | Apartment_Bookings : apt_id equals Apartments : apt_id | View_Unit_Status : apt_booking_id equals Apartment_Bookings : apt_booking_id | View_Unit_Status : apt_id equals Apartments : apt_id
student_transcripts_tracking
Addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | Courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | Departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | Degree_Programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | Sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | Semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | Students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | Student_Enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | Student_Enrolment_Courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | Transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | Transcript_Contents : student_course_id (number) , transcript_id (number)
Addresses : address_id | Courses : course_id | Departments : department_id | Degree_Programs : degree_program_id | Sections : section_id | Semesters : semester_id | Students : student_id | Student_Enrolment : student_enrolment_id | Student_Enrolment_Courses : student_course_id | Transcripts : transcript_id
Degree_Programs : department_id equals Departments : department_id | Sections : course_id equals Courses : course_id | Students : permanent_address_id equals Addresses : address_id | Students : current_address_id equals Addresses : address_id | Student_Enrolment : student_id equals Students : student_id | Student_Enrolment : semester_id equals Semesters : semester_id | Student_Enrolment : degree_program_id equals Degree_Programs : degree_program_id | Student_Enrolment_Courses : student_enrolment_id equals Student_Enrolment : student_enrolment_id | Student_Enrolment_Courses : course_id equals Courses : course_id | Transcript_Contents : transcript_id equals Transcripts : transcript_id | Transcript_Contents : student_course_id equals Student_Enrolment_Courses : student_course_id
cre_Docs_and_Epenses
Ref_Document_Types : Document_Type_Code (text) , Document_Type_Name (text) , Document_Type_Description (text) | Ref_Budget_Codes : Budget_Type_Code (text) , Budget_Type_Description (text) | Projects : Project_ID (number) , Project_Details (text) | Documents : Document_ID (number) , Document_Type_Code (text) , Project_ID (number) , Document_Date (time) , Document_Name (text) , Document_Description (text) , Other_Details (text) | Statements : Statement_ID (number) , Statement_Details (text) | Documents_with_Expenses : Document_ID (number) , Budget_Type_Code (text) , Document_Details (text) | Accounts : Account_ID (number) , Statement_ID (number) , Account_Details (text)
Ref_Document_Types : Document_Type_Code | Ref_Budget_Codes : Budget_Type_Code | Projects : Project_ID | Documents : Document_ID | Statements : Statement_ID | Documents_with_Expenses : Document_ID | Accounts : Account_ID
Documents : Project_ID equals Projects : Project_ID | Documents : Document_Type_Code equals Ref_Document_Types : Document_Type_Code | Statements : Statement_ID equals Documents : Document_ID | Documents_with_Expenses : Document_ID equals Documents : Document_ID | Documents_with_Expenses : Budget_Type_Code equals Ref_Budget_Codes : Budget_Type_Code | Accounts : Statement_ID equals Statements : Statement_ID
ship_mission
mission : Mission_ID (number) , Ship_ID (number) , Code (text) , Launched_Year (number) , Location (text) , Speed_knots (number) , Fate (text) | ship : Ship_ID (number) , Name (text) , Type (text) , Nationality (text) , Tonnage (number)
mission : Mission_ID | ship : Ship_ID
mission : Ship_ID equals ship : Ship_ID
company_office
buildings : id (number) , name (text) , City (text) , Height (number) , Stories (number) , Status (text) | Companies : id (number) , name (text) , Headquarters (text) , Industry (text) , Sales_billion (number) , Profits_billion (number) , Assets_billion (number) , Market_Value_billion (text) | Office_locations : building_id (number) , company_id (number) , move_in_year (number)
buildings : id | Companies : id | Office_locations : building_id
Office_locations : company_id equals Companies : id | Office_locations : building_id equals buildings : id
tracking_software_problems
Problem_Category_Codes : problem_category_code (text) , problem_category_description (text) | Problem_Log : problem_log_id (number) , assigned_to_staff_id (number) , problem_id (number) , problem_category_code (text) , problem_status_code (text) , log_entry_date (time) , log_entry_description (text) , log_entry_fix (text) , other_log_details (text) | Problem_Status_Codes : problem_status_code (text) , problem_status_description (text) | Product : product_id (number) , product_name (text) , product_details (text) | Staff : staff_id (number) , staff_first_name (text) , staff_last_name (text) , other_staff_details (text) | Problems : problem_id (number) , product_id (number) , closure_authorised_by_staff_id (number) , reported_by_staff_id (number) , date_problem_reported (time) , date_problem_closed (time) , problem_description (text) , other_problem_details (text)
Problem_Category_Codes : problem_category_code | Problem_Log : problem_log_id | Problem_Status_Codes : problem_status_code | Product : product_id | Staff : staff_id | Problems : problem_id
Problem_Log : problem_status_code equals Problem_Status_Codes : problem_status_code | Problem_Log : problem_id equals Problems : problem_id | Problem_Log : assigned_to_staff_id equals Staff : staff_id | Problem_Log : problem_category_code equals Problem_Category_Codes : problem_category_code | Problems : reported_by_staff_id equals Staff : staff_id | Problems : product_id equals Product : product_id | Problems : closure_authorised_by_staff_id equals Staff : staff_id
products_gen_characteristics
Ref_Characteristic_Types : characteristic_type_code (text) , characteristic_type_description (text) | Ref_Colors : color_code (text) , color_description (text) | Ref_Product_Categories : product_category_code (text) , product_category_description (text) , unit_of_measure (text) | Characteristics : characteristic_id (number) , characteristic_type_code (text) , characteristic_data_type (text) , characteristic_name (text) , other_characteristic_details (text) | Products : product_id (number) , color_code (text) , product_category_code (text) , product_name (text) , typical_buying_price (text) , typical_selling_price (text) , product_description (text) , other_product_details (text) | Product_Characteristics : product_id (number) , characteristic_id (number) , product_characteristic_value (text)
Ref_Characteristic_Types : characteristic_type_code | Ref_Colors : color_code | Ref_Product_Categories : product_category_code | Characteristics : characteristic_id | Products : product_id
Characteristics : characteristic_type_code equals Ref_Characteristic_Types : characteristic_type_code | Products : color_code equals Ref_Colors : color_code | Products : product_category_code equals Ref_Product_Categories : product_category_code | Product_Characteristics : product_id equals Products : product_id | Product_Characteristics : characteristic_id equals Characteristics : characteristic_id
coffee_shop
shop : Shop_ID (number) , Address (text) , Num_of_staff (text) , Score (number) , Open_Year (text) | member : Member_ID (number) , Name (text) , Membership_card (text) , Age (number) , Time_of_purchase (number) , Level_of_membership (number) , Address (text) | happy_hour : HH_ID (number) , Shop_ID (number) , Month (text) , Num_of_shaff_in_charge (number) | happy_hour_member : HH_ID (number) , Member_ID (number) , Total_amount (number)
shop : Shop_ID | member : Member_ID | happy_hour : HH_ID | happy_hour_member : HH_ID
happy_hour : Shop_ID equals shop : Shop_ID | happy_hour_member : Member_ID equals member : Member_ID
riding_club
player : Player_ID (number) , Sponsor_name (text) , Player_name (text) , Gender (text) , Residence (text) , Occupation (text) , Votes (number) , Rank (text) | club : Club_ID (number) , Club_name (text) , Region (text) , Start_year (number) | coach : Coach_ID (number) , Coach_name (text) , Gender (text) , Club_ID (number) , Rank (number) | player_coach : Player_ID (number) , Coach_ID (number) , Starting_year (number) | match_result : Rank (number) , Club_ID (number) , Gold (number) , Big_Silver (number) , Small_Silver (number) , Bronze (number) , Points (number)
player : Player_ID | club : Club_ID | coach : Coach_ID | player_coach : Player_ID | match_result : Rank
coach : Club_ID equals club : Club_ID | player_coach : Coach_ID equals coach : Coach_ID | player_coach : Player_ID equals player : Player_ID | match_result : Club_ID equals club : Club_ID
customers_card_transactions
Accounts : account_id (number) , customer_id (number) , account_name (text) , other_account_details (text) | Customers : customer_id (number) , customer_first_name (text) , customer_last_name (text) , customer_address (text) , customer_phone (text) , customer_email (text) , other_customer_details (text) | Customers_Cards : card_id (number) , customer_id (number) , card_type_code (text) , card_number (text) , date_valid_from (time) , date_valid_to (time) , other_card_details (text) | Financial_Transactions : transaction_id (number) , previous_transaction_id (number) , account_id (number) , card_id (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text)
Accounts : account_id | Customers : customer_id | Customers_Cards : card_id
Financial_Transactions : account_id equals Accounts : account_id | Financial_Transactions : card_id equals Customers_Cards : card_id
county_public_safety
county_public_safety : County_ID (number) , Name (text) , Population (number) , Police_officers (number) , Residents_per_officer (number) , Case_burden (number) , Crime_rate (number) , Police_force (text) , Location (text) | city : City_ID (number) , County_ID (number) , Name (text) , White (number) , Black (number) , Amerindian (number) , Asian (number) , Multiracial (number) , Hispanic (number)
county_public_safety : County_ID | city : City_ID
city : County_ID equals county_public_safety : County_ID
performance_attendance
member : Member_ID (text) , Name (text) , Nationality (text) , Role (text) | performance : Performance_ID (number) , Date (text) , Host (text) , Location (text) , Attendance (number) | member_attendance : Member_ID (number) , Performance_ID (number) , Num_of_Pieces (number)
member : Member_ID | performance : Performance_ID | member_attendance : Member_ID
member_attendance : Performance_ID equals performance : Performance_ID | member_attendance : Member_ID equals member : Member_ID
club_1
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Club : ClubID (number) , ClubName (text) , ClubDesc (text) , ClubLocation (text) | Member_of_club : StuID (number) , ClubID (number) , Position (text)
Student : StuID | Club : ClubID
Member_of_club : ClubID equals Club : ClubID | Member_of_club : StuID equals Student : StuID
singer
singer : Singer_ID (number) , Name (text) , Birth_Year (number) , Net_Worth_Millions (number) , Citizenship (text) | song : Song_ID (number) , Title (text) , Singer_ID (number) , Sales (number) , Highest_Position (number)
singer : Singer_ID | song : Song_ID
song : Singer_ID equals singer : Singer_ID
culture_company
book_club : book_club_id (number) , Year (number) , Author_or_Editor (text) , Book_Title (text) , Publisher (text) , Category (text) , Result (text) | movie : movie_id (number) , Title (text) , Year (number) , Director (text) , Budget_million (number) , Gross_worldwide (number) | culture_company : Company_name (text) , Type (text) , Incorporated_in (text) , Group_Equity_Shareholding (number) , book_club_id (text) , movie_id (text)
book_club : book_club_id | movie : movie_id | culture_company : Company_name
culture_company : movie_id equals movie : movie_id | culture_company : book_club_id equals book_club : book_club_id
cre_Doc_Template_Mgt
Ref_Template_Types : Template_Type_Code (text) , Template_Type_Description (text) | Templates : Template_ID (number) , Version_Number (number) , Template_Type_Code (text) , Date_Effective_From (time) , Date_Effective_To (time) , Template_Details (text) | Documents : Document_ID (number) , Template_ID (number) , Document_Name (text) , Document_Description (text) , Other_Details (text) | Paragraphs : Paragraph_ID (number) , Document_ID (number) , Paragraph_Text (text) , Other_Details (text)
Ref_Template_Types : Template_Type_Code | Templates : Template_ID | Documents : Document_ID | Paragraphs : Paragraph_ID
Templates : Template_Type_Code equals Ref_Template_Types : Template_Type_Code | Documents : Template_ID equals Templates : Template_ID | Paragraphs : Document_ID equals Documents : Document_ID
musical
musical : Musical_ID (number) , Name (text) , Year (number) , Award (text) , Category (text) , Nominee (text) , Result (text) | actor : Actor_ID (number) , Name (text) , Musical_ID (number) , Character (text) , Duration (text) , age (number)
musical : Musical_ID | actor : Actor_ID
actor : Musical_ID equals actor : Actor_ID
world_1
city : ID (number) , Name (text) , CountryCode (text) , District (text) , Population (number) | sqlite_sequence : name (text) , seq (text) | country : Code (text) , Name (text) , Continent (text) , Region (text) , SurfaceArea (number) , IndepYear (number) , Population (number) , LifeExpectancy (number) , GNP (number) , GNPOld (number) , LocalName (text) , GovernmentForm (text) , HeadOfState (text) , Capital (number) , Code2 (text) | countrylanguage : CountryCode (text) , Language (text) , IsOfficial (text) , Percentage (number)
city : ID | country : Code | countrylanguage : CountryCode
city : CountryCode equals country : Code | countrylanguage : CountryCode equals country : Code
device
device : Device_ID (number) , Device (text) , Carrier (text) , Package_Version (text) , Applications (text) , Software_Platform (text) | shop : Shop_ID (number) , Shop_Name (text) , Location (text) , Open_Date (text) , Open_Year (number) | stock : Shop_ID (number) , Device_ID (number) , Quantity (number)
device : Device_ID | shop : Shop_ID | stock : Shop_ID
stock : Device_ID equals device : Device_ID | stock : Shop_ID equals shop : Shop_ID
tracking_grants_for_research
Document_Types : document_type_code (text) , document_description (text) | Documents : document_id (number) , document_type_code (text) , grant_id (number) , sent_date (time) , response_received_date (time) , other_details (text) | Grants : grant_id (number) , organisation_id (number) , grant_amount (number) , grant_start_date (time) , grant_end_date (time) , other_details (text) | Organisation_Types : organisation_type (text) , organisation_type_description (text) | Organisations : organisation_id (number) , organisation_type (text) , organisation_details (text) | Project_Outcomes : project_id (number) , outcome_code (text) , outcome_details (text) | Project_Staff : staff_id (number) , project_id (number) , role_code (text) , date_from (time) , date_to (time) , other_details (text) | Projects : project_id (number) , organisation_id (number) , project_details (text) | Research_Outcomes : outcome_code (text) , outcome_description (text) | Research_Staff : staff_id (number) , employer_organisation_id (number) , staff_details (text) | Staff_Roles : role_code (text) , role_description (text) | Tasks : task_id (number) , project_id (number) , task_details (text) , eg Agree Objectives (text)
Document_Types : document_type_code | Documents : document_id | Grants : grant_id | Organisation_Types : organisation_type | Organisations : organisation_id | Project_Staff : staff_id | Projects : project_id | Research_Outcomes : outcome_code | Research_Staff : staff_id | Staff_Roles : role_code | Tasks : task_id
Documents : grant_id equals Grants : grant_id | Documents : document_type_code equals Document_Types : document_type_code | Grants : organisation_id equals Organisations : organisation_id | Organisations : organisation_type equals Organisation_Types : organisation_type | Project_Outcomes : outcome_code equals Research_Outcomes : outcome_code | Project_Outcomes : project_id equals Projects : project_id | Project_Staff : role_code equals Staff_Roles : role_code | Project_Staff : project_id equals Projects : project_id | Projects : organisation_id equals Organisations : organisation_id | Research_Staff : employer_organisation_id equals Organisations : organisation_id | Tasks : project_id equals Projects : project_id
employee_hire_evaluation
employee : Employee_ID (number) , Name (text) , Age (number) , City (text) | shop : Shop_ID (number) , Name (text) , Location (text) , District (text) , Number_products (number) , Manager_name (text) | hiring : Shop_ID (number) , Employee_ID (number) , Start_from (text) , Is_full_time (others) | evaluation : Employee_ID (text) , Year_awarded (text) , Bonus (number)
employee : Employee_ID | shop : Shop_ID | hiring : Employee_ID | evaluation : Employee_ID
hiring : Employee_ID equals employee : Employee_ID | hiring : Shop_ID equals shop : Shop_ID | evaluation : Employee_ID equals employee : Employee_ID
movie_1
Movie : mID (number) , title (text) , year (number) , director (text) | Reviewer : rID (number) , name (text) | Rating : rID (number) , mID (number) , stars (number) , ratingDate (time)
Movie : mID | Reviewer : rID
Rating : rID equals Reviewer : rID | Rating : mID equals Movie : mID

Dataset Card for Spider Schema

Dataset Summary

Spider is a large-scale complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 Yale students The goal of the Spider challenge is to develop natural language interfaces to cross-domain databases.

This dataset contains the 166 databases used in the Spider dataset.

Yale Lily Spider Leaderboards

The leaderboard can be seen at https://yale-lily.github.io/spider

Languages

The text in the dataset is in English.

Licensing Information

The spider dataset is licensed under the CC BY-SA 4.0

Citation

@article{yu2018spider,
  title={Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-sql task},
  author={Yu, Tao and Zhang, Rui and Yang, Kai and Yasunaga, Michihiro and Wang, Dongxu and Li, Zifan and Ma, James and Li, Irene and Yao, Qingning and Roman, Shanelle and others},
  journal={arXiv preprint arXiv:1809.08887},
  year={2018}
}
Downloads last month
100