text
stringlengths
197
8.39k
### Context: CREATE TABLE table_4590 ( "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 what Date is there a Home team sc...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_i...
### 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 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 table_54764 ( "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 attendance when Essend...
### Context: CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision varchar(3) ) CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS nume...
### Context: CREATE TABLE table_204_604 ( id number, "year" number, "date" text, "driver" text, "team" text, "manufacturer" text, "race distance\nlaps" number, "race distance\nmiles (km)" text, "race time" text, "average speed\n(mph)" number, "report" text ) -- Using valid ...
### Context: CREATE TABLE table_13038 ( "Average population (x 1000)" real, "Live births" text, "Deaths" text, "Natural change" text, "Crude birth rate (per 1000)" real, "Crude death rate (per 1000)" real, "Natural change (per 1000)" real ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE table_57174 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How tall is nerlens noel? ### Query: SELECT "Height" FROM table_57174 WHERE "Player" = 'n...
### Context: CREATE TABLE table_77332 ( "C/W 15+" real, "Oblast\\Age" text, "15 to 17" real, "18 to 19" real, "20 to 24" real, "25 to 29" real, "30 to 34" real, "35 to 39" real, "40 to 44" real, "45 to 49" real, "50 to 54" real, "55 to 59" real, "60 to 64" real, "...
### Context: CREATE TABLE table_name_63 ( director_s_ VARCHAR, recipient VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the film that Avie Luthra received an award for? ### Query: SELECT director_s_ FROM table_name_63 WHERE recipient = "avie lu...
### Context: CREATE TABLE table_56904 ( "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 is the home score with a crowd...
### 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_34 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 2006 has q2 as the 2007? ### Query: SELECT 2006 FROM table_name_34 WHERE 2007 = "q2"
### 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 labevents ( row_id number, subject_id number, hadm_i...
### Context: CREATE TABLE table_43908 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Crowd" real, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game w...
### Context: CREATE TABLE table_name_72 ( year VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year is the status of won? ### Query: SELECT year FROM table_name_72 WHERE status = "won"
### Context: CREATE TABLE table_70144 ( "Year" text, "Starts" real, "Cuts made" real, "Wins" real, "Top 10" real, "Top 25" real, "Earnings (\u20ac)" real, "Money list rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum o...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid t...
### Context: CREATE TABLE table_44649 ( "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 highest round when the overall is less than 17? ### Query: SEL...
### 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_name_40 ( hometown VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Hasan Shah's hometown? ### Query: SELECT hometown FROM table_name_40 WHERE name = "hasan shah"
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, in...
### Context: CREATE TABLE table_73538 ( "Date" text, "Opponent" text, "Location" text, "Irish Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the record where the opponent is central connecticut?...
### Context: CREATE TABLE table_29595 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "First Star" text, "Decision" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_name_35 ( school VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School has a Mascot of squires? ### Query: SELECT school FROM table_name_35 WHERE mascot = "squires"
### Context: CREATE TABLE table_name_95 ( attendance VARCHAR, week INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the attendance when the week was more than 16? ### Query: SELECT attendance FROM table_name_95 WHERE week > 16
### 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 allergy ( all...
### 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 table_name_55 ( time VARCHAR, writer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of songs that have the writer Aaron Schroeder and Wally Gold? ### Query: SELECT time FROM table_name_55 WHERE writer_s_ = "aaro...
### Context: CREATE TABLE table_32996 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tonnage of the Great Britain ship Batna? ### Query: SELECT "Tonnage" FROM table...
### Context: CREATE TABLE table_6919 ( "Season" text, "Games" real, "Lost" real, "Tied" real, "Points" real, "Goals for" real, "Goals against" real, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most points when the ...
### Context: CREATE TABLE table_name_91 ( constructor VARCHAR, race_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which constructor has a race called I News of the World Trophy? ### Query: SELECT constructor FROM table_name_91 WHERE race_name = "i new...
### Context: CREATE TABLE table_24865763_2 ( rnd INTEGER, gt2_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team? ### Query: SELECT MAX(rnd) FROM table_24865763_2 ...
### Context: CREATE TABLE table_name_42 ( mintage INTEGER, year VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the MIntage after 2006 of the Ruby-Throated Hummingbird Theme coin? ### Query: SELECT MAX(mintage) FROM table_name_42 W...
### Context: CREATE TABLE table_1577 ( "Constituency" text, "Electorate" real, "Votes" real, "Turnout" text, "Yes" real, "No" real, "Spoilt" real, "Percent Yes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least yes for dublin...
### Context: CREATE TABLE table_18209 ( "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. -- how many candidates with party being democratic and dbeingt...
### Context: CREATE TABLE table_11734041_16 ( height_in_ft VARCHAR, years_for_rockets VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height in ft for the rockets from 1973-78? ### Query: SELECT height_in_ft FROM table_11734041_16 WHERE years_for...
### Context: CREATE TABLE table_29729 ( "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_51557 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text, "Arena" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the Staples Center? ### Query: SELECT "Opponent" FROM...
### Context: CREATE TABLE table_50722 ( "Rank" real, "Club" text, "Winners" real, "Runners-up" real, "Third" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which club has 1 runners-up with 0 winners and 2 third place earned? ### Query: SELECT "Club...
### 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_2668336_17 ( district VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- First elected in 1807 1817 in what district? ### Query: SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817"
### Context: CREATE TABLE problem_category_codes ( problem_category_code text, problem_category_description text ) CREATE TABLE problems ( problem_id number, product_id number, closure_authorised_by_staff_id number, reported_by_staff_id number, date_problem_reported time, date_problem_c...
### Context: CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Age int ) CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool ) CREATE TABLE school ( School_ID int, Grade text, School text, Location t...
### Context: CREATE TABLE table_78933 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the aggregate score that had a 1-2 second leg score? ### Query...
### Context: CREATE TABLE customers ( customer_id number, customer_first_name text, customer_last_name text, customer_address text, customer_phone text, customer_email text, other_customer_details text ) CREATE TABLE accounts ( account_id number, customer_id number, account_name...
### Context: CREATE TABLE table_name_28 ( type VARCHAR, moving_to VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the type movinig to alianza atl tico? ### Query: SELECT type FROM table_name_28 WHERE moving_to = "alianza atlético"
### 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_28031 ( "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. -- How many maximum points did Curtis sc...
### Context: CREATE TABLE table_204_772 ( id number, "team" text, "county" text, "wins" number, "years won" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team comes before confey ### Query: SELECT "team" FROM table_204_772 WHERE id = (SELEC...
### Context: CREATE TABLE table_name_29 ( year INTEGER, partner VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most recent year gardnar mulloy played as a partner and score was 12 10, 8 10, 12 10, 6 2? ### Query: SELECT MAX(ye...
### 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_71510 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what stadium was the final score 31-28? ### Query: SELECT "Stadium" FROM ta...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostNotices ( Id number, PostId number...
### Context: CREATE TABLE table_203_303 ( id number, "tribunal" text, "number of autos da fe" number, "executions in persona" number, "executions in effigie" number, "penanced" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_28001 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many introductory phrases are...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm...
### Context: CREATE TABLE 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 ( 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_40750 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Away Team of Blackpool's Home game? ### Query: SELECT...
### Context: CREATE TABLE table_24864 ( "No. in series" 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. -- Who wrote when the original airdate is ...
### Context: CREATE TABLE table_33293 ( "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. -- At what venue did the match where t...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_typ...
### Context: CREATE TABLE table_58771 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Method, when Time is '3:20'? ### Query: SELECT ...
### Context: CREATE TABLE table_27692 ( "Country" text, "Contestant" text, "Age" real, "Height (cm)" real, "Height (ft)" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of contestants who are 5'7' and exactly 2...
### Context: CREATE TABLE table_50881 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Rider has a Grid of 21? ### Query: SELECT "Rider" FROM table_50881 WHERE "Grid" = '21'
### Context: CREATE TABLE table_9325 ( "Articulatory class" text, "Non- stop" text, "Plain stop" text, "Aspirated stop" text, "\"Muddy\" voice" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Plain stop is , what is the Non- stop? ### Query: ...
### 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 jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_name_26 ( position VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT POSITION IS 273? ### Query: SELECT position FROM table_name_26 WHERE overall = 273
### Context: CREATE TABLE table_name_12 ( secretary VARCHAR, social_ao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Secretary has a Social AO of lieke de boer? ### Query: SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer"
### Context: CREATE TABLE table_name_84 ( year VARCHAR, points INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year that has points larger than 20? ### Query: SELECT COUNT(year) FROM table_name_84 WHERE points > 20
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id numbe...
### Context: CREATE TABLE diagnoses ( 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, reli...
### Context: CREATE TABLE shop ( Shop_ID int, Address text, Num_of_staff text, Score real, Open_Year text ) CREATE TABLE member ( Member_ID int, Name text, Membership_card text, Age int, Time_of_purchase int, Level_of_membership int, Address text ) CREATE TABLE happy_ho...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microl...
### Context: CREATE TABLE table_63644 ( "Model number" text, "sSpec number" text, "Frequency" text, "Turbo" text, "Cores" real, "L2 cache" text, "L3 cache" text, "I/O bus" text, "Mult." text, "Memory" text, "Voltage" text, "Socket" text, "Release date" text, "Part...
### Context: CREATE TABLE table_49047 ( "Source Version" text, "Target Version" text, "Last Release" text, "License" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Website, when License is Apache License 2.0? ### Query: SELE...
### 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 table_204_547 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitors competed in the semifinal 2 ? ###...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZ...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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, ...
### Context: CREATE TABLE table_64313 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of draws for Mortlake club when they have less than 0 wins? ### Query...
### Context: CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, int...
### Context: CREATE TABLE table_name_68 ( hp_model VARCHAR, _number_hdd VARCHAR, sides VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the HP model with a #HDD of 1 of sides of ds ### Query: SELECT hp_model FROM table_name_68 WHERE _number...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_7759 ( "Province of Silla" text, "Administrative district" text, "Pre-1009 province" text, "Post-1009 province" text, "Modern equivalent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Modern equivalent h...
### Context: CREATE TABLE table_7052 ( "Country" text, "Host" text, "Channel" text, "Premiere" text, "Jackpot" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the host of the premiere on November 10, 2007? ### Query: SELECT "Host" FROM table...
### Context: CREATE TABLE table_2665 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_61212 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which circuit was the atcc round 7 at? ### Query: SELECT "Circuit" FRO...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: 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_distant int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, ...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE airport ( airport_code varchar, airport_name text, ...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) 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, ...
### Context: CREATE TABLE table_51039 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for a no. 21 tie? ### Query: SELECT "Score" FROM table_51039 WHERE "Ti...
### 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...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Cr...