text
stringlengths
197
8.39k
### Context: CREATE TABLE Order_Items ( order_item_id INTEGER, product_id INTEGER, order_id INTEGER, order_item_status VARCHAR(10), order_item_details VARCHAR(255) ) CREATE TABLE Shipment_Items ( shipment_id INTEGER, order_item_id INTEGER ) CREATE TABLE Orders ( order_id INTEGER, c...
### Context: CREATE TABLE table_8911 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall has a Round larger than 7, a Pick larger than 13, and a Name o...
### Context: CREATE TABLE table_1284347_2 ( distance VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many races is different distances does Rosehill Guineas compete in? ### Query: SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Ro...
### Context: CREATE TABLE table_65788 ( "Rank" real, "Summit" text, "Country" text, "Island" text, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the island with a summit of Haleakal ? ### Query: SELECT "Island" FROM table_65788 WH...
### 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 airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE flight_leg ( fligh...
### Context: CREATE TABLE table_19321 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" text, "2nd (m)" text, "Points" text, "Overall NT points" text, "Overall WC points (Rank)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name...
### Context: CREATE TABLE table_47759 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Week 9? ### Query: SELECT "Date" FROM table_47759 WHERE "Week" = '9'
### Context: CREATE TABLE table_28431 ( "Specimen weight/size" text, "Calculated activity ( Bq )" real, "Calculated activity ( Ci )" text, "Estimated activity GR(api)" text, "Estimated exposure ( mRem )/hr*" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### 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_16788123_5 ( points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many points scored by sportivo luque o ### Query: SELECT COUNT(points) FROM table_16788123_5 WHERE team = "Sportivo Luqueño"
### Context: CREATE TABLE table_name_3 ( investment_earnings VARCHAR, year VARCHAR, other_local_sources VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the investment earnings in a year when other local sources were $2,670,060 after 2001? ### Q...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, ha...
### Context: CREATE TABLE table_203_321 ( id number, "sheriff" text, "start of term" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which sheriff came before thomas wickes ? ### Query: SELECT "sheriff" FROM table_203_321 WHERE "start of term" < (SELECT "...
### Context: CREATE TABLE table_62014 ( "Outcome" text, "Edition" real, "Round" text, "Opponent Team" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Surface, when Edition is 2012, and wh...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE table_name_10 ( goals_for VARCHAR, lost VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is lost less than 7 and the position 2? ### Query: SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < ...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE requirement ( ...
### Context: CREATE TABLE table_name_76 ( pick VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which pick's player was Marc Lewis (lhp)? ### Query: SELECT pick FROM table_name_76 WHERE player = "marc lewis (lhp)"
### Context: CREATE TABLE table_72869 ( "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_DIRE_CD text, MED_...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JO...
### Context: CREATE TABLE table_1481 ( "Player" text, "Team" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams we...
### Context: CREATE TABLE fzzmzjzjlb ( 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 tex...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE state ( state_code text, state_name text, country_...
### Context: CREATE TABLE table_3704 ( "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. -- For livorno team mention al...
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_fee...
### Context: CREATE TABLE table_name_45 ( class VARCHAR, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class is the city of black mountain, north carolina? ### Query: SELECT class FROM table_name_45 WHERE city_of_license = "black mount...
### Context: CREATE TABLE table_49787 ( "Tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament shows 2013 as 2r, and a 2010 as 1r? ### Query: SELECT "Tourname...
### Context: CREATE TABLE table_203_618 ( id number, "pick" number, "player" text, "team" text, "position" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- picked after ryan mills ? ### Query: SELECT "player" FROM table_203_618 WHE...
### Context: CREATE TABLE track ( name VARCHAR, LOCATION VARCHAR, year_opened VARCHAR, seating INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name, location, open year for all tracks with a seating higher than the average. ### Query: SELECT...
### Context: CREATE TABLE table_64252 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents on Week 8? ### Query: SELECT "Opponent" FROM table_64252 WHERE "Wee...
### Context: CREATE TABLE table_52323 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school has the player of mike rosario? ### Query: SELECT "Scho...
### 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 table_32967 ( "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. -- hat was Hawthorn's score as the awa...
### Context: CREATE TABLE table_name_45 ( laps INTEGER, time VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? ### Query: SELECT MIN(laps) FROM table_name_45 WHE...
### 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 diagnoses ( 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, reli...
### Context: CREATE TABLE Affiliated_With ( Physician INTEGER, Department INTEGER, PrimaryAffiliation BOOLEAN ) CREATE TABLE Patient ( SSN INTEGER, Name VARCHAR(30), Address VARCHAR(30), Phone VARCHAR(30), InsuranceID INTEGER, PCP INTEGER ) CREATE TABLE Department ( DepartmentI...
### 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 chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_22514845_5 ( race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the race caller for jim mckay and howard cosell ### Query: SELECT race_caller FROM table_22514845_5 WHERE s_h...
### Context: CREATE TABLE table_1277350_7 ( saturday_day_seven VARCHAR, thursday_day_five VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is saturday day seven when thursday day five is hamus? ### Query: SELECT saturday_day_seven FROM table_1277350_7 WH...
### 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_61808 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2009, when Tournament is 'Year-End Ranking'? ### Query: SELECT "2009" FROM table_61808 W...
### Context: CREATE TABLE table_1973729_2 ( current_conference VARCHAR, nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which conference has the nickname Lions? ### Query: SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_204_268 ( id number, "album/single" text, "performer" text, "year" number, "variant" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the performer on the last album released ? ### Query: SELE...
### Context: CREATE TABLE table_43728 ( "Stage" real, "Start" text, "Arrival" text, "Duration" text, "Difficulty" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long does the one that stars with son bou of middle difficulty, and on a stage numbe...
### 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 table_37070 ( "Season" real, "Team" text, "Games" real, "Wins" real, "Losses" real, "Ties" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Ties have Wins smaller than 1, and Games of 6, and Losses of 6, and a Se...
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### Context: CREATE TABLE table_name_63 ( team VARCHAR, pos VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team does F Trey Gilder play for? ### Query: SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder"
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_14345690_4 ( finished VARCHAR, celebrity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the finished for kerry katona ### Query: SELECT COUNT(finished) FROM table_14345690_4 WHERE celebrity = "Kerry Katona"
### Context: CREATE TABLE table_21536557_2 ( time__cet_ VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every time(cet) for a time of 5:04.8? ### Query: SELECT time__cet_ FROM table_21536557_2 WHERE time = "5:04.8"
### Context: CREATE TABLE table_52602 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Winner has a Trofeo Fast Team of metauro mobili...
### Context: CREATE TABLE table_204_321 ( id number, "community" text, "currency" text, "region" text, "target date" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many communities are based in africa ? ### Query: SELECT COU...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respir...
### Context: CREATE TABLE table_77428 ( "Year" real, "Player" text, "Position" text, "Nationality" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the position when the player was Justin Mapp Category:articles with hcards with a U...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number...
### Context: CREATE TABLE table_2102782_1 ( episode VARCHAR, run_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the episode for run time 25:05 ### Query: SELECT episode FROM table_2102782_1 WHERE run_time = "25:05"
### Context: CREATE TABLE table_60776 ( "Date" text, "Nationality / Opponent" text, "Ground" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Nationality / Opponent of rosario? ### Query: SELECT "Competitio...
### 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_70 ( state VARCHAR, interview VARCHAR, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state had an average of less than 8.67, a swimsuit score of 8.27, an ...
### Context: CREATE TABLE table_75423 ( "Year" real, "Event" text, "Venue" text, "Driver" text, "Result" text, "Category" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Hans Hartmann drive? ### Query: SELECT COUNT("Y...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Eve...
### Context: CREATE TABLE table_name_67 ( result VARCHAR, week INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the game that had a week number of less than 2? ### Query: SELECT result FROM table_name_67 WHERE week < 2
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### Context: CREATE TABLE table_54838 ( "Block A" text, "Antonio Thomas" text, "Hikaru Sato" text, "Hiroshi Yamato" text, "Kaz Hayashi" text, "Minoru" text, "Super Crazy" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the antonio thomas...
### Context: CREATE TABLE table_2190919_1 ( year INTEGER, avg_start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent year where the average start is 8.5? ### Query: SELECT MAX(year) FROM table_2190919_1 WHERE avg_start = "8.5"
### Context: CREATE TABLE table_name_95 ( crowd VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total crowd size for the him team footscray? ### Query: SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
### Context: CREATE TABLE table_64261 ( "Class" text, "Railway number(s)" text, "Quantity" text, "Year(s) of manufacture" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class with 1 quantity? ### Query: SELECT "Class" FROM ...
### Context: CREATE TABLE table_51330 ( "CERCLIS ID" text, "Name" text, "Municipality" text, "Proposed" text, "Listed" text, "Construction completed" text, "Partially deleted" text, "Deleted" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_name_98 ( date VARCHAR, winning_driver VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Gaspare Bona win the Pozzo Circuit? ### Query: SELECT date FROM table_name_98 WHERE winning_driver = "gaspare bo...
### 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 t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_name_73 ( date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date enacted for N.S. of 10 and normal total of 104 ### Query: SELECT date_enacted FROM table_name_73 WHERE ...
### Context: CREATE TABLE table_35269 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Outcome of the jounieh ...
### Context: CREATE TABLE table_name_6 ( result VARCHAR, award VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for the Outer Critics Circle award earlier than 2004? ### Query: SELECT result FROM table_name_6 WHERE award =...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_66632 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Drawn has a Name of erc lechbruck, and Points smaller than 17? ### ...
### Context: CREATE TABLE table_18710512_3 ( single VARCHAR, date VARCHAR, other_details VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What single(s) released in 2008 and had 4000 copies? ### Query: SELECT single FROM table_18710512_3 WHERE date = 2008...
### Context: CREATE TABLE table_41058 ( "Date" text, "Title" text, "Director" text, "Production Cost" text, "Singapore Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which film was released in August 2004? ### Query: SELECT "Title" FROM tabl...
### 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_I...
### Context: CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE ...
### Context: CREATE TABLE table_61646 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the place when the score was 70-69-74=213? ### Query: SELECT "Place" FROM table_6164...
### Context: CREATE TABLE table_204_791 ( id number, "event" text, "winner" text, "second" text, "third" text, "fourth" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was next to finish after josh constable in the 2008 telstra men 's pro ? ...
### Context: CREATE TABLE table_75397 ( "Years tallest" text, "Name" text, "Height ft / m" text, "Floors" real, "Year completed" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How tall is the florida life building, completed before 1990? ### Query:...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) 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...
### Context: CREATE TABLE table_180802_2 ( zodiac_sign VARCHAR, abbr VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the zodiac sing for the month abbreviated as . .? ### Query: SELECT zodiac_sign FROM table_180802_2 WHERE abbr = "มี.ค."
### Context: CREATE TABLE table_60829 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_7961 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away Team when the Home Team is Fulham? ### Query: SELECT "Away team" FROM tab...
### Context: CREATE TABLE table_name_32 ( shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the shooter with 13 score points and 10 rank points? ### Query: SELECT shooter FROM table_name_32 WHERE sco...
### Context: CREATE TABLE table_80213 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is 1999? ### Query: SELECT "Position" FROM table_80213 WHERE "Year" = '1999...
### Context: CREATE TABLE table_204_638 ( id number, "year" number, "tournament" text, "surface" text, "round" text, "winner" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the first player to win at wimbledon ? ### Qu...
### Context: CREATE TABLE table_8374 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home is on january 11? ### Query: SELECT "Home" FROM table_8374 WHERE "Date" = 'january 11'
### Context: CREATE TABLE table_name_31 ( event VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did the shooter, who had 29 total points, compete in? ### Query: SELECT event FROM table_name_31 WHERE total = "29"