text
stringlengths
197
8.39k
### 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 table_name_80 ( points INTEGER, premiers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total sum of points scored by the Brisbane Broncos? ### Query: SELECT SUM(points) FROM table_name_80 WHERE premiers = "brisbane bron...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId n...
### Context: CREATE TABLE table_25617 ( "date (dd.mm.yyyy)" text, "Tail number" text, "Location" text, "Fatalities" text, "Brief description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many fatalities were there in the crash described as dit...
### Context: CREATE TABLE table_34465 ( "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 cornerback has the highest round? ### Query: SELECT MAX("Round") F...
### Context: CREATE TABLE table_name_3 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Incumbent that has a District of ohio 13 in Democratic Party? ### Query: SELECT incumbent FROM table_name_3 WHERE district = "ohio...
### Context: CREATE TABLE table_60410 ( "Date" real, "Name" text, "Venue" text, "Winner" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Venue is 'Motherwell'? ### Query: SELECT "Name" FROM tabl...
### Context: CREATE TABLE table_204_839 ( id number, "et" text, "days available" text, "program" text, "host(s)" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many days is fbn live available each week ? ### Query: SELEC...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### Context: CREATE TABLE table_name_89 ( year INTEGER, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total year with a Position of 12th? ### Query: SELECT SUM(year) FROM table_name_89 WHERE position = "12th"
### Context: CREATE TABLE table_57963 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What region is the catalogue number 9362486152 that was from September 3, 2004 from? ### Que...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JCZB...
### Context: CREATE TABLE table_51661 ( "Edition" text, "Round" text, "Date" text, "Surface" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What surface was the April 24, 2003 match played on? ### Query: SELECT "...
### Context: CREATE TABLE table_name_27 ( gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)? ### Q...
### Context: CREATE TABLE table_29012710_1 ( province VARCHAR, number_of_dairy_farms VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the location where there are over 200 cattle businesses ### Query: SELECT province FROM table_29012710_1 WHERE number...
### Context: CREATE TABLE diagnoses ( 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE prescriptions ( row_id ...
### Context: CREATE TABLE table_1211545_2 ( name VARCHAR, heavy_vehicle__2_axles_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? ### Query: SELECT name FROM table_121154...
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID ...
### Context: CREATE TABLE table_10116 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team where the decision was Biro...
### Context: CREATE TABLE table_59351 ( "Player" text, "Round" real, "Pick" real, "Position" text, "NFL Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NFL club with pick # 153? ### Query: SELECT "NFL Club" FROM table_59351 WHERE "...
### Context: CREATE TABLE table_75860 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time with a Ground that is humber college north? ### Query: SELECT "Ti...
### Context: CREATE TABLE table_63635 ( "Year" real, "Category" text, "Nominee(s)" text, "Episode" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest year when Neal Baer was a nominee, and the result was nominated? ###...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( ...
### Context: CREATE TABLE table_name_38 ( nba_draft VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NBA Draft status of the person who went to college at LSU? ### Query: SELECT nba_draft FROM table_name_38 WHERE college = "lsu"
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Eve...
### Context: CREATE TABLE table_70647 ( "Player" text, "Date" text, "Original Team" text, "Offer Team" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was David Backes' Offer Team? ### Query: SELECT "Offer Team" FROM table_70647 ...
### Context: CREATE TABLE table_203_465 ( id number, "name" text, "population (2002 census)" number, "population (2007 estimation)" number, "population (2011 census)" number, "area (km2)" number, "density (pop/km2)" number ) -- Using valid SQLite, answer the following questions for the tab...
### 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_204_43 ( id number, "name" text, "rural\nmunicipality (rm)" text, "population\n(2011)" number, "population\n(2006)" number, "change\n(%)" number, "land\narea\n(km2)" number, "population\ndensity\n(per km2)" number ) -- Using valid SQLite, answer the foll...
### Context: CREATE TABLE table_3336 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name...
### Context: CREATE TABLE table_name_92 ( name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia ro...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy...
### Context: CREATE TABLE Benefits_Overpayments ( council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR ) CREATE TABLE CMI_Cross_References ( source_system_code VARCHAR, cmi_cross_ref_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tax sour...
### Context: CREATE TABLE table_name_9 ( silver VARCHAR, rank VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Silver has a Rank of 3, and a Gold smaller than 2? ### Query: SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3"...
### 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_8894 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number played with 16 points in a position over 4? ### Qu...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE c...
### Context: CREATE TABLE table_name_47 ( place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is David Graham in? ### Query: SELECT place FROM table_name_47 WHERE player = "david graham"
### Context: CREATE TABLE table_26986076_1 ( sat_21_aug VARCHAR, thurs_26_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th? ### Query: SELECT COUNT(sat_21_aug) FROM table_26986076_1 WHERE ...
### Context: CREATE TABLE table_80032 ( "Type" text, "Person(s)" text, "Publisher(s)" text, "Publication date" text, "Reported price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the publication date of the photos of Sean Preston Federlin...
### 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 table_18184 ( "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's the result with district being washington 7 ### Que...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE 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_name_2 ( october INTEGER, record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which October has a Record of 5 1 0, and a Game larger than 6? ### Query: SELECT AVG(october) FROM table_name_2 WHERE record = ...
### Context: CREATE TABLE table_11622562_1 ( winner VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the winner of the Painewebber Invitational tournament? ### Query: SELECT winner FROM table_11622562_1 WHERE tournament = "PaineWebb...
### Context: CREATE TABLE table ( platform VARCHAR, weight VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the platform if the weight is 131.5g? ### Query: SELECT platform FROM table WHERE weight = "131.5g"
### Context: CREATE TABLE table_4885 ( "Year" text, "Player" text, "Nationality" text, "Position" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player played for the Balmain Tigers? ### Query: SELECT "Player" FROM table_4885 WHER...
### 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 jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_22464685_1 ( author VARCHAR, english_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the auther when the english name was histories and eulogies of the sovereigns? ### Query: SELECT author FROM table_22464685_1 WHE...
### 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_6034 ( "Year" real, "Group" text, "Award" text, "Film/Series" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which group nominated Kim in years before 2010 for Thirst? ### Query: SELECT "Group" FROM ta...
### Context: CREATE TABLE table_9571 ( "Year" real, "Character" text, "Title" text, "Author" text, "Artist" text, "Imprint" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the title when the imprint is dengeki bunko and the artist is kiyo...
### Context: CREATE TABLE table_66230 ( "!Event" real, "Round" text, "Surface" text, "Winner" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is iv n navarro's opponent? ### Query: SELECT "Opponent" FROM table...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, win...
### 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_78544 ( "Tujunga" text, "La Crescenta- Montrose" text, "Glendale" text, "La Ca\u00f1ada Flintridge" text, "Pasadena" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Pasadena is at 10%, what is La Crescenta-Montros...
### Context: CREATE TABLE table_12387 ( "Year" real, "Gold" text, "Silver" text, "Bronze" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Notes, when Bronze is 'Pasi Ikonen'? ### Query: SELECT "Notes" FROM table_12387 WHERE "Br...
### Context: CREATE TABLE table_73389 ( "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. -- How many vacators were in the Pennsylvania 33rd district? ##...
### Context: CREATE TABLE table_15608800_2 ( wheel_arrangement VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of wheel arrangement when class is d14 ### Query: SELECT COUNT(wheel_arrangement) FROM table_15608800_2 WHERE class ...
### Context: CREATE TABLE table_74105 ( "Status" text, "2001 number (,000)" real, "2001 %" text, "2011 number (,000)" real, "2011 %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What si the 2011 number (,000) when 2001 % is 28.1? ### Query: SELEC...
### Context: CREATE TABLE table_45694 ( "Election" real, "Candidates fielded" real, "# of seats won" real, "Total votes" real, "% of popular vote" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the highest Total vot...
### 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 table_62618 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Venue, when Date is '14/12/1996'? ### Query: SELECT "Venue" FROM table_62618 W...
### Context: CREATE TABLE table_714 ( "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 is the number of results for james shannon? ### Query: ...
### Context: CREATE TABLE table_name_4 ( played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Played has a Lost larger than 4, and a Team of am rica, and Points smaller than 5? ### Query: SELECT SUM...
### Context: CREATE TABLE table_25561560_2 ( yacht VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the yacht type of Icap Leopard? ### Query: SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"
### Context: CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) 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 t...
### Context: CREATE TABLE zzmzjzjlb ( 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 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_42319 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Set 5 with a Date that is jun 29?...
### 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_81 ( long INTEGER, name VARCHAR, avg_g VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Long, when Name is Kass, Rob, and when Avg/g is less than -0.30000000000000004? ### Query: SELECT MIN(long) FRO...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_41 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value in 1988 when it is 2R in 1997 and SF in 1993? ### Query: SELECT 1988 FROM table_name_41 WHERE 1997 = "2r" AND 1993 = "sf"
### Context: CREATE TABLE table_1261 ( "Name" text, "Position" text, "Number" real, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Namethe school team for season 2008 ### Query: SELECT "...
### Context: CREATE TABLE table_name_18 ( points INTEGER, rider VARCHAR, manufacturer VARCHAR, wins VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of m...
### Context: CREATE TABLE table_16376436_1 ( player VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was pick number 150? ### Query: SELECT player FROM table_16376436_1 WHERE pick__number = 150
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_20785990_2 ( position VARCHAR, home_town VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is the player from Chapel Hill, NC? ### Query: SELECT position FROM table_20785990_2 WHERE home_town = "Chapel Hill, NC"
### Context: CREATE TABLE table_name_43 ( driver VARCHAR, constructor VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the driver for the car constructed by ferrari with a time/retired of +1:06.683? ### Query: SELECT driver FR...
### Context: CREATE TABLE table_1342013_12 ( result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when Leo E. Allen was elected? ### Query: SELECT result FROM table_1342013_12 WHERE incumbent = "Leo E. Allen"
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE Comments ( Id number, PostId number, ...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction...
### Context: CREATE TABLE table_name_25 ( class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps? ### Query:...
### Context: CREATE TABLE table_69502 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of laps with a 21 start? ### Query: SELECT MAX("Laps") ...
### Context: CREATE TABLE product ( product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find products with max page size as 'A4' and pages per minute color smaller than 5. ### Query: SELECT produ...
### Context: CREATE TABLE table_56111 ( "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 away team's score in J...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Users ( Id number, Reputation number, CreationDate...
### Context: CREATE TABLE table_4338 ( "Engine" text, "Horsepower" text, "Torque" text, "Carburetor" text, "Compression Ratio" text, "Bore & Stroke" text, "VIN Code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the horsepower for VIN ...
### Context: CREATE TABLE table_26460435_7 ( status VARCHAR, monarch VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status for the monarch Mingyinyo? ### Query: SELECT status FROM table_26460435_7 WHERE monarch = "Mingyinyo"
### Context: CREATE TABLE table_name_25 ( power VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Power has a Name of 9 ad? ### Query: SELECT power FROM table_name_25 WHERE name = "9 ad"
### Context: CREATE TABLE table_name_48 ( hangul VARCHAR, kana VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Hangul of the Province with a Kana of ? ### Query: SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう"
### Context: CREATE TABLE table_name_33 ( party VARCHAR, president VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party affiliation for President Stefano Baccelli? ### Query: SELECT party FROM table_name_33 WHERE president = "stefano baccelli"
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, ic...
### Context: CREATE TABLE table_23998 ( "Name" text, "Completions" real, "Attempts" real, "Completion %" text, "Yards" real, "Touchdowns" real, "Interceptions" real, "QB Rating" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many att...
### Context: CREATE TABLE table_18123 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many party were listed for district oklahoma 5? ### Q...
### 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, ...