text
stringlengths
197
8.39k
### Context: CREATE TABLE table_49312 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Tyres" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which entrant had a Brabham BT10 chassis before 1965? ### Query: SELECT "E...
### Context: CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varchar(3), icao character varchar(4) ) CREATE TABLE airlines ( alid integer, name text, iata varchar(2), icao varchar(3), call...
### Context: CREATE TABLE table_80139 ( "Vehicle Flight #" text, "Date" text, "Pilot" text, "Mach" real, "Velocity (km/h)" real, "Altitude (meters)" real, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has a Mach of 0.66...
### Context: CREATE TABLE table_17120964_9 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the opponent where the date was the 21st? ### Query: SELECT opponent FROM table_17120964_9 WHERE date = "21st"
### Context: CREATE TABLE table_61857 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Status of Venue of sydney sports ground , sydney? ### Query: SELECT "Status" ...
### Context: CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE train ( id int, train_number int, name text, ...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_name_16 ( tie_no VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tie #has an Attendance of 54,591? ### Query: SELECT tie_no FROM table_name_16 WHERE attendance = "54,591"
### Context: CREATE TABLE table_26078 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for december 19 #...
### Context: CREATE TABLE table_204_356 ( id number, "name of place" text, "number of counties" number, "principal county" text, "lower zip code" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which place has the highest number of counties ? ### ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE customers ( id INTEGER, first_name VARCHAR(40), last_name VARCHAR(20), company VARCHAR(80), address VARCHAR(70), city VARCHAR(40), state VARCHAR(40), country VARCHAR(40), postal_code VARCHAR(10), phone VARCHAR(24), fax VARCHAR(24), email VARCHAR(...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cos...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_6552 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of game 5 with Los Angeles as the home team? ### Query: SELECT "Result" ...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_name_84 ( time_retired VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Time/Retired when the points were 32. ### Query: SELECT time_retired FROM table_name_84 WHERE points = "32"
### Context: CREATE TABLE table_17162 ( "Suburb" text, "Population (in 2008)" real, "Median age (in 2006)" text, "Mean household size (in 2006)" text, "Area (km\u00b2)" text, "Density (/km\u00b2)" real, "Date first settled as a suburb" real, "Gazetted as a Division Name" text ) -- Usin...
### Context: CREATE TABLE table_name_97 ( date VARCHAR, type VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Type of tko, and a Round of 1 (6) ### Query: SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_10059 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE ATTENDANCE WITH A READING AWAY TEAM? ### Query: SELECT "Attendance" FRO...
### Context: CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE field ( fieldid int ) ...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_23468 ( "Language" text, "Concepci\u00f3n Municipality (%)" real, "San Javier Municipality (%)" real, "San Ram\u00f3n Municipality (%)" real, "San Juli\u00e1n Municipality (%)" real, "San Antonio de Lomer\u00edo Municipality (%)" text, "Cuatro Ca\u00f1adas Mun...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_co...
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE dual_carrier ( main_airline varchar, ...
### Context: CREATE TABLE table_63796 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Drawn smaller than 2, and a Lost of 12, and a Name of ev ...
### Context: CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_29115 ( "Event" text, "Start Date" text, "Finish Date" text, "Start" text, "Finish" text, "Distance" text, "Abu Dhabi" text, "Camper" real, "Groupama" real, "Puma" text, "Sanya" text, "Telef\u00f3nica" real ) -- Using valid SQLite, answer...
### Context: CREATE TABLE table_66677 ( "Date(s) Released" text, "Polling institute" text, "Nationalist" text, "Labour" text, "Democratic Alternative" text, "Undecided/ No answer" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresult...
### Context: CREATE TABLE category ( category_id number, name text, last_update time ) CREATE TABLE customer ( customer_id number, store_id number, first_name text, last_name text, email text, address_id number, active boolean, create_date time, last_update time ) CREAT...
### Context: CREATE TABLE table_72378 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the party of georgia 4 ### Query: SELECT "Party" FROM...
### Context: CREATE TABLE table_name_55 ( group_position VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of 24 september 2002 is what group position? ### Query: SELECT group_position FROM table_name_55 WHERE date = "24 september 2002"
### Context: CREATE TABLE table_21046399_3 ( walker__percentage VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are given for Walker's percentage in Kenosha county? ### Query: SELECT COUNT(walker__percentage) FROM table_21046...
### Context: CREATE TABLE table_41597 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average goals for Jimmy Greaves, and matches more than 516? ### Query: SELECT AVG("Go...
### Context: CREATE TABLE table_1817852_1 ( to_iran VARCHAR, survived VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990? ### Query: SELECT COUNT(1990) FROM table_1817...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDura...
### Context: CREATE TABLE table_36101 ( "Tournament" text, "1998" text, "1999" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "Career SR" tex...
### Context: CREATE TABLE table_47911 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Kerry's percentage where 66 people voted for anoth...
### Context: CREATE TABLE table_name_41 ( condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the condition for partial thromboplastin time of prolonged and...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TAB...
### Context: CREATE TABLE table_1618 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Area KM 2 of the place that has a Census ranking of 1,608 of...
### Context: CREATE TABLE table_49540 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents when the score of the game was 101-105 and the H/A/N was H? ### Query: ...
### Context: CREATE TABLE table_22670216_1 ( rnd VARCHAR, location VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? ### Query:...
### Context: CREATE TABLE table_30477 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, ...
### Context: CREATE TABLE zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE customer_payments ( customer_id number, datetime_payment time, payment_method_code text, amount_payment num...
### Context: CREATE TABLE table_name_49 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2011, when 2010 is 'WTA Premier 5 Tournaments'? ### Query: SELECT 2011 FROM table_name_49 WHERE 2010 = "wta premier 5 tournaments"
### Context: CREATE TABLE table_46894 ( "Area" text, "Population" text, "% Muslim" text, "% Hindu" text, "% Buddhist" text, "% Other" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of Buddhist when the Population is ~2.6 m...
### Context: CREATE TABLE certificate ( eid number, aid number ) CREATE TABLE aircraft ( aid number, name text, distance number ) CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, ...
### Context: CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Apartments ( apt_i...
### Context: CREATE TABLE table_name_12 ( wins INTEGER, tournament VARCHAR, events VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Morgan win The Masters Tournament with fewer than 12 appearances? ### Query: SELECT AVG(wins) FROM table...
### Context: CREATE TABLE table_name_10 ( score VARCHAR, game VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Game is greater than 49, and when Opponent is 'Pittsburgh Ironmen'? ### Query: SELECT score FROM table_nam...
### Context: CREATE TABLE table_22754310_1 ( party VARCHAR, runner_up_a VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the party a for m. s. k. sathiyendran runner up ### Query: SELECT party AS a FROM table_22754310_1 WHERE runner_up_a = "M. S. K. Sath...
### Context: CREATE TABLE region ( region_id number, region_name text, date text, label text, format text, catalogue text ) CREATE TABLE party ( party_id number, minister text, took_office text, left_office text, region_id number, party_name text ) CREATE TABLE member (...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_16 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team score for the home team listed as Footscray? ### Query: SELECT away_team AS score FROM table_name_16 WHERE home_team ...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE admissions ( ...
### Context: CREATE TABLE table_name_16 ( year VARCHAR, quarter_finalists VARCHAR, semi_finalists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Quarter-Finalists of 1,000, and Semi-Finalists of 1,500? ### Query: SELECT year FROM table_...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, ...
### Context: CREATE TABLE table_73425 ( "Pos" real, "Club" text, "Games played" real, "Red/Yellow cards" real, "Positive play" real, "Respect toward opponents" real, "Respect toward referee" real, "Behaviour of team officials" real, "Points" real, "Score" text, "Average" text...
### Context: CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255),...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE compartment_class ( compartment...
### Context: CREATE TABLE table_4733 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What away team played when the home ...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, disch...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_22801331_1 ( game VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game was held against a team with a 6-3 record against the Cowboys? ### Query: SELECT game FROM table_22801331_1 WHERE record = "6-3"
### Context: CREATE TABLE table_204_514 ( id number, "date" text, "sub" number, "flight" text, "dead" number, "hurt" number, "pax." number, "type" text, "perpetrator" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_26842217_10 ( time VARCHAR, visiting_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the time for #1 alabama ### Query: SELECT time FROM table_26842217_10 WHERE visiting_team = "#1 Alabama"
### Context: CREATE TABLE table_name_46 ( round VARCHAR, score INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round is a lower score than 21.5? ### Query: SELECT round FROM table_name_46 WHERE score < 21.5
### Context: CREATE TABLE table_name_4 ( loss VARCHAR, opponent VARCHAR, save VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game against with LA New Bears with a save of Mac Suzuki? ### Query: SELECT loss FROM table_name_4 WHER...
### Context: CREATE TABLE table_53154 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most decile for roll of 428 ### Query: SELECT MAX...
### Context: CREATE TABLE table_19412902_2 ( clubs VARCHAR, member_association VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many clubs are there in the Korea Republic? ### Query: SELECT clubs FROM table_19412902_2 WHERE member_association = "Korea Rep...
### Context: CREATE TABLE table_47709 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long did the match last in the Rin...
### Context: CREATE TABLE table_name_70 ( rank INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when the time is 3:12.40? ### Query: SELECT SUM(rank) FROM table_name_70 WHERE time = "3:12.40"
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, dr...
### Context: CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Cla...
### Context: CREATE TABLE table_36409 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on april 29, what was the attendance? ### Query: SELECT SUM("Attendance"...
### Context: CREATE TABLE table_39526 ( "Ethnic group" text, "Totora Municipality (%)" real, "Pojo Municipality (%)" real, "Pocona Municipality (%)" real, "Chimor\u00e9 Municipality (%)" real, "Puerto Villarroel Municipality (%)" real, "Entre R\u00edos Municipality (%)" real ) -- Using val...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_50041 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Visitor of mon...
### Context: CREATE TABLE table_11371 ( "Year" real, "Team" text, "League" text, "Record" text, "Finish" text, "Organization" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of the year with a Team of johnson city yankees, and a...
### Context: CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_...
### Context: CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM tex...
### Context: CREATE TABLE table_name_75 ( round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16? ### Query: SELEC...
### Context: CREATE TABLE table_67871 ( "Member countries" text, "Population" real, "Area (km\u00b2)" real, "GDP (billion US$)" real, "GDP per capita (US$)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the GDP of the place with over 54,292...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_name_51 ( attendance INTEGER, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance of the match with motagua as the home team? ### Query: SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"
### Context: CREATE TABLE table_name_71 ( team VARCHAR, fans_took VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had fans took of 288? ### Query: SELECT team FROM table_name_71 WHERE fans_took = "288"
### Context: CREATE TABLE table_20720 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" text, "Population" real, "Density" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the pinyin for where population ...
### Context: CREATE TABLE table_name_21 ( rank INTEGER, name VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Oscar M guez had over 107 goals, what was the lowest he ranked? ### Query: SELECT MIN(rank) FROM table_name_21 WHERE name = "...