text
stringlengths
197
8.39k
### Context: CREATE TABLE movie ( mid number, title text, year number, director text ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_30918 ( "No. overall" real, "No. for series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "UK viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who direc...
### Context: CREATE TABLE table_17941111_2 ( s VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 0-100 km/hs for name of 2.0 8v ### Query: SELECT 0 AS _100km_h, s FROM table_17941111_2 WHERE name = "2.0 8v"
### Context: CREATE TABLE table_27971 ( "Stage" real, "Winner" text, "General classification" text, "Sprint Classification" text, "Mountains Classification" text, "Points Classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE table_36904 ( "Name" text, "GP-GS" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Long for derrick locke? ### Query: SELECT SUM("Long") FROM table...
### Context: CREATE TABLE table_67070 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game against the Indians when the record was 15-...
### Context: CREATE TABLE table_11352 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who built the car that has a Time/Retired of 1:34:12.912? ### Query: SELECT "Construc...
### Context: CREATE TABLE table_name_25 ( producer_s_ VARCHAR, length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who produced the track that is 4:16 long? ### Query: SELECT producer_s_ FROM table_name_25 WHERE length = "4:16"
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### 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 zyjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_716 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election featuring ike skelton? #...
### Context: CREATE TABLE table_16083989_1 ( voges_proskauer VARCHAR, citrate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the results for testing the species with voges-proskauer when citrate yields a positive result? ### Query: SELECT voges_pro...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( ...
### Context: CREATE TABLE table_train_273 ( "id" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "body_weight" float, "hba1c" float, "insulin_requirement" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE T...
### Context: CREATE TABLE table_name_92 ( election VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 1st Party has an election in 1865? ### Query: SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865"
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE du...
### Context: CREATE TABLE table_42094 ( "Office" text, "Democratic ticket" text, "Republican ticket" text, "American Labor ticket" text, "Socialist ticket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which American Labor candidate ran against Rep...
### Context: CREATE TABLE table_24473 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Asian rider classification" text, "Team classification" text, "Asian team classification" text ) -- Using valid SQLite, an...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_51964 ( "State" text, "Norwegian Americans (2000)" real, "Percent (2000)" text, "Norwegian Americans (2009)" real, "Percent (2009)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Norwegian Americans have Norw...
### Context: CREATE TABLE table_75962 ( "Tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "Win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_name_31 ( scorers VARCHAR, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for Scorers when the Opponent was west germany on October 7? ### Query: SELECT scorers FROM table_name_31 WHERE o...
### Context: CREATE TABLE table_4400 ( "Model" text, "Sensor resolution, size , type" text, "Lens (35mm equiv) zoom, aperture" text, "Digital Zoom" text, "LCD screen size, pixels" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lens zoom ...
### Context: CREATE TABLE table_61554 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of the player with playoff money and a score of 66...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time...
### Context: CREATE TABLE table_name_78 ( average_cards_a_game INTEGER, season VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38? ### Query: SELECT MAX(average_...
### Context: CREATE TABLE table_name_43 ( week INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of at san francisco 49ers had what lowest week? ### Query: SELECT MIN(week) FROM table_name_43 WHERE opponent = "at san francisco 49ers"
### Context: CREATE TABLE table_20196 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the school/club team for jawann oldham ### Q...
### Context: CREATE TABLE table_name_58 ( result VARCHAR, year VARCHAR, nominated_work VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for the king and I after 2006? ### Query: SELECT result FROM table_name_58 WHERE year > 2006 AND nom...
### 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 table_name_20 ( gold VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the gold for netherlands ### Query: SELECT gold FROM table_name_20 WHERE nation = "netherlands"
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, ...
### Context: CREATE TABLE table_15905399_1 ( active VARCHAR, iin_ranges VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is the iin range 4 active? ### Query: SELECT active FROM table_15905399_1 WHERE iin_ranges = "4"
### Context: CREATE TABLE table_12535 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country of the player whose score is 71-69-70-69=279?...
### Context: CREATE TABLE gyb ( 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_name_57 ( livery VARCHAR, number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Livery when the Number is 31468? ### Query: SELECT livery FROM table_name_57 WHERE number = 31468
### Context: CREATE TABLE table_name_50 ( result VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What result had a score of 3 0? ### Query: SELECT result FROM table_name_50 WHERE score = "3–0"
### Context: CREATE TABLE table_4467 ( "MPEG-1" text, "MPEG-2" text, "MPEG-4 ASP ( MPEG-4 Part 2 ), i.e. DivX , XviD" text, "H.264/MPEG-4 AVC ( MPEG-4 Part 10 )" text, "QuickTime" text, "RealVideo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: 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_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROV...
### Context: CREATE TABLE table_2104176_1 ( medal_of_honor VARCHAR, air_force_cross VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Medal of Honor with Army Distinguished Service Medal? ### Query: SELECT medal_of_honor FROM table_2104176_1 WHERE ...
### Context: CREATE TABLE table_203_565 ( id number, "wrestlers" text, "times" number, "date" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last date listed ? ### Query: SELECT "date" FROM table_203_5...
### Context: CREATE TABLE table_9983 ( "Week" real, "Date" text, "Opponent" text, "Score" text, "Result" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of weeks where the result was listed...
### Context: CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paper ( paperid int, title varchar,...
### Context: CREATE TABLE table_5473 ( "Corps Name" text, "Number of Finals Appearances" real, "Year of First Appearance" real, "Year of Most Recent Appearance" real, "All Years of Finals Appearances" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE d_icd_procedures ( 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_35104 ( "Sanskrit \u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d" text, "Tamil \u0ba4\u0bae\u0bbf\u0bb4\u0bcd" text, "Telugu \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41" text, "Kannada \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" text, "Malayalam \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0...
### Context: CREATE TABLE table_57924 ( "Release format" text, "Country" text, "Label(s)" text, "Cat. no." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date for the standard cd release format in north ameri...
### Context: CREATE TABLE table_17625749_3 ( points_for VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points are there for 63 tries against? ### Query: SELECT points_for FROM table_17625749_3 WHERE tries_against = "63"
### 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_63591 ( "Date" text, "Team 1" text, "Result" text, "Team 2" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team is 2 when the game result is 0-4 at Pailing Sport Park? ### Query: SELECT "Team 2" F...
### Context: CREATE TABLE table_name_39 ( pick VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Ralph Shoaf's pick number? ### Query: SELECT pick FROM table_name_39 WHERE name = "ralph shoaf"
### Context: CREATE TABLE table_204_635 ( id number, "round" number, "selection" number, "player" text, "position" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the last draftee to be picked by the team ? ### Query: SEL...
### Context: CREATE TABLE table_204_883 ( id number, "pos." text, "name" text, "place of birth" text, "date of birth" text, "previous club" text, "date joined" text, "fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players a...
### 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 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 table_name_77 ( length VARCHAR, remarks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the highway with remarks that it was replaced by bsi-35? ### Query: SELECT length FROM table_name_77 WHERE remarks = "repl...
### Context: CREATE TABLE ENROLL ( CLASS_CODE varchar(5), STU_NUM int, ENROLL_GRADE varchar(50) ) CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), P...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE 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_11181 ( "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 was the score of the team that...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, ...
### 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_25675509_1 ( date__yyyy_mm_dd_ VARCHAR, latitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date did the shock at latitude 08.909 s occur? ### Query: SELECT date__yyyy_mm_dd_ FROM table_25675509_1 WHERE latitude ...
### 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_6659 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2012 for us open ### Query: SELECT "2012" FROM table_6659 WHERE "Tourna...
### 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_19283 ( "Series" text, "Main presenter" text, "Co-presenter" text, "Comedian" text, "UK co-presenter" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What series have Caroline Flack as a main presenter? ### Query: SEL...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResults ( I...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_1241 ( "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. -- When did the playoffs reached Conference Finals? ### Query: SE...
### Context: CREATE TABLE round ( Round_ID int, Member_ID int, Decoration_Theme text, Rank_in_Round int ) CREATE TABLE member ( Member_ID int, Name text, Country text, College_ID int ) CREATE TABLE college ( College_ID int, Name text, Leader_Name text, College_Location ...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_53641 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 la...
### 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_83 ( championship VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which championship did the winner have a score of 9 (66-69-73-71=279)? ### Query: SELECT championship FROM table_name_83 WHERE wi...
### Context: CREATE TABLE table_name_5 ( laps INTEGER, driver VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the sum of Laps for wolfgang von trips, and a grid larger than 5 ### Query: SELECT SUM(laps) FROM table_name_5 WHERE driver...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE SuggestedEditVotes ( Id number, Sugge...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid n...
### Context: CREATE TABLE table_24538 ( "University" text, "Established as a university" real, "First establishment" real, "Student population ( FTE , 2009)" real, "Research grants (2009, in billion SEK )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_2076608_3 ( control VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the control type which was founded in 1818? ### Query: SELECT control FROM table_2076608_3 WHERE founded = "1818"
### 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 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 CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, TagName tex...
### Context: CREATE TABLE tweets ( UID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of users who posted some tweets. ### Query: SELECT COUNT(DISTINCT UID) FROM tweets
### Context: CREATE TABLE table_854 ( "Rnd" real, "Circuit" text, "GTP Winning Team" text, "Lights Winning Team" text, "GTO Winning Team" text, "GTU Winning Team" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mos...
### Context: CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80),...
### Context: CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Nu...
### Context: CREATE TABLE table_71281 ( "Screening Started" text, "Screening Completed" text, "Chapter Unfrozen" text, "Chapter Opened" text, "Chapter Closed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the screening started when it was comp...
### Context: CREATE TABLE table_25938117_1 ( winner VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winner for jan 24 ### Query: SELECT winner FROM table_25938117_1 WHERE date = "Jan 24"
### Context: CREATE TABLE Student ( age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many students are age 18? ### Query: SELECT COUNT(*) FROM Student WHERE age = 18
### 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_66358 ( "Title" text, "Series" text, "Director" text, "Production Number" real, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production number for Bell Hoppy in the MM...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, K...
### 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_66209 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Reserved for when there...
### Context: CREATE TABLE table_1850339_2 ( season VARCHAR, army___navy_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)? ### Query: SELECT COUNT(sea...
### Context: CREATE TABLE table_11662133_1 ( gross_tonnage INTEGER, ships_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum gross tonnage of the Munich? ### Query: SELECT MIN(gross_tonnage) FROM table_11662133_1 WHERE ships_name = "Mun...