text
stringlengths
197
8.39k
### 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_57 ( school_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the school that hosts jim goodman ### Query: SELECT school_club_team FROM table_name_57 WHERE player = "jim goodman"
### Context: CREATE TABLE table_24445 ( "Class" text, "Weapon" text, "Caliber" text, "Type" text, "Weight (g)" text, "Range (m)" text, "Velocity (m/s)" text, "Impact Energy" text, "Shots" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE ...
### 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 Bookings_Services ( Order_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15), Workshop_Group_ID INTEGER, Product_Description VARCHAR(255), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4), Other_Pro...
### Context: CREATE TABLE table_name_34 ( player VARCHAR, total INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player had a total less than 277? ### Query: SELECT player FROM table_name_34 WHERE total < 277
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int )...
### Context: CREATE TABLE table_2076490_1 ( founded INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest founding date? ### Query: SELECT MAX(founded) FROM table_2076490_1
### Context: CREATE TABLE table_34080 ( "Nation" text, "Finalists" real, "Winners" real, "Runners-up" real, "% won" real, "Years won" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many finalists were there when the years won was 2008 and th...
### Context: CREATE TABLE minor_in ( stuid number, dno number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE faculty ( facid number, lname text, fname text, rank te...
### Context: CREATE TABLE table_204_834 ( id number, "rank" number, "name" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the last finisher from the us ? ### Query: SELECT "name" FROM table_204_834 WHERE "na...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE microbiologyevents ( row_id number, subj...
### Context: CREATE TABLE table_24431264_17 ( points VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the total number of defense points for caroline wozniacki. ### Query: SELECT points AS defending FROM table_24431264_17 WHERE player = "...
### Context: CREATE TABLE table_74104 ( "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 is the 2011 number (,000) when the status is separated? ### Que...
### Context: CREATE TABLE table_204_22 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what 's the number of people who at...
### 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_203_7 ( id number, "pos." number, "artist" text, "single" text, "year" number, "sales" number, "peak" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the total sales of eiffel 65 's blue -lrb- da ba...
### Context: CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE TABLE Transactions_Lots ( transaction_id INTEGER, lot_id INTEGER ) CREATE TABLE Investors ( investor_id INTEGER, Investor_details VARCHAR(255) ) CREATE TABLE Lots ( lot_id INTEGER, inve...
### Context: CREATE TABLE table_202_240 ( id number, "year" number, "single" text, "chart" text, "position" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many singles from dosage appeared on the modern rock tracks charts ? ### Query: SELECT ...
### 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_10192 ( "Name" text, "Service" text, "Rank" text, "Place of action" text, "Unit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the place of action for sergeant rank and 5th company, 2nd marines unit ### Quer...
### Context: CREATE TABLE table_63758 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the director of Little Beau Porky? ### Query: SELECT "Director" FROM ...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TA...
### Context: CREATE TABLE table_49937 ( "Method of administration[ citation needed ]" text, "Category 1" real, "Category 2" real, "Category 3" text, "Category 4" text, "Category 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If category 1 is ...
### Context: CREATE TABLE products ( product_name VARCHAR, product_id VARCHAR ) CREATE TABLE complaints ( product_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the name of all products along with the number of complaints that they have received...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( ...
### Context: CREATE TABLE table_name_13 ( runs VARCHAR, opponent VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many runs did they get against new south wales in 2002/03? ### Query: SELECT runs FROM table_name_13 WHERE opponent = "ne...
### Context: CREATE TABLE table_204_621 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin\nof victory" text, "runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did don january ...
### Context: CREATE TABLE table_name_87 ( total INTEGER, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many medals did China receive? ### Query: SELECT MIN(total) FROM table_name_87 WHERE nation = "china"
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, C...
### Context: CREATE TABLE table_62166 ( "Party" text, "Name in English" text, "City" text, "Province" text, "Date of registration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which province is Pamplona located in? ### Query: SELECT "Province" FR...
### Context: CREATE TABLE table_name_26 ( league VARCHAR, established VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the league established before 1930 with the rayo vallecano club? ### Query: SELECT league FROM table_name_26 WHERE...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_76974 ( "Result" text, "Race" text, "Distance" text, "Weight" real, "Winner or 2nd" text, "Pos'n" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the the name of the winner or 2nd with a weight more than 7....
### Context: CREATE TABLE table_name_76 ( not_outs INTEGER, innings INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of Not Outs when there were more than 25 innings? ### Query: SELECT MIN(not_outs) FROM table_name_76 WHERE innings >...
### Context: CREATE TABLE table_29683 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (millions)" text, "Original U.S. air date" text, "Prod. code" text ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_14345690_2 ( finished VARCHAR, celebrity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did Tara Palmer-Tomkinson finish? ### Query: SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson...
### 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 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_39326 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Surface during the match with Partn...
### Context: CREATE TABLE table_name_51 ( extra INTEGER, meeting VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest extra total before 2003 at the Meeting of all africa games? ### Query: SELECT MAX(extra) FROM table_name_51...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE char...
### Context: CREATE TABLE table_5459 ( "s Car plate (starting 1937)" text, "Voivodeship or city" text, "Capital" text, "Area (1930) in 1,000skm 2" text, "Population (1931) in 1,000s" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Capital of brze nad...
### Context: CREATE TABLE table_75452 ( "Track" text, "Song title" text, "Length" text, "Composer(s)" text, "Performance location(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the composer of the song with a length of 6:24? ### Query: S...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, Ap...
### Context: CREATE TABLE table_name_46 ( surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what surface was the score 6 2, 6 1? ### Query: SELECT surface FROM table_name_46 WHERE score = "6–2, 6–1"
### Context: CREATE TABLE table_58826 ( "Year" real, "Artist" text, "Title" text, "Format" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the artist before 2010 with a Promotional 7' as a format? ### Query: SELECT "Artist" FROM...
### Context: CREATE TABLE table_10153 ( "Rank" real, "Player" text, "Country" text, "Earnings( $ )" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the united states has 22 wins and a rank greater than 2, what is the total earnings?...
### Context: CREATE TABLE table_name_32 ( date VARCHAR, home VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game with pittsburgh as the home team and boston as the visitor team? ### Query: SELECT date FROM table_...
### Context: CREATE TABLE table_204_49 ( id number, "city" text, "country" text, "iata" text, "icao" text, "airport" text, "commenced" number, "ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the next airport listed after d...
### Context: CREATE TABLE table_name_44 ( college VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college is Kellen Davis from? ### Query: SELECT college FROM table_name_44 WHERE player = "kellen davis"
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, ...
### Context: CREATE TABLE table_66995 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Born in 1982, this guard has what listed as a height? ### Query: SELECT "Height" ...
### Context: CREATE TABLE table_name_14 ( away_team VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was hosted at Adelaide Oval? ### Query: SELECT away_team FROM table_name_14 WHERE stadium = "adelaide oval"
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE food_service ( meal_code text...
### Context: CREATE TABLE table_10079 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver medals did the team that had 5 bronze and less than 16 gold have? ### Query: SELE...
### Context: CREATE TABLE table_24430894_20 ( mutya_ng_pilipinas_asia_pacific VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong? ### Query: SELECT 2 AS nd_runner_up FROM table_2443089...
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE table_3975 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the cfl team for patrice denis ### Query: SELECT "CFL Team" FROM table_3975 WHERE "...
### Context: CREATE TABLE table_23579 ( "Title" text, "Author" text, "Reader" text, "Format" text, "Company" text, "Release Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the reader of the audiobook authored by col...
### 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 Posts ( Id number, PostTypeId number, A...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZT...
### Context: CREATE TABLE table_204_966 ( id number, "region" text, "date" text, "label" text, "format" text, "catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what region is above australia ? ### Query: SELECT "region" FROM table_204_96...
### Context: CREATE TABLE table_32039 ( "Manager" text, "Ukraine career" text, "Played" real, "Drawn" real, "Lost" real, "Win %" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total win % of manager viktor prokopenko, when he lost fe...
### Context: CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID i...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE admiss...
### Context: CREATE TABLE table_36562 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Round of joe patterson? ### Query: SELECT MIN("Round") FROM tabl...
### Context: CREATE TABLE table_dev_47 ( "id" int, "gender" string, "gestational_diabetes" bool, "systolic_blood_pressure_sbp" int, "leukopenia" int, "hemoglobin_a1c_hba1c" float, "cd4_count" int, "platelets" int, "diabetic" string, "elevated_blood_pressure" bool, "diastolic_...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE weekly_weather ( station_id int, day...
### Context: CREATE TABLE table_204_790 ( id number, "year" number, "nw rank" number, "venue" text, "opp rank" number, "opponent" text, "score" text, "w/l" text, "round" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_55161 ( "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 the game where the home team sco...
### Context: CREATE TABLE table_name_16 ( christ_madeking VARCHAR, great_tribulation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Christ made king date with a great tribulation in 1925? ### Query: SELECT christ_madeking FROM table_name_16 WHE...
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE table_name_98 ( gold INTEGER, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Gold medals did the Soviet Union receive? ### Query: SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
### Context: CREATE TABLE table_name_48 ( cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? ### Query: SELECT...
### 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 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 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 station_company ( station_id number, company_id nu...
### Context: CREATE TABLE table_name_8 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player with a Place of T10 had a Score of 80-70-72-72=294? ### Query: SELECT player FROM table_name_8 WHERE place = "t10" A...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_2905 ( "Episode" text, "First broadcast" text, "Davids team" text, "Lees team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the davids team for 8 august 2008 ### Query: SELECT "Davids team" FROM...
### Context: CREATE TABLE table_203_809 ( id number, "date" text, "time" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did november 11 or no...
### Context: CREATE TABLE table_18438494_3 ( time VARCHAR, wrestler VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time for the match with Cena? ### Query: SELECT time FROM table_18438494_3 WHERE wrestler = "Cena"
### Context: CREATE TABLE table_1359212_2 ( artist VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the artist performing at heineken music hall? ### Query: SELECT artist FROM table_1359212_2 WHERE venue = "Heineken Music Hall"
### Context: CREATE TABLE table_name_34 ( bronze INTEGER, total VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Total of 4, and a Gold smaller than 1? ### Query: SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND g...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE table_78321 ( "Date" text, "Opponent" text, "Bulls." real, "Opp." real, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number for the Bulls when they were at Old Trafford? ### Query: SELECT COUNT...
### Context: CREATE TABLE table_6219 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Date of 7 june 2000? ### Query: SELECT "Result" FROM table_6219 WHERE "Da...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flig...
### Context: CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_...
### Context: CREATE TABLE table_204_56 ( id number, "year" number, "song" text, "us r&b" number, "us rap" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year had the most singles ? ### Query: SELECT "year" FROM table_204_56...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airp...
### Context: CREATE TABLE table_name_85 ( score VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the game with arsenal win 4-2 on penalties in the attendance field? ### Query: SELECT score FROM table_name_85 WHERE atte...
### Context: CREATE TABLE table_44449 ( "Designation" text, "Name" text, "Launch date" text, "ISS docking date" text, "Deorbit date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the ATV that launched on 9 March 2008, deorbit? ### Query: ...
### Context: CREATE TABLE table_73892 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode w...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...