text
stringlengths
197
8.39k
### Context: CREATE TABLE table_75628 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of field g...
### Context: CREATE TABLE table_79152 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many strokes off par was the winner in 1978? ### Query: SELECT "To par" FROM table_...
### Context: CREATE TABLE table_16604 ( "Date" text, "Founder" text, "Extroversion Scales" text, "People-task orientation scale" text, "Introverted, Task-Oriented" text, "Extroverted, Task-Oriented" text, "Extroverted, Relationship-Oriented" text, "Introverted, Relationship Oriented" tex...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_29997112_3 ( international_use VARCHAR, flag_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the international use of the 1 flag? ### Query: SELECT international_use FROM table_29997112_3 WHERE flag_name = "1 един...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE zyjzjlb ( CYBQDM tex...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_5368 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent of the submission (triangle choke) me...
### Context: CREATE TABLE member ( Member_ID text, Name text, Nationality text, Role text ) CREATE TABLE performance ( Performance_ID real, Date text, Host text, Location text, Attendance int ) CREATE TABLE member_attendance ( Member_ID int, Performance_ID int, Num_of_P...
### Context: CREATE TABLE table_70539 ( "Frame size" text, "Width" real, "Height" real, "Mpix" real, "Aspect Ratio" text, "Maximum fps" real, "Maximum fps HDRx" real, "least compression at 24 fps" text, "least compression at maximum fps" text ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_59642 ( "Team" text, "Driver" text, "Class" text, "Chassis" text, "Engine" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What c class engine did philipp eng and team hs technik motorsport use? ###...
### Context: CREATE TABLE table_name_10 ( week_12 VARCHAR, week_9 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the week 12 nomination when the week 9 nomination walked (day 11)? ### Query: SELECT week_12 FROM table_name_10 WHERE week_9 = "walked (...
### Context: CREATE TABLE table_78220 ( "Stellar mass ( M\u2609 )" real, "Planetary mass ( M\u2295 )" real, "Lum. (L 0 )" text, "Type" text, "RHAB ( AU )" real, "RV (cm/s)" real, "Period (days)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsU...
### Context: CREATE TABLE table_name_37 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for January 19? ### Query: SELECT record FROM table_name_37 WHERE date = "january 19"
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_name_94 ( score VARCHAR, competition VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the event with a competition type of friendly and a result of 4-5? ### Query: SELECT score FROM tabl...
### Context: CREATE TABLE table_52820 ( "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. -- How many people in total have atten...
### Context: CREATE TABLE round ( round_id number, member_id number, decoration_theme text, rank_in_round number ) CREATE TABLE member ( member_id number, name text, country text, college_id number ) CREATE TABLE college ( college_id number, name text, leader_name text, ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE table_12310814_1 ( song_choice VARCHAR, original_artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which one of the songs was originally performed by Rickie Lee Jones? ### Query: SELECT song_choice FROM table_12310814_1 WHERE o...
### Context: CREATE TABLE table_11614581_3 ( area VARCHAR, _in_thousands_of_km_2 VARCHAR, name_in_russian VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- governs an area with what area (in thousand km 2)? ### Query: SELECT area, _in_thousands_of_km_2 FRO...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, ...
### Context: CREATE TABLE table_2453243_3 ( production_code INTEGER, no_in_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code for episode 3 in the season? ### Query: SELECT MAX(production_code) FROM table_2453243_3 WHERE no_in...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### 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 pilot ( Name VARCHAR, Age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List names of all pilot in descending order of age. ### Query: SELECT Name FROM pilot ORDER BY Age DESC
### Context: CREATE TABLE table_28184 ( "Country" text, "Name of bullion coin" text, "Fineness" text, "Denominations (Gold weight)" text, "Years of mintage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the denominations for China? ##...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_1641054_2 ( established INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least established ### Query: SELECT MIN(established) FROM table_1641054_2
### Context: CREATE TABLE table_name_25 ( score VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game against the Braves with a record of 41 27? ### Query: SELECT score FROM table_name_25 WHERE o...
### Context: CREATE TABLE table_75949 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the biggest points when the grid is less than 13 and the time/reti...
### Context: CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CR...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE catalog_contents_additional_attributes ( catalog_entry_id number, catalog_level_number number, attribute_id number, attribute_value text ) CREATE TABLE catalog_structure ( catalog_level_number number, catalog_id number, catalog_level_name text ) CREATE TABLE attri...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, rel...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offeri...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real,...
### Context: CREATE TABLE table_25777 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: 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_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_44352 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the year won of 2001, what is the To Par? ### Query: SELECT "To ...
### Context: CREATE TABLE table_48229 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID in...
### Context: CREATE TABLE table_18967 ( "Election date" real, "Party leader" text, "Number of votes received" real, "Percentage of votes" text, "Number of deputies" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the number of deputies with nu...
### Context: CREATE TABLE table_name_10 ( team VARCHAR, location_attendance VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? ### Query: SELECT t...
### Context: CREATE TABLE table_23803 ( "BSE Code" text, "Company" text, "City" text, "GICS Sector" text, "Free float" text, "Index weighting (%" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which companies have a free float of 0.2726? ### Qu...
### Context: CREATE TABLE table_19230 ( "Country/Territory" text, "Former pageant" text, "Last competed" real, "New pageant" text, "Franchise since" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the new pageant from spain? ### Query: SELE...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_45454 ( "Season" real, "Episodes" real, "Season premiere" text, "Season finale" text, "TV season" text, "Rank" text, "Households (millions)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT SEASON HAD A SEA...
### Context: CREATE TABLE table_57449 ( "Name" text, "Bodyweight" real, "Snatch" real, "Clean & jerk" real, "Total (kg)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average bodyweight when snatch is 80? ### Query: SELECT AVG("Bodywei...
### Context: CREATE TABLE table_name_64 ( pali VARCHAR, tibetan VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pali word for phrag dog in tibetan? ### Query: SELECT pali FROM table_name_64 WHERE tibetan = "phrag dog"
### Context: CREATE TABLE table_name_68 ( attendance VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number in attendance at Los Angeles Memorial Coliseum? ### Query: SELECT COUNT(attendance) FROM table_name_68 WHERE venue = "los a...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_19777 ( "Administrative division" text, "Area (km\u00b2)" text, "Population 2000 Census" real, "Population (2010 Census)" real, "Population density 2010 (/km\u00b2)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name...
### Context: CREATE TABLE table_204_353 ( id number, "no." number, "date/time" text, "aircraft" text, "foe" text, "result" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- are there any other aircraft listed ...
### Context: CREATE TABLE table_name_76 ( reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the reserved for value for constituency number 132? ### Query: SELECT reserved_for___sc___st__none_ F...
### Context: CREATE TABLE bdmzjzjlb ( 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 table_name_97 ( goals_against INTEGER, lost INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest goals against for teams with more than 27 losses? ### Query: SELECT MIN(goals_against) FROM table_name_97 WHERE lost > 27
### Context: CREATE TABLE table_203_46 ( id number, "country" text, "url" text, "opening date" text, "closing date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country had the earliest opening date ? ### Query: SELECT "country" FROM table_...
### Context: CREATE TABLE table_name_30 ( theme VARCHAR, result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the theme for Vegas Verdicts week with a result of Advanced? ### Query: SELECT theme FROM table_name_30 WHERE result = ...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### Context: CREATE TABLE table_40215 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoise...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE table_name_81 ( age_at_time_of_disaster VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old was the person born 24 September 1851 at the time of disaster? ### Query: SELECT age_at_time_of_disaster FROM tab...
### Context: CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which progressive party member took office after a liberal ? ### Query: SELECT "nam...
### Context: CREATE TABLE table_27994983_8 ( viewers INTEGER, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers are the when the draw is 3? ### Query: SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3
### Context: CREATE TABLE table_name_16 ( top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10...
### Context: CREATE TABLE table_30294 ( "Vessel" text, "Built" real, "Max Speed" text, "Length" text, "Breadth" text, "Flag" text, "Propulsion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many breadth entries are there when the vessel...
### Context: CREATE TABLE table_2562572_11 ( settlement VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How to you write with the latin alphabet? ### Query: SELECT settlement FROM table_2562572_11 WHERE cyrillic_name_other_...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE table_203_469 ( id number, "year" text, "round" text, "position" number, "matches" number, "wins" number, "draws" number, "losses" number, "gf" number, "ga" number ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_3 ( win__percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning % for the 2010 QF? ### Query: SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf"
### Context: CREATE TABLE table_61558 ( "Draw" real, "Artist" text, "Song" text, "Results" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song has a draw more than 4 in 1st place? ### Query: SELECT "Song" FROM table_61558 WHERE "...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_16034882_3 ( draws INTEGER, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest number of draws for sveikata kybartai ### Query: SELECT MAX(draws) FROM table_16034882_3 WHERE club = "Sveikata Kybartai"
### Context: CREATE TABLE table_name_18 ( erp_w VARCHAR, frequency_mhz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ERP W for the frequency of 91.3MHz? ### Query: SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3
### Context: CREATE TABLE table_25878 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_88 ( driver VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Driver, when Team is 'Romano Racing'? ### Query: SELECT driver FROM table_name_88 WHERE team = "romano racing"
### Context: CREATE TABLE table_name_37 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district of the incumbent Thomas Larkin Thompson? ### Query: SELECT district FROM table_name_37 WHERE incumbent = "thomas larkin...
### Context: CREATE TABLE table_10040 ( "Name" text, "Country" text, "Transfer window" text, "Transfer fee" text, "Apps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the transfer fee 2,500,000? ### Query: SELEC...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### 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_name_99 ( rank_by_average INTEGER, average VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest rank by average of a couple who had an average of 23 and a total of 115? ### Query: SELECT MIN(r...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_204_730 ( id number, "date" text, "place" text, "disc." text, "winner" text, "second" text, "third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which skier earned first place on 15 march 2006 in the 2006 al...
### Context: CREATE TABLE table_name_5 ( tournament VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what tournament did Cipolla face Sergio Roitman? ### Query: SELECT tournament FROM table_name_5 WHERE opponent = "sergio roitman"
### Context: CREATE TABLE table_2522473_1 ( team VARCHAR, seasons VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams have been in Topperserien for 8 seasons? ### Query: SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8
### Context: CREATE TABLE table_57189 ( "Round" text, "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the round of 4 leg 2 when the attendance was les...
### 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 Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResults ( I...
### Context: CREATE TABLE table_13496 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" real, "Water (sqmi)" real, "Latitude" real, "Longitude" real, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_name_43 ( wins INTEGER, rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number of wins was ranked higher than 5? ### Query: SELECT SUM(wins) FROM table_name_43 WHERE rank > 5
### Context: CREATE TABLE table_17180 ( "Name of ground" text, "Location" text, "Year" text, "FC matches" real, "LA matches" real, "T20 matches" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum t20 on green la...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE Student_Addresses ( student_id INTEGER, address_id INTEGER, date_address_from DATETIME, date_address_to DATETIME, monthly_rental DECIMAL(19,4), other_details VARCHAR(255) ) CREATE TABLE Addresses ( address_id INTEGER, line_1 VARCHAR(120), line_2 VARCHAR(120...