text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_27 ( try_bonus VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What try bonus has a club of caerphilly rfc? ### Query: SELECT try_bonus FROM table_name_27 WHERE club = "caerphilly rfc"
### Context: CREATE TABLE table_name_46 ( combined VARCHAR, super_g VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Combined, when Super G is less than 10, and when Overall is less than 4? ### Query: SELECT combined FROM table_na...
### 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 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_8149 ( "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 above...
### 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_name_76 ( time VARCHAR, react VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total Time listings have a 0.209 React entry and a Rank that is greater than 7? ### Query: SELECT COUNT(time) FROM table_...
### 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 mzb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_52420 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result with notes of quarter-finals and event of adcc 2001 absolute...
### Context: CREATE TABLE table_35983 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Events is the highest one that has a Top-10 l...
### Context: CREATE TABLE table_61420 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft ( m )" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 ...
### Context: CREATE TABLE table_name_83 ( catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy? ...
### Context: CREATE TABLE table_70829 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average of Fiji with t10 Finish? ### Query: SELECT AVG("...
### Context: CREATE TABLE table_53 ( "Year" real, "Aircraft kilometers" real, "Departures" real, "Flying hours" real, "Passengers" real, "Seat factor" text, "Employees" real, "Profit/loss" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- O...
### Context: CREATE TABLE table_name_50 ( gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country won gold in the year(s) that Chinese Taipei won bronze? ### Query: SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei"
### Context: CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, ...
### Context: CREATE TABLE table_name_83 ( provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which provider is pay with analogue cable? ### Query: SELECT provider FROM table_name_83 WHERE free_or_pay = "pa...
### 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 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 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_50207 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years won with a total of 282? ### Query: SELECT "Year(...
### Context: CREATE TABLE table_name_85 ( county VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What counties mascot are the Red Ramblers? ### Query: SELECT county FROM table_name_85 WHERE mascot = "red ramblers"
### Context: CREATE TABLE table_name_19 ( opened INTEGER, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average Opened has a Manufacturer of vekoma? ### Query: SELECT AVG(opened) FROM table_name_19 WHERE manufacturer = "vekoma"
### Context: CREATE TABLE table_29702 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE table_name_41 ( co_driver VARCHAR, number VARCHAR, laps VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the co-driver for the team with more than 160 laps and the number 6 after 2010? ### Query: SELECT ...
### Context: CREATE TABLE table_10015132_9 ( nationality VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the nationality of the players on the Fresno State school/club team? ### Query: SELECT nationality FROM table_10015132...
### Context: CREATE TABLE table_11303072_9 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of David Bairstow? ### Query: SELECT nationality FROM table_11303072_9 WHERE player = "David Bairstow"
### Context: 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId n...
### 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 table_2538117_7 ( nickname VARCHAR, founding_university VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the founding university is in Charlotte, NC, what is the nickname? ### Query: SELECT nickname FROM table_2538117_7 WHERE foun...
### Context: CREATE TABLE table_42395 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result of the 2010 (83rd) Ceremony? ##...
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE days ( days_code varchar, day_name ...
### Context: CREATE TABLE table_52914 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Driver has 28 Laps and a Grid greater than 5? ### Query: SELECT "Driver" FROM ta...
### Context: CREATE TABLE table_name_23 ( district VARCHAR, area__km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total population of the district of Klang, with an area larger than 636? ### Query: SELECT COUNT(2010 AS _population) FROM ta...
### Context: CREATE TABLE table_name_23 ( losses INTEGER, win__percentage VARCHAR, no_result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0? ### Query: SELECT...
### Context: CREATE TABLE table_name_19 ( result VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game played in front of 65,473? ### Query: SELECT result FROM table_name_19 WHERE attendance = "65,473"
### Context: CREATE TABLE table_78523 ( "Team" text, "Games Played" real, "Wins" real, "Losses" real, "Ties" real, "Goals For" real, "Goals Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For teams with 7 wins, what is the number of ...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE table_21103 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a longitude measure of 20.0e? ### ...
### Context: CREATE TABLE procedures_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_c...
### 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstop...
### Context: CREATE TABLE table_62961 ( "Hampden FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of Byes when there are more than 2 wins and 1946 ...
### Context: CREATE TABLE table_203_697 ( id number, "player" text, "career" text, "nickname" text, "team inducted as" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players were inducted as players of the philadelphia phillies ? ### Query...
### Context: CREATE TABLE table_name_89 ( region VARCHAR, catalogue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which region had a catalogue number of 9362482872? ### Query: SELECT region FROM table_name_89 WHERE catalogue = "9362482872"
### Context: CREATE TABLE table_name_48 ( result VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Result in 2013? ### Query: SELECT result FROM table_name_48 WHERE year = 2013
### Context: CREATE TABLE table_60393 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When rank is 7 and silver is less than 0, what is the total gold? ### Query: S...
### Context: 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 ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE Financial_transactions ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many transactions do we have? ### Query: SELECT COUNT(*) FROM Financial_transactions
### Context: CREATE TABLE table_name_54 ( region VARCHAR, label VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region of the Alfa Records release with catalog ALCA-282? ### Query: SELECT region FROM table_name_54 WHERE label...
### Context: CREATE TABLE table_14310205_1 ( team VARCHAR, conmebol_1996 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of teams where conmebol 1996 did not qualify? ### Query: SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 ...
### Context: CREATE TABLE table_28628309_6 ( player VARCHAR, totals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the player when totals were 105-161? ### Query: SELECT player FROM table_28628309_6 WHERE totals = "105-161"
### 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 manufacturer ( Manufacturer_ID int, Open_Year real, Name text, Num_of_Factories int, Num_of_Shops int ) CREATE TABLE furniture_manufacte ( Manufacturer_ID int, Furniture_ID int, Price_in_Dollar real ) CREATE TABLE furniture ( Furniture_ID int, Name tex...
### Context: CREATE TABLE table_24172078_2 ( segment_1 VARCHAR, episode__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the segment 1 for episode # 2/225 ### Query: SELECT segment_1 FROM table_24172078_2 WHERE episode__number = "2/225"
### Context: CREATE TABLE table_name_63 ( total VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total with a +4 to par? ### Query: SELECT total FROM table_name_63 WHERE to_par = "+4"
### Context: CREATE TABLE table_12463 ( "College or Campus Name" text, "Location" text, "District" text, "Affiliation" text, "Estd" real, "Weblink" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was anna university - panruti campus ...
### Context: CREATE TABLE table_23339 ( "Contestant" text, "Background" text, "Original team" text, "Age" real, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the contestant who finished in 10th place orig...
### Context: CREATE TABLE ftxmzjzjlb ( 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 table_name_43 ( city VARCHAR, past_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what city has a past season of n/a? ### Query: SELECT city FROM table_name_43 WHERE past_season = "n/a"
### Context: CREATE TABLE table_22214 ( "Position" real, "Channel" text, "Analogue terrestrial channel" text, "Digital terrestrial channel" text, "Internet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the digital terrestria channel number...
### Context: CREATE TABLE Appointment ( AppointmentID INTEGER, Patient INTEGER, PrepNurse INTEGER, Physician INTEGER, Start DATETIME, End DATETIME, ExaminationRoom TEXT ) CREATE TABLE Affiliated_With ( Physician INTEGER, Department INTEGER, PrimaryAffiliation BOOLEAN ) CREATE T...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_2668243_17 ( first_elected VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% ### Query: SELECT COUNT(first_elected) FROM...
### 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 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_13305 ( "Period" text, "Internet Explorer" text, "Firefox" text, "Safari" text, "Opera" text, "Netscape" text, "Other Mozilla" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of users were using...
### 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 table_42972 ( "City of License /Market" text, "Station" text, "Channel TV ( DT )" text, "Years owned" text, "Current affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the city containing the KDKA-TV statio...
### Context: CREATE TABLE table_name_32 ( competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition listed is dated November 17, 2003? ### Query: SELECT competition FROM table_name_32 WHERE date = "november 17, 2003"
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity tex...
### Context: CREATE TABLE table_33389 ( "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. -- What venue did melbourne play at as...
### Context: CREATE TABLE table_name_2 ( services VARCHAR, area_of_operation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What services were in the area of operation Wadi Borjuj? ### Query: SELECT services FROM table_name_2 WHERE area_of_operation = "wadi...
### Context: CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CR...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, count...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, Accepted...
### Context: CREATE TABLE table_name_7 ( venue VARCHAR, competition VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which venue did he place 3rd in the World Race Walking Cup? ### Query: SELECT venue FROM table_name_7 WHERE competiti...
### 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 table_name_47 ( state VARCHAR, member VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state did Hon David Beddall belong to? ### Query: SELECT state FROM table_name_47 WHERE member = "hon david beddall"
### Context: CREATE TABLE table_8891 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of points with more than 5 losses and more than 14 played? ##...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_name_8 ( attenmdance VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at war memorial stadium? ### Query: SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium"
### Context: CREATE TABLE table_2411 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When there are 7.5 million viewers what is the archive? ### Query:...
### Context: CREATE TABLE table_name_19 ( best_score VARCHAR, worst_dancer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the best score, with the worst dancer(s) gethin jones/kenny logan? ### Query: SELECT best_score FROM table_name_19 WHERE wors...
### Context: CREATE TABLE table_56967 ( "Track" real, "Title" text, "Translation" text, "Composer" text, "Recorded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tracks were Recorded 1964-01-08? ### Query: SELECT COUNT("Track") FROM table...
### 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_203_494 ( id number, "party" text, "votes" number, "%" number, "swing" number, "seats" number, "change" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many seats does the independent party hold ? ### Qu...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) 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 inputev...
### Context: CREATE TABLE table_9202 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest round for the player Claude Periard? ### ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalpe...
### Context: CREATE TABLE table_32665 ( "Player" text, "Nationality" text, "Position" text, "From" real, "School/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the above are from 1987? ### Query: SELECT "School/Country" FROM table...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ...