text
stringlengths
197
8.39k
### Context: CREATE TABLE table_47847 ( "Name" text, "Chinese" text, "Hanyu Pinyin" text, "Wade\u2013Giles" text, "Hokkien Pe\u030dh-\u014de-j\u012b" text, "English meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Hanyu Pinyin is in ...
### Context: CREATE TABLE table_name_11 ( december VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the day in December of the game against the Boston Bruins? ### Query: SELECT COUNT(december) FROM table_name_11 WHERE opponent = "bos...
### Context: CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), ...
### Context: CREATE TABLE table_24865763_2 ( lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team? ### Query: SELECT ...
### Context: CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Tick...
### 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_28115 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer(s)" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed episode number 626 in the series? ### Query: SELECT...
### Context: CREATE TABLE table_name_25 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on april 26, 2003? ### Query: SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003"
### Context: CREATE TABLE table_name_50 ( lane INTEGER, time VARCHAR, react VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166? ### Query: SELECT MIN(lan...
### Context: CREATE TABLE table_1473672_2 ( pick__number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Lorne Henning has the lowest pick# of? ### Query: SELECT MIN(pick__number) FROM table_1473672_2
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE table_63096 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Venue of h, and a Result of 0 1, and a Date of 29 august 1998? ### Q...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_17427004_7 ( semifinals VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How did Hamza Kramou fare in the semifinals? ### Query: SELECT semifinals FROM table_17427004_7 WHERE athlete = "Hamza Kramou"
### Context: CREATE TABLE table_1427998_1 ( division VARCHAR, playoffs VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many divisions have been won when the playoff result is conference quarterfinals. ### Query: SELECT COUNT(division) FROM table_1427998_...
### Context: CREATE TABLE store_district ( Store_ID int, District_ID int ) CREATE TABLE product ( product_id int, product text, dimensions text, dpi real, pages_per_minute_color real, max_page_size text, interface text ) CREATE TABLE store ( Store_ID int, Store_Name text, ...
### 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 chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number,...
### Context: CREATE TABLE table_train_238 ( "id" int, "hemoglobin_a1c_hba1c" float, "fasting_c_peptide" float, "hba1c" float, "allergy_to_mammalian_derived_drug_preparations" bool, "body_mass_index_bmi" float, "renal_transplantation" bool, "NOUSE" float ) -- Using valid SQLite, answer ...
### Context: CREATE TABLE table_name_92 ( plural VARCHAR, plural_gender VARCHAR, meaning VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the plural if the meaning is python and the plural gender is n? ### Query: SELECT plural FROM table_name_92 W...
### Context: CREATE TABLE table_name_43 ( joined INTEGER, division VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the most recent year that a team located in Highland Township and a member of the West Division joined the Kensin...
### Context: CREATE TABLE table_63036 ( "Player" text, "County" text, "Tally" text, "Total" real, "Matches" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was from Fermanagh and had an average score of 22? ### Query...
### Context: CREATE TABLE table_name_28 ( total_passengers VARCHAR, annual_change VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Total Passengers when the annual change is 28.8% and the rank is less than 8? ### ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text...
### Context: CREATE TABLE table_name_36 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team had an away team of the Brisbane Lions? ### Query: SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions"
### Context: CREATE TABLE table_4699 ( "Tournament" text, "2007" text, "2009" text, "2010" text, "2011" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had the result of a W in 2009? ### Query: SELECT "Tournament" FROM table_4699 WH...
### Context: CREATE TABLE table_name_75 ( fa_cup_goals INTEGER, total_goals VARCHAR, total_apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)? ### Query: SELE...
### 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_10495 ( "Date" text, "Champion" text, "2nd Place" text, "Score" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Stadium was played in when Seven Six was second place? ### Query: SELECT "Stadium" ...
### Context: CREATE TABLE table_name_67 ( room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the room temperature with no toxic materials and no ln production? ### Query: SELECT room_te...
### Context: CREATE TABLE table_name_54 ( silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and l...
### Context: CREATE TABLE table_50436 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of people in attendance on 16 August 2008 when the home team was Depo...
### Context: CREATE TABLE table_49367 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro? ### Query: SELE...
### 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_name_22 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Eugene McDowell from? ### Query: SELECT nationality FROM table_name_22 WHERE player = "eugene mcdowell"
### Context: CREATE TABLE table_19908313_2 ( team VARCHAR, primary_sponsor_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team is sponsored by d3 Outdoors? ### Query: SELECT team FROM table_19908313_2 WHERE primary_sponsor_s_ = "D3 Outdoors"
### Context: CREATE TABLE table_67808 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Score that has the Attendance of 4,567? ### Query: S...
### 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_name_49 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team's score at princes park? ### Query: SELECT away_team AS score FROM table_name_49 WHERE venue = "princes park"
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### 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_1046454_1 ( year INTEGER, regular_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what being the maximum year where regular season is 4th, northwest ### Query: SELECT MAX(year) FROM table_1046454_1 WHERE regular_season ...
### Context: CREATE TABLE table_41002 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Home Team, when Tie No is Replay, and when Attendance is 2,...
### 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_52826 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Nationality is the Colorado State team? ### Query: SELECT "Nat...
### Context: CREATE TABLE table_21462 ( "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_name_60 ( country VARCHAR, play VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Play Electra? ### Query: SELECT country FROM table_name_60 WHERE play = "electra"
### Context: CREATE TABLE table_name_53 ( week_of VARCHAR, semi_finalists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? ### Query: SELECT week_of FROM table_name_53 WHERE semi_finalists = "sa...
### 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_24798489_2 ( original_airdate VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates originally aired episodes located in Philadelphia, pennsylvania? ### Query: SELECT COUNT(original_airdate) FROM tab...
### Context: CREATE TABLE table_4263 ( "Material" text, "Type" text, "Geometry" text, "Output voltage" text, "Output power" text, "Synthesis" text, "Researched at" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was d: ~50nm, l: ~600nm ...
### Context: CREATE TABLE table_name_80 ( versions VARCHAR, origin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the versions for czechoslovakia? ### Query: SELECT versions FROM table_name_80 WHERE origin = "czechoslovakia"
### Context: CREATE TABLE table_204_585 ( id number, "year" text, "player" text, "high school" text, "college" text, "nba/aba draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the first one ? ### Query: SELECT "player" FROM table_20...
### Context: CREATE TABLE table_18546 ( "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 people on this list are named thomas abernethy? #...
### 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 Catalogs ( catalog_id INTEGER, catalog_name VARCHAR(50), catalog_publisher VARCHAR(80), date_of_publication DATETIME, date_of_latest_revision DATETIME ) CREATE TABLE Catalog_Contents_Additional_Attributes ( catalog_entry_id INTEGER, catalog_level_number INTEGER, ...
### Context: CREATE TABLE table_name_6 ( model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What model has a g green rating, has chrysler jeep as...
### Context: CREATE TABLE table_name_13 ( event VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event has a 0:49 time? ### Query: SELECT event FROM table_name_13 WHERE time = "0:49"
### 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_65724 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "# / County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the location of the school having the panthers as a ...
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE dual_carrier ( main_airline varchar, ...
### Context: CREATE TABLE stadium ( capacity INTEGER, opening_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average capacity of the stadiums that were opened in year 2005? ### Query: SELECT AVG(capacity) FROM stadium WHERE opening_year = 2...
### 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_72758 ( "Appearances" real, "School" text, "Wins" real, "Losses" real, "Percent" text, "Last Appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins did Baylor have? ### Query: SELECT COUNT("Wins...
### Context: CREATE TABLE table_43754 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Hole" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for United States when the player was Mike Reid and the To...
### 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_203_299 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many 4x 100m relays were run ? ### Query: SELECT COUNT(*) FROM tab...
### Context: CREATE TABLE table_8961 ( "Tournament" text, "Country" text, "Location" text, "Began" real, "Court surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the court surface when the tournament is paris masters? ### Query: SELEC...
### Context: CREATE TABLE table_204_379 ( id number, "year" text, "title" text, "hangul" text, "network" text, "further info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the last network listed on this chart ? ### Query: ...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE table_203_204 ( id number, "year" number, "film" text, "language" text, "actors" text, "music" text, "banner" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films were directed by sridhar a...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_name_37 ( week VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks do they have a bye? ### Query: SELECT COUNT(week) FROM table_name_37 WHERE result = "bye"
### Context: CREATE TABLE table_17839_1 ( length VARCHAR, map_colour VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When turquoise is the map colour what is the length? ### Query: SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise"
### Context: CREATE TABLE table_2679061_4 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of Bob Essensa? ### Query: SELECT nationality FROM table_2679061_4 WHERE player = "Bob Essensa"
### Context: CREATE TABLE table_204_461 ( id number, "res." text, "record" text, "opponent" text, "method" text, "event" text, "date" text, "round" number, "time" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_name_56 ( tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes? ### Que...
### Context: CREATE TABLE table_74042 ( "Position" text, "Name" text, "Rider" text, "Age" real, "Weight" text, "Starting price" text, "Distance" text, "Prize money" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did Nina Carberr...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_71605 ( "Date" text, "Round" text, "Opponents" text, "H / A" text, "Result F\u2013A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of attendance for H/A values of 'n'? ### Quer...
### 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_34121 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bulls score" real, "Opponent score" real, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has an Oppon...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, Creatio...
### Context: CREATE TABLE table_28634206_1 ( miss_universe VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many miss universes did south africa have? ### Query: SELECT COUNT(miss_universe) FROM table_28634206_1 WHERE country = "South Afr...
### Context: CREATE TABLE table_13941 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for Zimbabwe? ### Query: SELECT "Notes" FROM table_13941 WHERE "Country" = '...
### Context: CREATE TABLE table_name_91 ( tv_time VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is TV Time, when Date is December 22, 1996? ### Query: SELECT tv_time FROM table_name_91 WHERE date = "december 22, 1996"
### Context: CREATE TABLE table_name_44 ( winners VARCHAR, runners_up VARCHAR, third VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner in the competition in which Lyn took third place and Lillestr m was the runner-up? ### Query: SELECT w...
### Context: CREATE TABLE table_45566 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Airport in Singapore? ### Query: SELECT "Airport" FROM table_45566 WHERE "Country" =...
### Context: CREATE TABLE table_65648 ( "Rank" text, "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 fewest gold medals when there is 0 bronze medals, and the rank is 1...
### Context: CREATE TABLE table_5489 ( "Frequency" real, "Callsign" text, "Brand" text, "Format" text, "City of License" text, "Website" text, "Webcast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Webcast has the digital1073.com web...
### Context: CREATE TABLE table_name_71 ( to_par VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Top Par, when Country is Sweden? ### Query: SELECT to_par FROM table_name_71 WHERE country = "sweden"
### Context: CREATE TABLE table_38727 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has a time of 1:50? ##...
### Context: CREATE TABLE table_35227 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time has an Opponent of shamil a...
### Context: CREATE TABLE table_10648 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the runner-up for majorca ### Query: SELECT "Runner-up" FROM table_10648 ...
### Context: CREATE TABLE TRANSACTIONS ( amount_of_transaction INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the maximum amount of transaction. ### Query: SELECT MAX(amount_of_transaction) FROM TRANSACTIONS
### 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_name_2 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of tie number 5? ### Query: SELECT date FROM table_name_2 WHERE tie_no = "5"
### Context: CREATE TABLE artists ( id INTEGER, name VARCHAR(120) ) CREATE TABLE sqlite_sequence ( name any, seq any ) CREATE TABLE tracks ( id INTEGER, name VARCHAR(200), album_id INTEGER, media_type_id INTEGER, genre_id INTEGER, composer VARCHAR(220), milliseconds INTEGER...
### 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_14006_1 ( bleeding_time VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the bleeding time with platelet count being decreased and prothrombin time being prolonged ##...