text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_53 ( mascot VARCHAR, ihsaa_class VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Mascot has an IHSAA Class of aaa, and a Location of russiaville? ### Query: SELECT mascot FROM table_name_53 WHE...
### Context: CREATE TABLE table_28794440_1 ( station_type VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What types of stations are located in Cebu? ### Query: SELECT station_type FROM table_28794440_1 WHERE location = "Cebu"
### Context: CREATE TABLE table_45478 ( "Competition" text, "Played" real, "Draw" real, "Lost" real, "Favour" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games did they lose when they tied less than 2 games? ### Quer...
### Context: CREATE TABLE table_4779 ( "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 Essendon the home ...
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE wdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text...
### Context: CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE...
### 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 dual_carrier ( main_airline varchar, ...
### Context: CREATE TABLE table_38506 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of poin...
### Context: CREATE TABLE table_name_94 ( week VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was the game played at Rich Stadium? ### Query: SELECT week FROM table_name_94 WHERE game_site = "rich stadium"
### 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_56404 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the replaced for da...
### Context: CREATE TABLE table_41557 ( "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 RECNet has 40 watts of power and temagami as the city o...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount num...
### Context: CREATE TABLE table_34248 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which name has a Kanji of ? ### Query: SELECT "Name" FROM table_342...
### 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 txmzjzjlb ( 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE cost ( ...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_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, I...
### 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(...
### Context: CREATE TABLE table_1466 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many debut albums did mike mohede have? ### Query: SELEC...
### 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 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_37 ( result VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the bodil award winning film from before 2005 in the best actress category? ### Que...
### Context: CREATE TABLE table_15797 ( "Character" text, "Portrayed by" text, "Main cast seasons" text, "Recurring cast seasons" text, "# of episodes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which main cast seasons were portrayed by Joe Jona...
### Context: CREATE TABLE table_25332 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the unemployment rate for bote...
### Context: CREATE TABLE table_67489 ( "Film" text, "Director(s)" text, "Writer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the film for award of 3,740 ### Query: SELECT "Film" FROM tabl...
### Context: CREATE TABLE table_28028 ( "January\u2013September 2013" text, "Birth/2013" real, "Birth/2012" real, "Death/2013" real, "Death/2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the death/2012 number when death/2013 is 140 an...
### Context: CREATE TABLE table_name_85 ( total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals? ### Query: SELECT MIN(total...
### Context: CREATE TABLE Premises ( premise_id INTEGER, premises_type VARCHAR(15), premise_details VARCHAR(255) ) CREATE TABLE Mailshot_Campaigns ( mailshot_id INTEGER, product_category VARCHAR(15), mailshot_name VARCHAR(80), mailshot_start_date DATETIME, mailshot_end_date DATETIME ) ...
### Context: CREATE TABLE table_name_8 ( new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than...
### Context: CREATE TABLE table_name_24 ( points VARCHAR, drawn VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of points of the team with less than 4 drawn and an against of 34? ### Query: SELECT COUNT(points) F...
### Context: CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, ...
### Context: CREATE TABLE table_2562572_25 ( settlement VARCHAR, cyrillic_name_other_names VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is cyrillic name other names and village is the type and or...
### Context: CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE area ( course_id int, area varchar ...
### Context: CREATE TABLE qtb ( 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 university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_44502 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Set 1 of 25 20? ### Query: SELECT "Date" FROM ...
### 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 employees ( ...
### Context: CREATE TABLE table_33460 ( "Network" text, "Origin of Programming" text, "Language" text, "Genre" text, "Service" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which network's genre is music? ### Query: SELECT "Network" FROM table_334...
### Context: CREATE TABLE table_204_11 ( id number, "year" number, "fbs opponent" text, "result" text, "opponent's conference" text, "opponent's head coach" text, "charleston southern's head coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_1675 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote season 10 ### Query: SELECT "Written by" ...
### Context: CREATE TABLE table_67379 ( "Aircraft" text, "Origin" text, "Type" text, "Versions" text, "In service" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Antonov An-2 Colt aircraft are in service? ### Query: SELECT AVG("In service"...
### Context: CREATE TABLE table_14154271_2 ( rnd VARCHAR, lmp2_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd. ### Query: SELECT rnd FROM table_14154271_2 WHERE lmp2_wi...
### Context: CREATE TABLE table_71084 ( "Parties and voter communities" text, "% 2006" real, "Seats 2006" real, "% 2001" real, "Seats 2001" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the seats 2006 total with %2001 of 39 and seats 2001 l...
### Context: CREATE TABLE table_16230 ( "1st players choice" text, "2nd players choice" text, "Probability 1st player wins" text, "Probability 2nd player wins" text, "Probability of a draw" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the...
### Context: CREATE TABLE table_name_60 ( rank INTEGER, silver INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mean rank had a silver number smaller than 0? ### Query: SELECT AVG(rank) FROM table_name_60 WHERE silver < 0
### Context: CREATE TABLE table_name_20 ( built VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Moores Creek Bridge built? ### Query: SELECT built FROM table_name_20 WHERE name = "moores creek bridge"
### Context: CREATE TABLE table_204_126 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was first place 's difference to par ? ### Qu...
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionD...
### 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_22199 ( "HD designation" text, "Constellation" text, "Distance ( ly )" text, "Spectral type" text, "Signal power ( kW )" real, "Date sent" text, "Arrival date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If...
### 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 Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCoun...
### Context: CREATE TABLE table_35689 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team when the record was 6 12 5 1? ### Query: SELECT "Visitor" FROM table_3...
### Context: CREATE TABLE table_8662 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on week 1? ### Query: SELECT "Result" FROM table_8662...
### Context: CREATE TABLE table_78314 ( "Year of award" real, "Athlete" text, "Nation represented or nation of citizenship" text, "Date(s)" text, "Game or event" text, "Sport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 2011 which sport ha...
### Context: CREATE TABLE gwyjzb ( 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gende...
### Context: CREATE TABLE table_8587 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator" text, "Sideline reporters" text, "Pregame host" text, "Pregame analysts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who does pre...
### 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_23 ( venue VARCHAR, year VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue of the team race that was after 2008? ### Query: SELECT venue FROM table_name_23 WHERE year > 2008 AND notes = ...
### Context: CREATE TABLE table_41081 ( "Airline" text, "Fleet Size" real, "Notes" text, "IOSA (IATA)" text, "EASA (EU)" text, "IASA (FAA)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the EASA (EU) when the notes show aoc 135? ### Qu...
### Context: CREATE TABLE table_36917 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Skip did marju velga lead? ### Query: SELECT "Skip" FROM table_36917 WHERE "Lead" = 'marju ...
### Context: CREATE TABLE table_25870 ( "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 university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, ...
### Context: CREATE TABLE table_15381 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Julio Robledo represents which country? ### Query: SELECT "Country" FROM ...
### Context: CREATE TABLE table_21330550_2 ( time VARCHAR, acc_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the acc team #17 wake forest? ### Query: SELECT time FROM table_21330550_2 WHERE acc_team = "#17 Wake Forest"
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_1140083_2 ( constructor VARCHAR, rnd VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the constructor for round 15? ### Query: SELECT constructor FROM table_1140083_2 WHERE rnd = 15
### Context: CREATE TABLE table_10246 ( "Software" text, "Calculations" text, "Macros" text, "Loci" text, "Animations" text, "Multilingual" text, "Proofs" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Are there proofs in the Tabulae softwar...
### Context: CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM tex...
### Context: CREATE TABLE table_19263 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did Joe Maddock play? ...
### Context: CREATE TABLE table_19161046_1 ( directx VARCHAR, code_name VARCHAR, core___mhz__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz? ### Query: SELECT dir...
### 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_25624 ( "County" text, "Gore %" text, "Gore #" real, "Bush %" text, "Bush #" real, "Others %" text, "Others #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the others % for bush number 1372 ### Query: ...
### Context: CREATE TABLE table_name_72 ( total INTEGER, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average round score of the player who won in 1978? ### Query: SELECT AVG(total) FROM table_name_72 WHERE year_s__won = "1978"
### Context: CREATE TABLE broadcast_share ( Channel_ID int, Program_ID int, Date text, Share_in_percent real ) CREATE TABLE program ( Program_ID int, Name text, Origin text, Launch real, Owner text ) CREATE TABLE broadcast ( Channel_ID int, Program_ID int, Time_of_day t...
### Context: CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, market_value number ) CREATE TABLE gas_station ( station_id number, open_year number,...
### Context: CREATE TABLE WINE ( Grape VARCHAR, Appelation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the grapes and appelations of all wines. ### Query: SELECT Grape, Appelation FROM WINE
### Context: CREATE TABLE table_39519 ( "Source" text, "Date" text, "DeSUS" text, "Zares" text, "NLPD" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the source for Zares at 8.6%? ### Query: SELECT "Source" FROM table_39519 WHERE "Zares" = ...
### Context: CREATE TABLE table_57372 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has attendance listed as 45,024? ### Query: SELECT "Date" FROM table_57372 WHERE...
### Context: CREATE TABLE table_76702 ( "Club" text, "City" text, "Sport" text, "League" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosted the Gridiron Development Football League? ### Query: SELECT "Venue" FROM table_...
### Context: CREATE TABLE table_28548 ( "Round" text, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates are there in rou...
### 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_name_31 ( method VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method when the fight's time was 1:52? ### Query: SELECT method FROM table_name_31 WHERE time = "1:52"
### Context: CREATE TABLE seasons ( year number, url text ) CREATE TABLE constructors ( constructorid number, constructorref text, name text, nationality text, url text ) CREATE TABLE pitstops ( raceid number, driverid number, stop number, lap number, time text, dur...
### Context: CREATE TABLE table_30592 ( "Version" text, "Release" text, "Release date" text, "End of maintenance" text, "Requirement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the version of the 1.0.12 release? ### Query: SELECT "Versio...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Tags ( Id number, TagNam...
### Context: CREATE TABLE table_35050 ( "gzip" text, "bzip2" text, "LHA/LZH" text, "StuffIt" text, "StuffIt X" text, "ISO/CD Image" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bzip2 value associated with a gzip of yes, StuffitX of...
### Context: CREATE TABLE table_977 ( "Common Name" text, "Scientific Name" text, "Life Span" text, "Adult Weight" text, "Height at Shoulder" text, "Length of Fur" text, "Load Bearing Capacity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE 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_name_22 ( money_raised VARCHAR, _2q VARCHAR, total_receipts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the money raised when 2Q has total receipts of $890,398 ### Query: SELECT money_raised, _2q FROM table_nam...
### Context: CREATE TABLE table_46814 ( "Event" text, "Date" text, "Rating" text, "Share" text, "Viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Viewers is 4.4 million? ### Query: SELECT "Date" FROM table_46814 WHERE "Vie...
### Context: CREATE TABLE table_name_59 ( distance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the distance of the race on saturday, august 23? ### Query: SELECT distance FROM table_name_59 WHERE date = "saturday, august 23"