text
stringlengths
197
8.39k
### Context: CREATE TABLE table_1682865_1 ( irish_name VARCHAR, £1_fraction VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Irish name for the 1 fraction of 1/240? ### Query: SELECT irish_name FROM table_1682865_1 WHERE £1_fraction = "1/240"
### Context: CREATE TABLE table_name_14 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team played on august 25 ### Query: SELECT opponent FROM table_name_14 WHERE date = "august 25"
### Context: CREATE TABLE nuclear_power_plants ( id text, name text, latitude text, longitude text, country text, status text, reactortype text, reactormodel text, constructionstartat text, operationalfrom text, operationalto text, capacity text, lastupdatedat text, ...
### Context: CREATE TABLE table_21482 ( "Year" real, "West Manila" text, "East Manila" text, "Consumer Price Index (2005=100)" text, "West Manila as a share of 1996 real tariff" text, "East Manila as a share of 1996 real tariff" text ) -- Using valid SQLite, answer the following questions for ...
### Context: CREATE TABLE table_31416 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" 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_1211545_2 ( light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00? ### Query: S...
### Context: CREATE TABLE table_name_78 ( year VARCHAR, group VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of years that Kim was nominated at the Sitges Film Festival? ### Query: SELECT COUNT(year) FROM table_name_78 WHERE group = "sitg...
### Context: CREATE TABLE table_6282 ( "Runs" real, "Match" real, "City/Country" text, "Venue" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996? ### Q...
### Context: CREATE TABLE sampledata15 ( sample_pk number, state text, year text, month text, day text, site text, commod text, source_id text, variety text, origin text, country text, disttype text, commtype text, claim text, quantity number, growst text,...
### Context: CREATE TABLE table_name_50 ( opponents VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who competed on may 6, 2006? ### Query: SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006"
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( JYZBLSH te...
### Context: CREATE TABLE table_44151 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Average 1" real, "Points 2" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE table_203_594 ( id number, "canal" text, "length (miles)" number, "locks" number, "max length (ft)" number, "width (ft)" number, "year opened" number, "year abandoned" number, "year restored" number ) -- Using valid SQLite, answer the following questions f...
### Context: CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE time_zone ( ...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE table_name_33 ( plural VARCHAR, singular VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Plural, when Singular is tor (your)? ### Query: SELECT plural FROM table_name_33 WHERE singular = "tor (your)"
### Context: CREATE TABLE table_21531764_1 ( october_2012 VARCHAR, october_2010 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the area which was 9.1 in October 2010, what is the figure for October 2012? ### Query: SELECT october_2012 FROM table_2153176...
### 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_54551 ( "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. -- Which home team score has an Away t...
### 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 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 table_name_74 ( week_2 VARCHAR, week_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week 2 had a week 3 of Cidney Carson? ### Query: SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"
### Context: CREATE TABLE table_53421 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game on February 3...
### Context: CREATE TABLE table_76998 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of weeks that the opponent was the Denv...
### Context: CREATE TABLE table_14246 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Place of birth listed that has an Elevator of ALexander ...
### Context: CREATE TABLE table_29904 ( "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_66264 ( "Event" text, "Performance" text, "Athlete" text, "Nation" text, "Place" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place had 14:11.15 as the performance? ### Query: SELECT "Place" F...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE table_66247 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? ### ...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE table_name_76 ( player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE PLAYER WITH A SCORE OF 66? ### Query: SELECT player FROM table_name_76 WHERE score = 66
### Context: CREATE TABLE table_15678 ( "Artist" text, "Country of origin" text, "Period active" text, "Release-year of first charted record" real, "Genre" text, "Claimed sales" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the active ...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### 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_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Comments ( ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, it...
### Context: CREATE TABLE flight ( id int, Vehicle_Flight_number text, Date text, Pilot text, Velocity real, Altitude real, airport_id int, company_id int ) CREATE TABLE operate_company ( id int, name text, Type text, Principal_activities text, Incorporated_in text, ...
### 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 cost ( row_id number, subject_id number, hadm_id number, event_type text,...
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_name_37 ( losses VARCHAR, goal_difference VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of losses when the goal difference was -8, and position is smaller than 10? ### Query: SELECT C...
### 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 player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_...
### Context: CREATE TABLE table_60198 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of bronze when the rank is 5, the nation is poland and gold is ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUs...
### Context: CREATE TABLE procedures ( 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_...
### Context: CREATE TABLE table_name_86 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value in 2009 at the French Open? ### Query: SELECT 2009 FROM table_name_86 WHERE tournament = "french open"
### Context: CREATE TABLE table_13059 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What teams has a home of 5-0? ### Query: SELECT "Teams" FROM table_13059 WHERE "Home" = '5-0'
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal...
### Context: CREATE TABLE table_name_14 ( genre VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the genre of the Mass Effect game? ### Query: SELECT genre FROM table_name_14 WHERE game = "mass effect"
### Context: CREATE TABLE table_204_145 ( id number, "representative" text, "state" text, "district(s)" text, "served" text, "party" text, "date of birth" text, "date of death" text, "age" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDat...
### 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_8037 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did the Cavaliers have a record of 9-14? ### Query: SELECT "Date" FROM table_8037 ...
### Context: CREATE TABLE table_name_1 ( week_8_oct_26 VARCHAR, week_12_nov_23 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week 8 Oct 26 standing with georgia tech (8-2) on week 12 Nov 23? ### Query: SELECT week_8_oct_26 FROM table_name_1 WHE...
### Context: CREATE TABLE table_203_689 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of baskets houston scored on may 25th ? ### Query: SELEC...
### Context: CREATE TABLE Behavior_Incident ( incident_id INTEGER, incident_type_code VARCHAR(10), student_id INTEGER, date_incident_start DATETIME, date_incident_end DATETIME, incident_summary VARCHAR(255), recommendations VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Teacher...
### Context: CREATE TABLE table_name_95 ( season VARCHAR, away_result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Away result of 1-2 has what season? ### Query: SELECT season FROM table_name_95 WHERE away_result = "1-2"
### 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 TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE PostHistoryTypes ( Id number...
### Context: CREATE TABLE table_name_53 ( score VARCHAR, runner_up VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the score when goran ivani evi was runner up and the tournament was in algarve? ### Query: SELECT score FROM t...
### Context: CREATE TABLE bank ( branch_id number, bname text, no_of_customers number, city text, state text ) CREATE TABLE customer ( cust_id text, cust_name text, acc_type text, acc_bal number, no_of_loans number, credit_score number, branch_id number, state text )...
### 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_name_33 ( production_number INTEGER, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production number of From Hare to Heir? ### Query: SELECT SUM(production_number) FROM table_name_33 WHERE title = "from har...
### Context: CREATE TABLE table_74010 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the party for john randolph redistricted from the 15th...
### Context: CREATE TABLE table_name_88 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game on September 14, 2008? ### Query: SELECT result FROM table_name_88 WHERE date = "september 14, 2008"
### Context: CREATE TABLE payments ( payment_id number, settlement_id number, payment_method_code text, date_payment_made time, amount_payment number ) CREATE TABLE customer_policies ( policy_id number, customer_id number, policy_type_code text, start_date time, end_date time ) ...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRS...
### Context: CREATE TABLE table_58761 ( "Team Name" text, "Schools" text, "Sports" text, "Host" text, "Nickname(s)" text, "Colors" text, "Enrollment (2013/14)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the team from ...
### Context: CREATE TABLE product ( product_id number, product text, dimensions text, dpi number, pages_per_minute_color number, max_page_size text, interface text ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_cat...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean )...
### Context: CREATE TABLE table_23052 ( "Series #" real, "Episode #" real, "Title" text, "Written by" text, "Directed by" text, "Viewers" real, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episod...
### Context: CREATE TABLE table_name_31 ( home VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the 1948-49 season, what was the At Home record? ### Query: SELECT home FROM table_name_31 WHERE season = "1948-49"
### Context: CREATE TABLE table_64403 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has an Attendance larger ...
### Context: CREATE TABLE table_13564702_3 ( club VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the club when tries for is 83 ### Query: SELECT club FROM table_13564702_3 WHERE tries_for = "83"
### 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_61006 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pr...
### 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_1606 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of vacanc...
### 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 publication_keyword ( kid int, pid int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE conf...
### Context: CREATE TABLE table_name_56 ( laps INTEGER, driver VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of Laps for lance reventlow with grid more than 16 ### Query: SELECT SUM(laps) FROM table_name_56 WHERE driver = "la...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, r...
### Context: CREATE TABLE table_203_446 ( id number, "name" text, "gender" text, "age" number, "from" text, "occupation" text, "prize money (usd)" text, "status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total prize mon...
### Context: CREATE TABLE table_19612 ( "Hand" text, "1 credit" real, "2 credits" real, "3 credits" real, "4 credits" real, "5 credits" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least 2 credits for flush ### Query: SELECT MIN("2 c...
### Context: CREATE TABLE player_attributes ( id number, player_fifa_api_id number, player_api_id number, date text, overall_rating number, potential number, preferred_foot text, attacking_work_rate text, defensive_work_rate text, crossing number, finishing number, headin...
### Context: CREATE TABLE table_64200 ( "Province" text, "Inhabitants" real, "established" real, "President" text, "Party" text, "Election" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average election result for the province of Gr...
### Context: CREATE TABLE table_43263 ( "Week of" text, "Tier" text, "Winner" text, "Runner-up" text, "Semi finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst? ...
### Context: CREATE TABLE table_27233 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponents playe...
### Context: CREATE TABLE table_204_920 ( id number, "goal" number, "date" text, "location" text, "opponent" text, "lineup" text, "min" number, "assist/pass" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for th...
### 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABL...
### Context: CREATE TABLE table_203_751 ( id number, "year" number, "title" text, "peak chart positions\nus\nair" number, "peak chart positions\nus\nmain" number, "peak chart positions\nus\nmod" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_name_34 ( agg VARCHAR, team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the agg for team 2 of asl sport guyanais. ### Query: SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais"
### 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_name_72 ( race VARCHAR, replica VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which race has a replica of DNF? ### Query: SELECT race FROM table_name_72 WHERE replica = "dnf"
### Context: CREATE TABLE table_name_6 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 1997, has qf as a 1994, and 1r as a 1999? ### Query: SELECT 1997 FROM table_name_6 WHERE 1994 = "qf" AND 1999 = "1r"