text
stringlengths
197
8.39k
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time...
### Context: CREATE TABLE table_53990 ( "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. -- What is the air date for the episode with production code ad1c13?...
### Context: CREATE TABLE table_42702 ( "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3? ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_75699 ( "Ballarat FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Losses have a Ballarat FL of melton south, and an Against larger...
### Context: CREATE TABLE table_582 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player number is 2.10 meters tall? ### Query: SELECT "No" FROM...
### 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 class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE month ( month_number int, month_name text ) ...
### Context: CREATE TABLE table_name_25 ( republican_ticket VARCHAR, democratic_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which republican ticket has stanley h. fuld as the Democratic ticket? ### Query: SELECT republican_ticket FROM table_name_2...
### Context: CREATE TABLE table_61629 ( "Fin. Pos" real, "Car No." real, "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Laps Led" real, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ...
### 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 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_4 ( opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent of the match played on a Clay Surface with a Score of 6 0, 6 2? ### Query: SELECT opponent...
### 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 PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, C...
### Context: CREATE TABLE table_name_77 ( country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country does Rocco Mediate play for? ### Query: SELECT country FROM table_name_77 WHERE player = "rocco mediate"
### Context: CREATE TABLE table_29471472_1 ( season VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons are there for the 3rd position? ### Query: SELECT COUNT(season) FROM table_29471472_1 WHERE position = "3rd"
### Context: CREATE TABLE table_name_57 ( rank VARCHAR, highest_floor INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the building that has a Highest floor larger than 50? ### Query: SELECT rank FROM table_name_57 WHERE highest_floor > 50
### Context: CREATE TABLE table_79389 ( "Model" text, "Years" text, "Engine code" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did the sdrive16d model have a Torque of n m (lb ft)@1750-3000? ### Query: SELE...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) 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_...
### Context: CREATE TABLE table_25016824_2 ( vote VARCHAR, air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are there for vote when the air date was 15 november 1997? ### Query: SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date...
### Context: CREATE TABLE table_name_46 ( authority VARCHAR, area VARCHAR, gender VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the authority for the coed Eastbourne school? ### Query: SELECT authority FROM table_name_46 WHERE area = "eastbourne...
### Context: CREATE TABLE gymnast ( gymnast_id number, floor_exercise_points number, pommel_horse_points number, rings_points number, vault_points number, parallel_bars_points number, horizontal_bar_points number, total_points number ) CREATE TABLE people ( people_id number, nam...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE...
### Context: CREATE TABLE table_name_86 ( date VARCHAR, number_ VARCHAR, _name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date with identifying number of No. 37817? ### Query: SELECT date FROM table_name_86 WHERE number_ & _name = "no. 3...
### Context: CREATE TABLE table_52435 ( "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 highest number of silvers a team with more than 95 total medals has...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum numb...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_26250145_1 ( order__number VARCHAR, original_artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the order # for the original artist sarah mclachlan? ### Query: SELECT order__number FROM table_26250145_1 WHERE origi...
### Context: CREATE TABLE table_65733 ( "Attendance" real, "Round" text, "Date" text, "Home" text, "Score" text, "Away" text, "Venue" text, "Weekday" text, "Time of Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the vis...
### Context: CREATE TABLE table_13026799_3 ( starts VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of starts for 1987? ### Query: SELECT COUNT(starts) FROM table_13026799_3 WHERE year = 1987
### Context: CREATE TABLE table_48325 ( "Name" text, "Party" text, "Tenure" text, "Head(s) of Government" text, "Ministerial title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the head of government for Don Stephen Senanayake? ### Query:...
### Context: CREATE TABLE Products ( Product_ID VARCHAR(100), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4), Product_Description VARCHAR(255), Other_Product_Service_Details VARCHAR(255) ) CREATE TABLE Clients ( Client_ID INTEGER, Address_ID INTEGER, Customer_Email_Address VARCH...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_204_59 ( id number, "rank" number, "athlete" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country had the most finishers in the top 8 ? ### Query: SELECT "nationality" FROM ta...
### Context: CREATE TABLE table_16185956_1 ( incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many groups of candidates are there in there in the district where the incumbent is Doc Hastings? ### Query: SELECT COUNT(2008 AS _candidates) FROM table_1...
### 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 table_name_1 ( wins INTEGER, class VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Count the average Wins which has a Class of 250cc, and a Year of 1972? ### Query: SELECT AVG(wins) FROM table_name_1 WHERE class = ...
### Context: CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id va...
### Context: CREATE TABLE table_name_37 ( fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the FCC info for frequency Mhz less than 97.3 and call sign of w237br ### Query: SELECT fcc_info FROM table_...
### Context: CREATE TABLE table_42318 ( "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 1 with a Set 2 that is 25-19?...
### 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 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_28490 ( "Week #" 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. -- What was the choice of song where the original artist was St...
### Context: CREATE TABLE table_74663 ( "Player" text, "Tries" text, "Conv" text, "Pens" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Josh Taumalolo play at Nuku'alofa? ### Query: SELECT "Date" FROM ta...
### Context: CREATE TABLE table_name_30 ( us_country VARCHAR, album VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What US Country released an album of singles only in 1967? ### Query: SELECT us_country FROM table_name_30 WHERE album = "si...
### Context: CREATE TABLE table_test_28 ( "id" int, "positive_shock_index" bool, "anemia" bool, "serum_potassium" float, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "malignant_hypertension" bool, "severe_hypertension" bool, "hemoglobin_a1c_hba1c"...
### Context: CREATE TABLE table_name_77 ( player VARCHAR, nationality VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player from Sweden from a round after 3? ### Query: SELECT player FROM table_name_77 WHERE nationality = "swed...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, ...
### Context: 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 ) CREATE TABLE instructor ( instructor_id int, name varchar, ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE 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 Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ...
### 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 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 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_55724 ( "Yard Name" text, "Location (City, State)" text, "1st Ship Delivery Date" text, "Ship Types Delivered" text, "Total Number of Ways" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ship types were first del...
### Context: CREATE TABLE county_public_safety ( County_ID int, Name text, Population int, Police_officers int, Residents_per_officer int, Case_burden int, Crime_rate real, Police_force text, Location text ) CREATE TABLE city ( City_ID int, County_ID int, Name text, ...
### Context: CREATE TABLE table_1337525_1 ( region_4 VARCHAR, complete_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the region 4 for the complete fifth series ### Query: SELECT region_4 FROM table_1337525_1 WHERE complete_series = "The Complet...
### Context: CREATE TABLE table_45571 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent on October 28, 2001? ### Quer...
### Context: CREATE TABLE table_6202 ( "Date" real, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when the attendance is 960? ### Query: SELECT "...
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_41953 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, ...
### Context: CREATE TABLE table_name_22 ( rank INTEGER, name VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ranks have chen yin as the name, with a lane greater than 8? ### Query: SELECT SUM(rank) FROM table_name_22 WHERE name = "...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, ...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE allergy_type ( allergy text, allergytype text ) CREATE TABLE has_allergy ( stuid number, allergy text ) -- Using...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE cost ( ...
### Context: CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varc...
### Context: CREATE TABLE table_24459 ( "Country" text, "Area (km\u00b2)" text, "Population (millions, 2011)" text, "GDP (PPP) (USD, per capita)" real, "GDP (nominal) (billions USD)" text, "HDI (2011)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_203_618 ( id number, "pick" number, "player" text, "team" text, "position" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is previous in the table to austin kearns ? ### Query: SELECT "player" ...
### Context: CREATE TABLE table_name_21 ( plant_patent_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the patent number of Fukuda? ### Query: SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda"
### Context: CREATE TABLE table_23696862_6 ( name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had 2 WSOP cashes and was 6th in final place? ### Query: SELECT name FROM table_23696862_6 WHERE wsop_cashes =...
### 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_9486 ( "Scientific name" text, "Common name" text, "Length (male)" text, "Length (female)" text, "Color" text, "Lifespan (years)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the Panther Ch...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymo...
### Context: CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_president_vote number, secretary_vote number, treasurer_vote number, class_president_vote number, class_senator_vote number ) CREATE TABLE student ( s...
### Context: CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE CLASS ( CLASS_CODE varchar(5), CRS_CODE varchar(10), CLASS_SECTION varchar(2), CLASS_TIME varchar(20), CLASS_R...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum numb...
### Context: CREATE TABLE table_78558 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place did player mark brooks take? ### Query: SELECT "Place" FROM table_78558 WHERE "Pla...
### Context: CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### Context: CREATE TABLE table_9358 ( "Name" text, "Pinnacle height planned" text, "Year completion expected" real, "Structure type" text, "Country" text, "Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the year that China will h...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE table_name_31 ( points VARCHAR, wins VARCHAR, year VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of points with year less than 1955 and rank of 5th with wins less than 0 ### Query: SELEC...
### Context: CREATE TABLE table_203_28 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last year that they received first ? ###...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_58530 ( "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 when the hom...
### Context: CREATE TABLE table_30757 ( "No in. series" real, "No in. season" real, "Title" text, "Original air date" text, "Production Code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the airdate of ...
### Context: CREATE TABLE table_25364 ( "R" real, "Player" text, "Scottish Premier League" real, "Scottish Cup" real, "Scottish League Cup" real, "Champions League (qualifying)" real, "Europa League" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thu...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE...
### Context: CREATE TABLE table_54107 ( "End of Fiscal Year" real, "Gross Debt in $Billions undeflated Treas." real, "as % of GDP Low-High" text, "Debt Held By Public ($Billions)" real, "as % of GDP (Treas/MW, OMB or OMB/MW)" real, "GDP $Billions OMB/BEA est.=MW.com" text ) -- Using valid SQLi...
### Context: CREATE TABLE table_name_86 ( status VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Status of the 44 Against? ### Query: SELECT status FROM table_name_86 WHERE against = 44
### Context: CREATE TABLE table_36846 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the earliest year associated with team norton and 0 wins? ### Query: SELECT MIN("Year") FRO...
### Context: CREATE TABLE country ( Official_native_language VARCHAR, Country_id VARCHAR ) CREATE TABLE match_season ( Country VARCHAR, College VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the official languages of the countries of player...
### 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 table_35070 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Week of 7 had what average attendance? ### Query: SELECT AVG("Attendance...