text
stringlengths
197
8.39k
### 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_name_52 ( november VARCHAR, year VARCHAR, october VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is in November after 1988 when Prinzzess is in October? ### Query: SELECT november FROM table_name_52 WHERE year > 1988 ...
### 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 requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar )...
### Context: CREATE TABLE table_204_48 ( id number, "date" text, "race name" text, "location" text, "uci rating" text, "winner" text, "team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the first race in the year ? ###...
### Context: CREATE TABLE player_award ( player_id TEXT, award_id TEXT, year INTEGER, league_id TEXT, tie TEXT, notes TEXT ) CREATE TABLE team_half ( year INTEGER, league_id TEXT, team_id TEXT, half INTEGER, div_id TEXT, div_win TEXT, rank INTEGER, g INTEGER, ...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDa...
### Context: CREATE TABLE table_30241 ( "Entrant" text, "Constructor" text, "Car" text, "Driver" text, "Co-driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the person that is part of the belgian vw club that works wit...
### Context: CREATE TABLE table_15187735_19 ( segment_a VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the segment A on episode 237? ### Query: SELECT segment_a FROM table_15187735_19 WHERE episode = 237
### Context: CREATE TABLE pilot ( Pilot_ID int, Pilot_name text, Rank int, Age int, Nationality text, Position text, Join_Year int, Team text ) CREATE TABLE pilot_record ( Record_ID int, Pilot_ID int, Aircraft_ID int, Date text ) CREATE TABLE aircraft ( Aircraft_ID ...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, ...
### Context: CREATE TABLE table_name_68 ( first_airdate VARCHAR, episodes VARCHAR, nielsen_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38? ### Q...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE procedures_icd ( row_id number, subject_id...
### 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_66089 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location for the game with a score of w 106-81? ###...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_name_55 ( area__km²_ INTEGER, population__2010_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the lowest area with a population of 7,616? ### Query: SELECT MIN(area__km²_) FROM table_name_55 WHERE population__2010_ ...
### Context: CREATE TABLE table_16588 ( "#" real, "Episode" text, "Air Date" text, "Timeslot (EST)" text, "Season" text, "Rating" text, "Share" real, "18\u201349" text, "Viewers (m)" text, "Rank (#)" text ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_6104 ( "Celebrity" text, "Known for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did the person who finished in 12th place leave on? ### Query: SELECT "Exit...
### Context: CREATE TABLE book_club ( publisher VARCHAR, YEAR VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all publishers which do not have a book in 1989. ### Query: SELECT publisher FROM book_club EXCEPT SELECT publisher FROM book_club WHERE YEAR =...
### Context: CREATE TABLE table_name_47 ( overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Position of defensive tackle, and a Round of 4, and a Pick # smaller than 36 has what overall aver...
### Context: CREATE TABLE table_name_24 ( record VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Record of the game in which the Trail Blazers was the visiting team? ### Query: SELECT record FROM table_name_24 WHERE visitor = "t...
### Context: CREATE TABLE table_name_99 ( date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price? ### Query: ...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) 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, thu...
### Context: CREATE TABLE Albums ( label VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the labels? ### Query: SELECT DISTINCT label FROM Albums
### Context: CREATE TABLE table_name_72 ( driver VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which river had 26 points? ### Query: SELECT driver FROM table_name_72 WHERE points = 26
### Context: CREATE TABLE table_70184 ( "Week" real, "Issue Date" text, "Artist" text, "Single" text, "Download" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Issue Date for an Eric Prydz song with a no available Downlo...
### Context: CREATE TABLE customer_orders ( order_id number, customer_id number, order_date time, order_status_code text ) CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TA...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE table_name_59 ( december INTEGER, opponent VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum for December against the vancouver canucks earlier than game 33? ### Query: SELECT SUM(december) FROM table...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, ...
### Context: CREATE TABLE table_name_96 ( cuts_made INTEGER, wins VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many vuts made for a player with 2 wins and under 7 top 5s? ### Query: SELECT AVG(cuts_made) FROM table_name_96 WHERE win...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ ...
### Context: CREATE TABLE table_name_47 ( result VARCHAR, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the opponent was Brechin City and the attendance was 656, what was the Result? ### Query: SELECT result FROM table...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, S...
### Context: CREATE TABLE table_11224 ( "Name" text, "Area (km 2 )" real, "Population Estimate 2005" real, "Population Census 2010" real, "Capital" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the population estimate 2005 for the with the ...
### Context: CREATE TABLE table_name_75 ( name VARCHAR, rank VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the name for rank less than 6 and year more than 1974 ### Query: SELECT name FROM table_name_75 WHERE rank < 6 AND year > 19...
### 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_26156 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest numbered division Cleveland played in? ###...
### Context: CREATE TABLE table_name_50 ( attendance INTEGER, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Attendance with a Result that is w 24-21? ### Query: SELECT MAX(attendance) FROM table_name_50 WHERE result = "w 24-21"
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREAT...
### Context: CREATE TABLE table_10885 ( "Model number" text, "Frequency" text, "L2 cache" text, "FPU width" text, "Multiplier 1" text, "Socket" text, "Release date" text, "Order part number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_57294 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the speed for andy reynolds ### Query: SELECT "Speed" FROM table_57294 WHERE "Rider" = 'andy re...
### 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_2402209_1 ( no_of_barangays VARCHAR, area_coordinator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Barangays lived in the municipality with area coordinator of 110.95? ### Query: SELECT no_of_barangays FROM table_2...
### Context: CREATE TABLE table_41530 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" text, "Province / Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Caps, when Province / Club is DRFC, and when Position is Center...
### Context: CREATE TABLE table_train_107 ( "id" int, "systolic_blood_pressure_sbp" int, "body_weight" float, "modified_hachinski_ischemia_scale" int, "diastolic_blood_pressure_dbp" int, "body_mass_index_bmi" float, "clinical_dementia_rating_cdr" float, "NOUSE" float ) -- Using valid S...
### Context: CREATE TABLE table_train_277 ( "id" int, "gender" string, "cholesterol" float, "blood_platelet_counts" int, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "severe_dyslipidemia" bool, "fasting_triglyceride" int, "body_mass_index_bmi" flo...
### Context: CREATE TABLE table_20963074_1 ( result VARCHAR, original_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of results for octubre ### Query: SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre"
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_name_22 ( launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the ship that was commissioned July 1948 with a bow number of ps-31 launch? ### Query: SELECT launched F...
### Context: CREATE TABLE table_44259 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Team points" real, "Opponent score" real, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which streak before game ...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, ...
### Context: CREATE TABLE table_18600760_13 ( ansi_code INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest ansi code? ### Query: SELECT MIN(ansi_code) FROM table_18600760_13
### Context: CREATE TABLE table_27359 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the NFL Teams in College North Texas State? ### Query: SELECT "NFL Team" FROM ...
### 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_51165 ( "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_40927 ( "From" real, "Goal" text, "Round 1" text, "Round 2" text, "Round 3" text, "Round 4" text, "Round 5" text, "Round 6+" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Round 4 when Round 6+ is ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE trip ( id number, duration number, start_date text, start_station_name text, start_station_id number, end_date text, end_station_name text, end_station_id number, bike_id number, subscription_type text, zip_code number ) CREATE TABLE station ( i...
### Context: CREATE TABLE table_10432 ( "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 is the date when Richmond was ...
### Context: CREATE TABLE table_279 ( "car plates (since 1937)" text, "Voivodeship Separate city" text, "Capital" text, "Area in 1000km\u00b2 (1930)" text, "Population in 1000 (1931)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all areas wit...
### Context: CREATE TABLE table_name_60 ( events INTEGER, player VARCHAR, earnings___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405? ### Query: SELECT AVG(events) FROM tab...
### Context: CREATE TABLE table_1637981_7 ( detroit__dtw_ VARCHAR, grand_rapids__grr_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Grand Rapids's fare was $377.29, what is the fare to Detroit? ### Query: SELECT detroit__dtw_ FROM table_1637981_7 WHER...
### Context: CREATE TABLE table_name_3 ( surface VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the surface for the opponent Marcos Baghdatis? ### Query: SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
### Context: CREATE TABLE table_name_59 ( rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank for Group A athlete Yanina Karolchyk, and a result higher than 18? ### Query: SELE...
### Context: CREATE TABLE table_name_45 ( finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, an...
### Context: CREATE TABLE table_66952 ( "Year" real, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What division did the Nashville Metros play in during the year...
### 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_238124_1 ( bleeding_time VARCHAR, condition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bleeding time for glanzmann's thrombasthenia? ### Query: SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanz...
### Context: CREATE TABLE table_26464 ( "Confederation" text, "Teams started" text, "Teams that have secured qualification" text, "Teams that can still qualify" text, "Teams that have been eliminated" text, "Remaining places in finals" text, "Total places in finals" text, "Qualifying sta...
### 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 requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, ...
### 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_name_34 ( score VARCHAR, total_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score where the total points was 50? ### Query: SELECT score FROM table_name_34 WHERE total_points = 50
### Context: CREATE TABLE table_name_50 ( elevator VARCHAR, elevated VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Elevator of the Elected Elevated on September 21, 1179? ### Query: SELECT elevator FROM table_name_50 WHERE elevated = "september...
### 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 jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_69496 ( "Game" real, "Date" text, "Score" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Attendance larger than 55,189 is which average game? ### Query: SELECT AVG...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, ...
### Context: CREATE TABLE table_32200 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total overall in round 1, in which Charles White was a player? ### Q...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_62659 ( "Rank" real, "Railway Station" text, "Annual entry/exit (millions) 2011\u201312" real, "Annual interchanges (millions) 2011\u201312" real, "Total Passengers (millions) 2011\u201312" real, "Location" text, "Number of Platforms" real ) -- Using valid S...
### Context: CREATE TABLE table_204_416 ( id number, "chip" text, "flash size" text, "eeprom" number, "sram" number, "frequency\n[mhz]" number, "package" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the flash size difference in the...
### Context: CREATE TABLE table_57402 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for december 5 ### Query: SELECT "Score" FROM table_57402 WHERE "Date" = 'decembe...
### Context: CREATE TABLE table_name_29 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average crowd to watch Hawthorn as the away team? ### Query: SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn"
### Context: CREATE TABLE table_name_69 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 2007 of 8 4 is involved in what 2002? ### Query: SELECT 2002 FROM table_name_69 WHERE 2007 = "8–4"
### Context: CREATE TABLE table_17360840_9 ( attendance INTEGER, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the opposing team was the Ottawa Senators and the record was 24-35-17? ### Query: SELEC...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeo...
### Context: CREATE TABLE table_42341 ( "Year" text, "Matches" text, "Wins" text, "Losses" text, "No Result" text, "Success Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the win for the 6 matches? ### Query: SELECT "Wins" FROM t...
### Context: CREATE TABLE table_169766_13 ( show VARCHAR, new_returning_same_network VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which show was sent to syndication for its new/returning/same network. ### Query: SELECT show FROM table_169766_13 WHERE new_...
### Context: CREATE TABLE table_203_277 ( id number, "entered" number, "wrestler" text, "place" text, "eliminated by" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many wrestlers had a time of 6:47 ? ### Query: SELECT COUNT("w...
### Context: CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Tick...
### 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_40292 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which week was the beatles the original artist and the or...
### Context: CREATE TABLE table_52202 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game did was Bud Eley a player in? ### Query: SELECT "Games" FROM table_52202 WHERE "Name" ...
### Context: CREATE TABLE table_54432 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament has a 2011 of 1r? ### Query: SELECT "Tournament" FROM table_54...
### Context: CREATE TABLE table_23409 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of families for uk30 ### Query: SELECT ...