Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task
Paper • 1809.08887 • Published • 2
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 (tex... | 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 equa... |
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) , Pil... | 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_r... | 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) ... | 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_key... |
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_i... | 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 : depa... | 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... |
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... | 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_No... | 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... |
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 (numb... | 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_... | 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_d... | 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_P... |
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 ... | 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_... |
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... | 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_co... |
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... | 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) | empl... | 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_a... | 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 ... | 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 ... |
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 (numbe... | 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) |... | 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 (t... | 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_... | 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_Enrolm... |
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 (numb... | 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 : m... |
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) , cus... | 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_... |
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) , Su... | 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 : T... |
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) ... | 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) , ameni... | 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 : or... | 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_... | 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_mov... |
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 (... | 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) | pu... | 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_s... | 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 Vehicl... |
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... | 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) , StagePositi... | 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 equa... |
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) ,... | 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) , Workin... | 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 (... | 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 ... | |
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... | 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 (numb... | 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 (numbe... | 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 : sh... |
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) , Am... | 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_Manage... | 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) , serv... | 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 A... |
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 (num... | 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 (num... | 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_offi... | 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 : Physicia... | 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 | Under... | 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 : Employee... |
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) , cu... | 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 : c... |
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 (... | 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... | 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_agen... | 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_... | 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 : docum... |
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) , da... | 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 Trans... |
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 ... | 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 | ... |
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 : depart... | 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_Enrol... |
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_I... | 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_Bu... |
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 : buildi... | 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 (te... | 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_st... |
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 (nu... | 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 | Prod... |
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 (tex... | 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 (numbe... | 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_Car... | 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) , ... | 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) ,... | 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) , Documen... | 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) ,... | 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_st... | 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_... |
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_I... | 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 |
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.
The leaderboard can be seen at https://yale-lily.github.io/spider
The text in the dataset is in English.
The spider dataset is licensed under the CC BY-SA 4.0
@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}
}