text
stringlengths
197
8.39k
### 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 ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE FlagTypes ( Id number, Name ...
### Context: CREATE TABLE gsi ( course_offering_id int, student_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, tough_t...
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM tex...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID ...
### Context: CREATE TABLE table_24380 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the to par for 20 feb 2005 ...
### Context: CREATE TABLE table_30457 ( "Series #" real, "Title" text, "Written by" text, "Directed by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many...
### Context: CREATE TABLE table_52735 ( "Number" real, "Name" text, "Builder" text, "Type" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the train numbered less than 6 before 1993? ### Query: SELECT "Name" FROM tab...
### Context: CREATE TABLE table_45223 ( "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 Official Name of the Community with an Area km 2 of 16.13? ...
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE time_interval ( period text, ...
### Context: CREATE TABLE table_73927 ( "Episode" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The theme Auditioner's Choice has what song choice? ### Qu...
### Context: CREATE TABLE table_name_4 ( date VARCHAR, score_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date has a Score in the final of 3 6, 2 6, 4 6? ### Query: SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6"
### Context: CREATE TABLE table_19993 ( "Condition/Parameter" text, "Coordinate velocity v dx/dt in units of c" text, "Velocity angle \u03b7 in i-radians" text, "Proper velocity w dx/d\u03c4 in units of c" text, "Lorentz factor \u03b3 dt/d\u03c4 = E/mc 2" text ) -- Using valid SQLite, answer the f...
### Context: CREATE TABLE table_name_98 ( high_assists VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the high assists from a high points of dorell wright (20)? ### Query: SELECT high_assists FROM table_name_98 WHERE high_point...
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( ...
### Context: CREATE TABLE 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_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number )...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmi...
### 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 table_name_61 ( format VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows as the format for catalog 11 135? ### Query: SELECT format FROM table_name_61 WHERE catalog = "11 135"
### Context: CREATE TABLE table_30071 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the opposit...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( ...
### 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 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_79795 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of silvers for a country with fewer than 12 golds an...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( di...
### Context: CREATE TABLE table_20246201_9 ( office VARCHAR, candidate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What office is Jon Huntsman a candidate for? ### Query: SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREAT...
### Context: CREATE TABLE basketball_match ( team_id number, school_id number, team_name text, acc_regular_season text, acc_percent text, acc_home text, acc_road text, all_games text, all_games_percent number, all_home text, all_road text, all_neutral text ) CREATE TABLE...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE PostHistoryTypes ( Id number...
### Context: CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_D...
### Context: CREATE TABLE table_name_43 ( report VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the report at State Sports Centre? ### Query: SELECT report FROM table_name_43 WHERE venue = "state sports centre"
### Context: CREATE TABLE table_54314 ( "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. -- In which of North Melbourne's away ...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREA...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, e...
### Context: CREATE TABLE table_74251 ( "Date/Location" text, "Mens singles" text, "Womens Singles" text, "U21 Mens" text, "U21 Womens" text, "Mixed Restricted" text, "Mixed Veteran" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Naomi ...
### Context: CREATE TABLE table_name_11 ( after_debt VARCHAR, cash_on_hand VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is after debt when cash on hand is $651,300? ### Query: SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300"
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE area ( course_id int, are...
### 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 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_49256 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue had a Score of 120-108? ### Query: SEL...
### Context: CREATE TABLE table_76217 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Johnny Palmer with a To larger than 6 Money sum? ### Quer...
### Context: CREATE TABLE happy_hour ( hh_id number, shop_id number, month text, num_of_shaff_in_charge number ) CREATE TABLE member ( member_id number, name text, membership_card text, age number, time_of_purchase number, level_of_membership number, address text ) CREATE T...
### Context: CREATE TABLE table_48341 ( "Year" real, "MLB Club" text, "Record" text, "Finish" text, "Manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the manager when the year is before 1994 and finish is 5th? ### Query: SELECT "Manag...
### Context: CREATE TABLE table_name_7 ( date VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the north melbourne team play? ### Query: SELECT date FROM table_name_7 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_11884814_3 ( interview VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the interview score for Hawaii? ### Query: SELECT interview FROM table_11884814_3 WHERE country = "Hawaii"
### Context: CREATE TABLE table_20649850_1 ( college VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the ol go to college? ### Query: SELECT college FROM table_20649850_1 WHERE position = "OL"
### Context: CREATE TABLE table_name_71 ( type VARCHAR, name__wade_giles_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type of Kuang-Hsing? ### Query: SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"
### Context: CREATE TABLE table_23947 ( "City (Utility)" text, "Residential Monthly usage: 1000 kWh" text, "Small power Power demand: 40 kW; Consumption 10,000 kWh, load factor: 35%." text, "Medium power Power demand: 1,000 kW; Consumption: 400,000 kWh, load factor: 56 %." text, "Large power Power d...
### Context: CREATE TABLE table_203_353 ( id number, "#" number, "title" text, "producer(s)" text, "featured guest(s)" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many tracks have their producer as mike punch harper ? ### Qu...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRES...
### Context: CREATE TABLE table_name_56 ( total INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total of Player Craig Stadler? ### Query: SELECT AVG(total) FROM table_name_56 WHERE player = "craig stadler"
### Context: CREATE TABLE table_13018091_1 ( won INTEGER, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games did whitehaven win? ### Query: SELECT MIN(won) FROM table_13018091_1 WHERE club = "Whitehaven"
### Context: CREATE TABLE table_19753079_13 ( result VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the Georgia 8 district? ### Query: SELECT result FROM table_19753079_13 WHERE district = "Georgia 8"
### 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_25 ( lead VARCHAR, left_bloc VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lead with left bloc of 8.4% ### Query: SELECT lead FROM table_name_25 WHERE left_bloc = "8.4%"
### 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_name_48 ( date VARCHAR, leading_scorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Leading scorer of ricky davis (20)? ### Query: SELECT date FROM table_name_48 WHERE leading_scorer = "ricky davis (20)"
### Context: CREATE TABLE table_58996 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest to par of a player from australia with a score...
### Context: CREATE TABLE table_name_2 ( rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rule has The Event of n/a, The Result of loss, and The Location of winsford england? ### Query: SELE...
### Context: CREATE TABLE table_64833 ( "Japanese Title" text, "English Title" text, "Year" real, "First publisher" text, "ISBN" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the First Publisher prior to 1999? ### Query: SELECT "First publ...
### Context: CREATE TABLE table_23718905_6 ( bowl_game VARCHAR, matchup_results VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what bowl game was the result Oklahoma 31, Stanford 27? ### Query: SELECT bowl_game FROM table_23718905_6 WHERE matchup_results...
### Context: CREATE TABLE table_name_98 ( loss VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who recorded the loss on august 7? ### Query: SELECT loss FROM table_name_98 WHERE date = "august 7"
### Context: CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text )...
### Context: CREATE TABLE table_31729 ( "Hangul" text, "Hanja" text, "Revised" text, "McCune-Reischauer" text, "Estimated distribution (2000)*" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the revised of mccune reischauer of y n (s) ry n (...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_291768_1 ( launched VARCHAR, commissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the first start date that actually began on august 6, 1969 ### Query: SELECT launched FROM table_291768_1 WHERE commissioned = ...
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM 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 te...
### Context: CREATE TABLE table_7922 ( "Season in Tamil" text, "English Transliteration" text, "English Translation" text, "Season in Sanskrit" text, "Season in English" text, "Tamil Months" text, "Gregorian Months" text ) -- Using valid SQLite, answer the following questions for the table...
### 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_13564702_4 ( tries_against VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tries against got the club with 62 tries for? ### Query: SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"
### Context: CREATE TABLE table_11545282_7 ( no VARCHAR, years_for_jazz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players only played for the Jazz in only 2010? ### Query: SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz = "2010"
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( row_id number...
### Context: CREATE TABLE table_1341522_38 ( opponent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the opponent with district being ohio12 ### Query: SELECT opponent FROM table_1341522_38 WHERE district = "Ohio12"
### Context: CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10...
### Context: CREATE TABLE table_58531 ( "Pick" real, "Round" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player is picked 302 in round 11? ### Query: SELECT "Player" FROM table_58531 WHERE "Rou...
### Context: CREATE TABLE table_204_155 ( id number, "rank" number, "heat" number, "athlete" text, "nationality" text, "time" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete from poland had the lowest time ? ###...
### 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 cost ( costid number,...
### Context: CREATE TABLE table_name_41 ( compression_ratio VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the compression ratio for the 302-2v Windsor v8 engine? ### Query: SELECT compression_ratio FROM table_name_41 WHERE engine = ...
### Context: CREATE TABLE table_5055 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was Portland on the road for Game 2? ### Query: SELECT "Date" FROM table_5055 ...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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, XL...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, ...
### Context: CREATE TABLE table_18004 ( "Year" real, "Dates" text, "Champion" text, "Score" real, "To par" text, "Margin of victory" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year i...
### Context: CREATE TABLE table_53593 ( "Date" text, "Tournament" text, "Round" text, "Ground" text, "Opponent" text, "Score 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent had round 1? ### Query: SELECT "Opponent" FROM table_5...
### Context: CREATE TABLE table_name_27 ( bronze VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronze medals were won in 1998? ### Query: SELECT bronze FROM table_name_27 WHERE year = "1998"
### Context: CREATE TABLE table_77725 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the winnings for the Chevrolet with a number larger than 29 and sco...
### 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_11629 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "Career Win\u2013Loss" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2010 result for a...
### 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 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 song ( song_name VARCHAR, f_id VARCHAR ) CREATE TABLE files ( f_id VARCHAR, duration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of all songs that have 4 minute duration or are in English. ### Query: SELE...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_co...
### Context: CREATE TABLE table_59381 ( "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text, "Week 6" text, "Week 7" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is week 5 when week 2 is 36.80, and week 4 is 39.75? ### Query: SELE...
### Context: CREATE TABLE table_37171 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_30328 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the womens double winner when the womens singles w...
### Context: CREATE TABLE table_11570261_6 ( cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Tiger get second in the year where there were 11 cuts? ### Query: SELECT MAX(2 AS nd) FROM table_11570261_6 WHERE cuts_made = "11"