text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_97 ( alianza_wins INTEGER, alianza_goals VARCHAR, u_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Alianza Wins, when Alianza Goals is '317, and when U Goals is greater than 296? ### Query: S...
### Context: CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperdataset ( paperid int, dataseti...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_2403 ( "Length/Weight of Missile" text, "Diameter of torsion spring" text, "Height of torsion spring" text, "Machine length" text, "Machine width" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the torsion spring...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( ...
### Context: CREATE TABLE table_30871 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions drafted for the Minnesota No...
### Context: CREATE TABLE table_41914 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the interview subject 20 Questions of Judge R...
### Context: CREATE TABLE table_16826 ( "Model name" text, "Power (ps)" real, "Torque (Nm@rpm)" text, "Displacement (cm\u00b3)" real, "Engine code" text, "Comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the model of the engine d5...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, J...
### Context: CREATE TABLE table_name_74 ( country_of_origin VARCHAR, year_of_intro VARCHAR, type VARCHAR, primary_cartridge VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country of Origin, when Type is Disposable, when Primary Cartridge is 1...
### Context: CREATE TABLE table_203_715 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- before 2010 what was their best position ? ### Query: SELECT MIN("posi...
### Context: CREATE TABLE table_68440 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Matches" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the typical match smaller than 2? ### Query: SEL...
### Context: CREATE TABLE table_name_60 ( score VARCHAR, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of Tim Herron, who placed t1? ### Query: SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim...
### Context: CREATE TABLE table_name_61 ( plur_pres VARCHAR, past_part VARCHAR, inf_stem VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the plural present that has a past participle of e and an infinitive stem of e? ### Query: SELECT plur_pres F...
### Context: CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE table_74991 ( "Release date" text, "Release title" text, "Country" text, "Publisher" text, "Format" text, "Language" text, "Subtitles" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rel...
### 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 table_29391888_1 ( season__number VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the season # for the production code 3.89? ### Query: SELECT season__number FROM table_29391888_1 WHERE production_co...
### Context: CREATE TABLE table_44553 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record after the game on May 1, 2004? ### Query: SELECT "Re...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime...
### Context: CREATE TABLE table_1342013_34 ( party VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% ### Query: SELECT COUNT(party) FROM table_1342013_34 ...
### Context: CREATE TABLE table_name_21 ( final_score VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the final score of the game at lambeau field? ### Query: SELECT final_score FROM table_name_21 WHERE stadium = "lambeau field"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid numb...
### Context: CREATE TABLE table_1775 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sogn)" text, "Church Name" text, "Year Built" real, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the church when the ...
### 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_27099 ( "Polling Firm" text, "Date of Polling" text, "Link" text, "Progressive Conservative" real, "Liberal" real, "New Democratic" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are given for the...
### 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 ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ...
### Context: CREATE TABLE table_1566848_6 ( centerfold_model VARCHAR, interview_subject VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the centerfold model when interview subject is steve jobs ### Query: SELECT centerfold_model FROM table_1566848_6 WHE...
### 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_25214321_1 ( contestants INTEGER, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many contestants were there when the runner-up was Monique Evans? ### Query: SELECT MAX(contestants) FROM table_25214321_1 WHERE r...
### Context: CREATE TABLE table_test_8 ( "id" int, "anemia" bool, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "intravenous_pressors" bool, "fever" bool, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "vasopressors" bool, "renal_disease" bool, ...
### Context: CREATE TABLE table_name_6 ( away_team VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team with a 2 tie no.? ### Query: SELECT away_team FROM table_name_6 WHERE tie_no = "2"
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE Comments ( Id number, ...
### Context: CREATE TABLE table_24138601_2 ( date VARCHAR, final_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for l 28 15 ### Query: SELECT date FROM table_24138601_2 WHERE final_score = "L 28–15"
### 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 table_name_90 ( tonnage VARCHAR, built VARCHAR, ship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The ship SSBergensfjord built before 1973 has what tonnage? ### Query: SELECT tonnage FROM table_name_90 WHERE built < 1973 AND...
### Context: CREATE TABLE table_228439_4 ( successor VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the successor for massachusetts 8th? ### Query: SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varc...
### Context: CREATE TABLE table_name_59 ( date VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the Arden Street Oval game? ### Query: SELECT date FROM table_name_59 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_30 ( run_3 INTEGER, run_2 VARCHAR, run_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest run 3 an athlete with a run 2 less than 53.72 and a run 1 of 53.1 has? ### Query: SELECT MIN(run_3) FROM tabl...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decim...
### Context: CREATE TABLE table_name_70 ( electors INTEGER, share_of_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of electors when the share of votes was 11,0%? ### Query: SELECT SUM(electors) FROM table_name_70 WHERE share_of_vote...
### Context: CREATE TABLE table_34310 ( "Position" text, "Name" text, "School" text, "Unanimous" text, "College Hall of Fame" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Center? ### Query: SELECT "Name" FROM table_34310 W...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE program ( program_id int, name varchar, ...
### Context: CREATE TABLE table_35790 ( "Name" text, "City" text, "Years as tallest" text, "Metres" real, "Feet" real, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Metres wiht a Feet that's smaller than 196? ### Qu...
### 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 table_27756014_1 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the game played on october 16? ### Query: SELECT score FROM table_27756014_1 WHERE date = "October 16"
### Context: CREATE TABLE table_name_9 ( year_drafted INTEGER, fcsl_team VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the drafted year when the FCSL Team was Winter Park, in the 4th round? ### Query: SELECT MAX(year_drafted) FRO...
### 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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto tex...
### Context: CREATE TABLE table_1896 ( "Position" real, "Sail Number" text, "Yacht" text, "State/Country" text, "Yacht Type" text, "LOA (Metres)" text, "Skipper" text, "Elapsed Time d:hh:mm:ss" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_15033 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the double's performance data from the Canada Masters tournament in 200...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE icustays ( row_id num...
### Context: CREATE TABLE table_69053 ( "Stage" text, "Time (EEST)" text, "Name" text, "Length" text, "Winner" text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winner for ss14 ### Query: SELECT "Winner" FROM table_69...
### Context: CREATE TABLE table_73951 ( "Name" text, "Turbines" text, "Capacity (MW)" text, "Power (MW\u00b7hr/yr)" text, "Location (county)" text, "Year Operational" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What farm ha...
### Context: CREATE TABLE table_name_63 ( university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Rood & Taylor of o, and a Buechel & Manh...
### Context: CREATE TABLE table_name_54 ( season_joined_league VARCHAR, seasons_at_this_level VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 'season joined league' for the club that had 15 seasons at this level? ### Query: SELECT season_joined_l...
### Context: CREATE TABLE table_23754 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of partial thromboplastin...
### 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_3348 ( "Urban settlement" text, "Cyrillic Name" text, "City / municipality" text, "District" text, "Population (1991)" real, "Population (2002)" real, "Population (2011)" real ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### Context: CREATE TABLE table_66241 ( "Debut year" real, "Player" text, "Games" real, "Goals" real, "Years at club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Games have Years at club of 1971 1974, and a Debut year larger than 1971? ...
### Context: CREATE TABLE table_13114949_3 ( year VARCHAR, qualifying_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year where the qualifying score was 15.150? ### Query: SELECT year FROM table_13114949_3 WHERE qualifying_score = "15.150"
### Context: CREATE TABLE table_name_10 ( attendance VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance of the game on week 4? ### Query: SELECT attendance FROM table_name_10 WHERE week = 4
### Context: CREATE TABLE table_201_48 ( id number, "title" text, "year" number, "peak chart positions\nus" number, "peak chart positions\nus\nalt." number, "peak chart positions\nus\nmain. rock" number, "peak chart positions\naus" number, "peak chart positions\naut" number, "peak ch...
### 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE table_name_77 ( number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of households for the entry with a median income of $41,778 and a po...
### 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 station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE status ( station_id number, bikes_available number, docks_available number, time text ) CREATE TABLE trip ( id 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 Apartment_Facilities (...
### Context: CREATE TABLE table_name_96 ( scheduled VARCHAR, turbines VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the scheduled date for the farm having 17 turbines? ### Query: SELECT scheduled FROM table_name_96 WHERE turbines = 17
### Context: CREATE TABLE table_204_281 ( id number, "map or catalog" text, "creator" text, "time created" text, "contets" text, "links" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did xu guang ci or su song create the five star charts in 109...
### Context: CREATE TABLE table_39552 ( "Tournament" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "Career W\u2013L" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_21512 ( "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 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_name_12 ( college_junior_club_team VARCHAR, nhl_team VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What College/junior/club had a player of United States nationality drafted by the Toronto Maple Leafs...
### Context: CREATE TABLE table_name_71 ( countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many countries sampled has a world ranking of...
### Context: CREATE TABLE table_60914 ( "Year" text, "Venue" text, "Winner" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has 3 & 2 as the score, and 1965 as the year? ### Query: SELECT "Venue" FROM table...
### Context: CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_det...
### Context: CREATE TABLE table_75632 ( "Year" text, "Name" text, "Political affiliation" text, "Deputy" text, "Deputy's affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Deputy when the Name was elizabeth black? #...
### Context: CREATE TABLE table_name_50 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team when Footscray was the away team? ### Query: SELECT home_team FROM table_name_50 WHERE away_team = "footscray"
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_de...
### Context: CREATE TABLE table_name_91 ( podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? ### Query: SELECT COUNT(podium) F...
### Context: CREATE TABLE table_name_92 ( opponent VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team had a score of 2-1 ### Query: SELECT opponent FROM table_name_92 WHERE score = "2-1"
### Context: CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( regis...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREAT...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRES...
### Context: CREATE TABLE table_2668352_14 ( result VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for pennsylvania 8 ### Query: SELECT result FROM table_2668352_14 WHERE district = "Pennsylvania 8"
### Context: CREATE TABLE table_30522 ( "Letters" text, "Organization" text, "Nickname" text, "Founding Date" text, "Founding University" text, "Type" text, "Canadian Chapters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1872-10-10 i...
### Context: CREATE TABLE table_name_81 ( money___ INTEGER, to_par VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Johnny Palmer with a To larger than 6 Money sum? ### Query: SELECT SUM(money___) AS $__ FROM table_name_81 WHER...
### Context: CREATE TABLE table_14155 ( "Ship" text, "Year" text, "Dates" text, "Line" text, "From" text, "Distance" text, "Days, hours, minutes" text, "Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the line that has luca...
### 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_name_95 ( date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley? ### Query: SELECT da...
### Context: CREATE TABLE table_11562149_1 ( no_in_season VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the episode whose number in the series is 111. ### Query: SELECT no_in_season FROM table_11562149_1 WHERE no_in_series = "111...
### Context: CREATE TABLE table_name_83 ( transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the transfer fee for the summer transfer involving the SCO named Crainey? ### Quer...
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...