text
stringlengths
197
8.39k
### Context: CREATE TABLE table_204_598 ( id number, "name" text, "state of residence" text, "took office" text, "left office" text, "president served under" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which senior advisor is after pete rouse...
### Context: CREATE TABLE manufacturers ( name VARCHAR, revenue INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of companies whose revenue is between 100 and 150. ### Query: SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid...
### Context: CREATE TABLE table_76591 ( "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_25852 ( "Mother Tongue" text, "Population (2006)" real, "Percentage (2006)" text, "Population (2011)" real, "Percentage (2011)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimum population in 2011? ...
### 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_14423 ( "Date" text, "Opponent" text, "City" text, "Result" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the opponent when the score was 25-0? ### Query: SELECT "Opponent" FROM table_144...
### Context: CREATE TABLE table_204_529 ( id number, "year" number, "personnel" text, "album" text, "label" text, "peak positions\nnor" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was there between tarpan seasons and antologie ? #...
### Context: CREATE TABLE table_1847 ( "No." text, "Summoned" text, "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1462/63 was the elected what was the ...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_co...
### 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 hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, ...
### Context: CREATE TABLE table_7346 ( "Name" text, "Years" text, "League a" text, "FA Cup" text, "League Cup" text, "Other b" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the League Cup for 1947 1958? ### Query: SEL...
### Context: CREATE TABLE table_48661 ( "Province" text, "Region" text, "Capital" text, "Districts" real, "UBIGEO" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What province in Tumbes has less than 11 districts and a UBIGEO of 2401? ### Query: SE...
### Context: CREATE TABLE table_14739 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has won as the result on the date of December 14, 2004? ### Query: SELECT "Score...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturet...
### Context: CREATE TABLE table_name_63 ( rank INTEGER, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Rank, when Director is 'Henry Hathaway'? ### Query: SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway"
### 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 table_10684 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when the score was 6 4, 6 7 (2 7) , 7 5? ### Query: SELECT "Opponen...
### Context: CREATE TABLE table_name_5 ( erp_w INTEGER, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the erp w of the k222al call sign? ### Query: SELECT SUM(erp_w) FROM table_name_5 WHERE call_sign = "k222al"
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE VoteTypes ( Id number, Name text ) CR...
### 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_204_681 ( id number, "2011 rank" number, "2010 rank" number, "2009 rank" number, "2008 rank" number, "2007 rank" number, "company (country)" text, "2011 arms sales (us$ m.)" number, "2010 arms sales (us$ m.)" number, "2009 arms sales (us$ m.)" numb...
### Context: CREATE TABLE table_14735 ( "Position" real, "Club" text, "Played" real, "Points" text, "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 table_21991074_3 ( lost INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least lost ### Query: SELECT MIN(lost) FROM table_21991074_3
### Context: CREATE TABLE table_name_91 ( goals INTEGER, minutes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest number of goals when 2428 minutes were played? ### Query: SELECT MAX(goals) FROM table_name_91 WHERE minutes = 2428
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) -- Using valid S...
### Context: CREATE TABLE table_21792 ( "Rank" real, "Country" text, "Miss United Continent" real, "Virreina" real, "1st RU" real, "2nd RU" real, "3rd RU" real, "4th RU" real, "Semifinalists" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttim...
### Context: CREATE TABLE table_70053 ( "County" text, "Live births 2006" real, "GFR 2006" real, "TFR 2006" real, "Whites as % of Pop." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest total GFR that has 95.80% of the population as ...
### Context: CREATE TABLE table_20233 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was asked 20 questions in the issue ...
### Context: CREATE TABLE table_name_34 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for october 11 ### Query: SELECT record FROM table_name_34 WHERE date = "october 11"
### Context: CREATE TABLE table_train_256 ( "id" int, "mini_mental_state_examination_mmse" int, "language" string, "mild_cognitive_impairment" bool, "moca_score" int, "dementia" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the follow...
### Context: CREATE TABLE table_name_98 ( visitor VARCHAR, decision VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood? ### Query: SELECT visito...
### Context: CREATE TABLE table_25030512_4 ( first_elected VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first elected for alabama 3 ### Query: SELECT COUNT(first_elected) FROM table_25030512_4 WHERE district = "Alabama 3"
### Context: CREATE TABLE table_name_24 ( matches VARCHAR, runs VARCHAR, inns VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Runs smaller than 6106, and Inns smaller than 146 has what total number of matches? ### Query: SELECT COUNT(matches) FROM table_...
### Context: CREATE TABLE table_53520 ( "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. -- On which date was the game where th...
### Context: CREATE TABLE table_21480 ( "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_43964 ( "Bank type" text, "Number of branches" real, "On-site ATMs" real, "Off-site ATMs" real, "Total ATMs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean on-site ATMS that have off-site ATMs of 1567...
### Context: CREATE TABLE table_43536 ( "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 date is aston villa away? ### Query: SELECT "Date" FROM table_43536 WHERE "Away team...
### Context: CREATE TABLE table_name_39 ( conv VARCHAR, pens VARCHAR, tries VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many conversions had 0 pens and 0 tries? ### Query: SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0"
### Context: CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, D...
### Context: CREATE TABLE table_name_21 ( score_in_final VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Final Score on February 24, 2002? ### Query: SELECT score_in_final FROM table_name_21 WHERE date = "february 24, 2002"
### Context: CREATE TABLE table_name_53 ( format VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the format of the date February 14, 2002? ### Query: SELECT format FROM table_name_53 WHERE date = "february 14, 2002"
### 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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, ...
### Context: CREATE TABLE table_61449 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008? ### Query: ...
### 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 table_name_39 ( date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game attended by 45,122? ### Query: SELECT date FROM table_name_39 WHERE attendance = "45,122"
### Context: CREATE TABLE table_204_56 ( id number, "year" number, "song" text, "us r&b" number, "us rap" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only single released in 1993 ? ### Query: SELECT "song" FROM t...
### Context: CREATE TABLE table_name_14 ( rank VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3 ### Query: SELECT MAX(2 AS nd__m_) FROM table_name_14 WHERE r...
### Context: CREATE TABLE table_13067 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- H...
### Context: CREATE TABLE table_34084 ( "Week" real, "Date" text, "Opponent" text, "Time / Time Zone" text, "Game Site" text, "Final Score" text, "Record" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the g...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE date_day ( month_number int, day_number int, year int, ...
### Context: CREATE TABLE table_47178 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the player who scored less than 70? ### Query: SELECT "Place" FROM table...
### Context: CREATE TABLE table_name_71 ( location VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the game with a 6-11-8 record? ### Query: SELECT location FROM table_name_71 WHERE record = "6-11-8"
### Context: CREATE TABLE table_name_74 ( dvd_release_date VARCHAR, season VARCHAR, episodes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the DVD released for the season with fewer than 13 episodes that aired before season 8? ### Quer...
### Context: CREATE TABLE table_1111 ( "Rank" real, "Country" text, "UNWTO Region" text, "International tourist arrivals (2012)" text, "International tourist arrivals (2011)" text, "Change (2011 to 2012)" text, "Change (2010 to 2011)" text ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_7 ( opponent VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent with a score of 109 108? ### Query: SELECT opponent FROM table_name_7 WHERE score = "109–108"
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number,...
### 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 course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### Context: CREATE TABLE table_18018214_4 ( games_played VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games had 22 points? ### Query: SELECT COUNT(games_played) FROM table_18018214_4 WHERE points = 22
### Context: CREATE TABLE table_name_79 ( circuit VARCHAR, date VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the circuit for 10 may for targa florio ### Query: SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "t...
### Context: CREATE TABLE customers ( customer_id number, customer_type_code text, address_line_1 text, address_line_2 text, town_city text, state text, email_address text, phone_number text ) CREATE TABLE products ( product_id number, parent_product_id number, product_categ...
### Context: CREATE TABLE table_68754 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team who played at the hubert h. humphrey metrodome stadiu...
### Context: CREATE TABLE table_name_86 ( attendance VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance that has a record of 43-28? ### Query: SELECT attendance FROM table_name_86 WHERE record = "43-28"
### Context: CREATE TABLE table_25887826_17 ( pos INTEGER, avg VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many POS when the average is 1.8529? ### Query: SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529"
### Context: CREATE TABLE table_name_41 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the away team when played at junction oval? ### Query: SELECT away_team FROM table_name_41 WHERE venue = "junction oval"
### Context: CREATE TABLE table_73331 ( "Year" real, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text, "National Open" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league was involved in 2008? ### Query: SELECT "League...
### Context: CREATE TABLE table_78597 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a Score of 67? ### Query: SELECT "Place" FROM table_7859...
### Context: CREATE TABLE table_name_42 ( color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the color commentator for Eric Dickerson and Melissa Stark in 2001? ### Query: SELECT color...
### Context: CREATE TABLE table_name_73 ( school VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school is located in trafalgar? ### Query: SELECT school FROM table_name_73 WHERE location = "trafalgar"
### Context: CREATE TABLE table_name_40 ( lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a...
### Context: CREATE TABLE table_39710 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on October 4, 1993? ### Query: SELECT "Result" FROM table_39710 WHERE ...
### Context: CREATE TABLE table_name_20 ( laps INTEGER, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of laps for Derek Warwick? ### Query: SELECT SUM(laps) FROM table_name_20 WHERE driver = "derek warwick"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text, person_info_CSD text, person_info_CSRQ time, person_info_GJDM text, person_info_GJMC text, person_info_JGDM text, person_info_JGMC text, person_info_MZDM text, person_info_MZMC text, pers...
### Context: CREATE TABLE table_39003 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round with a guard position and an overall greater than 71? ### Query: S...
### Context: CREATE TABLE table_name_85 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Windy hill is the home to what team? ### Query: SELECT home_team FROM table_name_85 WHERE venue = "windy hill"
### 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_203_42 ( id number, "model" text, "class" text, "length" text, "fuel" text, "starting price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the price of bot the via and tour models combined ? ### Query: S...
### 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 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_1329532_2 ( date_of_election VARCHAR, elected_successor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the election date for Arthur Hodges? ### Query: SELECT date_of_election FROM table_1329532_2 WHERE elected_succes...
### Context: CREATE TABLE table_6207 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was performer 3 with karen maruyama as performer 2? ...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, ...
### Context: CREATE TABLE table_name_15 ( date VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game with a result of won 4-2? ### Query: SELECT date FROM table_name_15 WHERE result = "won 4-2"
### Context: CREATE TABLE table_73999 ( "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 result for willis alston ### Query: SELECT "Resul...
### Context: CREATE TABLE documents_with_expenses ( document_id number, budget_type_code text, document_details text ) CREATE TABLE projects ( project_id number, project_details text ) CREATE TABLE statements ( statement_id number, statement_details text ) CREATE TABLE ref_budget_codes ( ...
### 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 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 t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, ...
### Context: CREATE TABLE table_1646960_3 ( debut_album VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many debut albums did mike mohede have? ### Query: SELECT COUNT(debut_album) FROM table_1646960_3 WHERE winner = "Mike Mohede"
### Context: CREATE TABLE table_29566 ( "A\u00f1o" real, "Trabajo nominado" text, "Premio" text, "Categor\u00eda" text, "Country" text, "Resultado" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the a o was 2012, who was the county? ### Qu...
### Context: CREATE TABLE table_77175 ( "Season" real, "League" text, "Finish" text, "Wins" real, "Losses" real, "Ties" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league had a finish of 2nd and 3 losses? ### Query: SELECT "League" FROM...
### Context: CREATE TABLE table_41555 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the city of license that has lp as the class? ### Q...