text
stringlengths
197
8.39k
### 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_20674 ( "State" text, "Preliminary Average" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Semifinal Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the preliminary average for the...
### Context: CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( ...
### 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 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 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 table_70165 ( "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. -- Name the player for 68-68-75-74=285 ### Query: SELECT "Player" FROM t...
### 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_19704392_1 ( modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98 ### Query: SELECT...
### Context: CREATE TABLE table_2144389_9 ( episodes_used VARCHAR, _number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1 is the number what episodes were used? ### Query: SELECT episodes_used FROM table_2144389_9 WHERE _number = 1
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE patients ( row_id number, subject_id number, gender ...
### Context: CREATE TABLE table_name_64 ( rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was grea...
### 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 intakeou...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_25882 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment t...
### 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_24111 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Black Knights points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of date for 1-0 record ...
### 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 class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_...
### Context: CREATE TABLE table_19425 ( "State/UT Code" real, "India/State/UT" text, "Literate Persons (%)" text, "Males (%)" text, "Females (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of females where the state code i...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostNotices...
### Context: CREATE TABLE table_41124 ( "Rank" real, "Municipality" text, "Population (2010 Census)" real, "Population (2005 Census)" real, "Population (2000 Census)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest population (2000...
### Context: CREATE TABLE table_name_36 ( census_ranking VARCHAR, population VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62? ### Query: SELECT...
### Context: CREATE TABLE table_69657 ( "Player" text, "Score" text, "Balls" real, "Opponent" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played on waca ground and scored 79 points? ### Query: SELECT "Opponent" FROM table_6965...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE patients ( row_id number, subject_id number, gender ...
### Context: CREATE TABLE customer ( state VARCHAR, acc_type VARCHAR, credit_score VARCHAR, no_of_loans VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the state, account type, and credit score of the customer whose number of loan is 0. ### Quer...
### 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_51 ( finish VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the finish when the country is united states and the player is tiger woods? ### Query: SELECT finish FROM table_name...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locatio...
### Context: CREATE TABLE table_17053 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown of the pitcher who's school was Saint Joseph Regional High School...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_2856 ( "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 table_39493 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pick # is the lowest one that has a College of troy state, and a Na...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_13619053_8 ( high_points VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players led Game #66 in scoring? ### Query: SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66
### 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 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 jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, insp...
### 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 teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Report the number of students...
### 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 ftxmzjzjlb ( HXPLC n...
### 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_203_651 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times after the year 1989 did she come in 1st position ? ### ...
### Context: CREATE TABLE table_13568 ( "Year" real, "Stage" real, "Start of stage" text, "Distance (km)" text, "Category of climb" text, "Stage winner" text, "Yellow jersey" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the Stage w...
### 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_37810 ( "Tournament" text, "2006" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2012 with 2013 of 2r and 2009 of 3r ...
### Context: CREATE TABLE table_25068 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The successor for the Massachusetts 20th district was seated ...
### Context: CREATE TABLE table_47826 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest To Par, when Score is '72-73=145'? ### Query: SELECT MAX("To par") FROM t...
### Context: CREATE TABLE table_26967 ( "Season" real, "Regular Season" text, "Playoffs" text, "U.S. Open Cup" text, "CONCACAF" text, "Final Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many time is the final record is 9 16 5? ###...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE code_description ( code varchar, description text ) CREATE TA...
### Context: CREATE TABLE Projects ( Code Char(4), Name Char(50), Hours int ) CREATE TABLE Scientists ( SSN int, Name Char(30) ) CREATE TABLE AssignedTo ( Scientist int, Project char(4) ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the na...
### Context: CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, d...
### 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_13 ( total INTEGER, floor_exercise VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest total when the floor exercise is less than 36.724 and the rank is lower than 8? ### Query: SELECT MIN(...
### Context: CREATE TABLE table_203_536 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "crowd" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is th...
### Context: CREATE TABLE table_36902 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Attendance of 23,150 had what opponent? ### Query: SELECT "Opponent" FRO...
### Context: CREATE TABLE table_3517 ( "Episode #" text, "Season Episode #" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number o...
### Context: CREATE TABLE table_34866 ( "Year" text, "Title" text, "Role" text, "Producer" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Director has a Role of melissa? ### Query: SELECT "Director" FROM table_34866 WHERE "Ro...
### Context: CREATE TABLE wdmzjzjlb ( 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 table_13836704_9 ( airport VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many airport with rank being 4 ### Query: SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4
### Context: CREATE TABLE table_51891 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was terry cook picked? ### Query: SELECT AVG("Pick") FROM table_51891 WHERE "Player" = '...
### Context: CREATE TABLE table_18662026_10 ( parallel_bars VARCHAR, floor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the floor number is 14.200, what is the number for the parallel bars? ### Query: SELECT parallel_bars FROM table_18662026_10 WHERE f...
### Context: CREATE TABLE table_52073 ( "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 home team played against Richm...
### 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 jybgb_jyjgzbb ( JYZB...
### 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_name_22 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for Ky Laffoon? ### Query: SELECT score FROM table_name_22 WHERE player = "ky laffoon"
### Context: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_17 ( laps INTEGER, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are Perkins Engineering's fewest laps? ### Query: SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering"
### Context: CREATE TABLE table_39024 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the label for December 2004? ### Query: SELECT "Label" FROM table_39024 WHERE "Da...
### Context: CREATE TABLE table_name_9 ( period VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which period did Stanislav Chistov get a penalty? ### Query: SELECT period FROM table_name_9 WHERE player = "stanislav chistov"
### Context: CREATE TABLE table_name_23 ( country VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home country of the player who placed t5 and had a score of 69-71=140? ### Query: SELECT country FROM table_name_2...
### 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_13378 ( "Position" text, "Name" text, "Party" text, "First Election" text, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Position of the person with a First Election of 1988 as Vice Mayor 2009?...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE table_52538 ( "Competition" text, "Played" real, "Drawn" real, "Lost" real, "Position" text, "Coach" text, "Captain" text, "Main Article" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Drawn did Coach F...
### Context: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how old is the...
### Context: CREATE TABLE table_21194 ( "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_204_713 ( id number, "rank" number, "bib" number, "athlete" text, "country" text, "time" text, "deficit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many rankings are there ? ### Query: SELECT MAX("ran...
### Context: CREATE TABLE table_51172 ( "Season" text, "Races" real, "Podiums" real, "Pole" real, "FLaps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007? ### Query: SELECT MIN("Races") FROM tabl...
### 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 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 school ( county VARCHAR, enrollment INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show each county along with the number of schools and total enrollment in each county. ### Query: SELECT county, COUNT(*), SUM(enrollment) FROM scho...
### Context: CREATE TABLE table_8154 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the transfer fee for Jimmy Gibson? ### Query: SELECT "...
### Context: CREATE TABLE table_75884 ( "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Philoxenus Anicetus begin to hold power? ### Query: SELECT "From" FROM table_75884 WH...
### Context: CREATE TABLE table_9247 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area (in km2) for the town of lam que, with a population of ...
### Context: CREATE TABLE table_41806 ( "Country" text, "1997" real, "1998" real, "1999" real, "2000" real, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real, "...
### Context: CREATE TABLE table_name_94 ( team VARCHAR, podiums VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has Podiums of 0, and a Position of nc ? ### Query: SELECT team FROM table_name_94 WHERE podiums = "0" AND positi...
### Context: CREATE TABLE table_76967 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE SCORE WITH A RECORD OF 1-0? ### Query: SELECT "Score" FROM table_76967 WHERE "Rec...
### Context: CREATE TABLE country ( country_id number, country text, last_update time ) CREATE TABLE category ( category_id number, name text, last_update time ) CREATE TABLE language ( language_id number, name text, last_update time ) CREATE TABLE address ( address_id number,...
### 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_90 ( outcome VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Outcome, when Tournament is 'Chiang Mai , Thailand'? ### Query: SELECT outcome FROM table_name_90 WHERE tournament = "chiang mai , t...
### Context: CREATE TABLE table_13176 ( "Ranking" text, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nationality for the player with 33 goals? ### Query: SELECT "Nationality" FRO...
### Context: CREATE TABLE table_43646 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number that is the lowest overall for the College of Baylor? #...
### Context: CREATE TABLE table_name_68 ( manufacturer VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which manucfaturer's type was 2-6-0? ### Query: SELECT manufacturer FROM table_name_68 WHERE type = "2-6-0"
### Context: CREATE TABLE table_35769 ( "Name" text, "Goals" real, "Apps" real, "Avge" real, "Career" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of apps of the player with more than 63 goals and an avge of 0.45? ### Q...
### Context: CREATE TABLE table_25042332_27 ( fixed_telephone_line VARCHAR, vehicle VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fixed telephone line for 25.6% vehicle ### Query: SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = ...
### Context: CREATE TABLE table_27982 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who ...