text
stringlengths
197
8.39k
### Context: CREATE TABLE table_245 ( "Model" text, "Engine make/Capacity" text, "Power kW@rpm" text, "Torque Nm@rpm" text, "Transmission Make/Type/Speed" text, "GVM (kg) Technical Capacity" text, "GCM (kg) Technical Capacity" text ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_name_62 ( points VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- with year greater than 1988 what is the total number of points? ### Query: SELECT COUNT(points) FROM table_name_62 WHERE year > 1988
### 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_44634 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the par for the t5 place player Steve Jones? ### Query: SELECT "To par" FROM table_4...
### Context: CREATE TABLE table_11690135_1 ( interview VARCHAR, evening_gown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had an evening gown score of 9.78? ### Query: SELECT interview FROM table_11690135_1 WHERE evening_gown = "9.78"
### Context: CREATE TABLE table_name_56 ( enrollment VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Enrollment has a School of shakamak? ### Query: SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak"
### Context: CREATE TABLE table_2861364_1 ( executed_person VARCHAR, under_president VARCHAR, crime VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was executed during president charles de gaulle's reign for thr crime of child murder after rape? ### ...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, cla...
### Context: CREATE TABLE manufacturer ( name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me the name and year of opening of the manufacturers that have either less than 10 fa...
### Context: CREATE TABLE table_64899 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Elector has the Place of Birth listed as Bavaria? ### Query: ...
### Context: CREATE TABLE table_45195 ( "Rank" real, "Title" text, "Studio" text, "Director(s)" text, "Worldwide Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Sum of m. night shyamalan ranks? ### Query: SELECT SUM("Rank") FROM table_45195 W...
### Context: CREATE TABLE table_train_179 ( "id" int, "systolic_blood_pressure_sbp" int, "fasting_plasma_glucose_fpg" float, "diastolic_blood_pressure_dbp" int, "diabetes" bool, "body_mass_index_bmi" float, "triglyceride_tg" float, "hypertension" bool, "age" float, "NOUSE" float ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ...
### Context: CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE cite ( ...
### Context: CREATE TABLE table_38657 ( "Discipline" text, "Peter" real, "Adam" real, "Jade" real, "Plat'num" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0? #...
### 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_54517 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue where the result was 12th? ### Query: SELECT "Venue" FROM table_54517 WHE...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_name_85 ( turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the turbine vendor for Meenadreen in Donegal county with less t...
### Context: CREATE TABLE table_46409 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total diameter when longitude is 357.8e later than 1985? ### Query:...
### Context: CREATE TABLE table_name_4 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result with a Date with 4 september 2013? ### Query: SELECT result FROM table_name_4 WHERE date = "4 september 2013"
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniq...
### Context: CREATE TABLE wdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### Context: CREATE TABLE table_25421463_1 ( season VARCHAR, final_placing VARCHAR, team_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season was the final placing NC and the team SL Formula Racing? ### Query: SELECT season FROM table_2542...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE company ( headquarters VARCHAR, main_industry VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show headquarters with at least two companies in the banking industry. ### Query: SELECT headquarters FROM company WHERE main_industry = '...
### Context: CREATE TABLE table_25162 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, se...
### Context: CREATE TABLE apartment_facilities ( apt_id number, facility_code text ) CREATE TABLE apartment_bookings ( apt_booking_id number, apt_id number, guest_id number, booking_status_code text, booking_start_date time, booking_end_date time ) CREATE TABLE apartments ( apt_id ...
### Context: CREATE TABLE table_204_833 ( id number, "game" number, "date" text, "team" text, "score" text, "high points" text, "high rebounds" text, "high assists" text, "location\nattendance" text, "record" text ) -- Using valid SQLite, answer the following questions for the ...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, se...
### 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 Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_29 ( rank INTEGER, source VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank that has cia world factbook as the source and a year prior to 2005? ### Query: SELECT AVG(rank) FROM tab...
### Context: CREATE TABLE table_name_76 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who placed in t5 and scored 73-69-68=210? ### Query: SELECT player FROM table_name_76 WHERE place = "t5" AND score = 73 - 69 - ...
### Context: CREATE TABLE table_203_594 ( id number, "canal" text, "length (miles)" number, "locks" number, "max length (ft)" number, "width (ft)" number, "year opened" number, "year abandoned" number, "year restored" number ) -- Using valid SQLite, answer the following questions f...
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE flight_stop ( flight_id int, stop_...
### Context: CREATE TABLE table_203_349 ( id number, "no. in\nseries" number, "no. in\nseason" number, "title" text, "directed by" text, "written by" text, "original air date" text, "production\ncode" text, "u.s. viewers\n(millions)" number ) -- Using valid SQLite, answer the follo...
### Context: CREATE TABLE table_200_35 ( id number, "party" text, "active voters" number, "inactive voters" number, "total voters" number, "percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- as of october 25 , 2005 , how many voters are ...
### Context: CREATE TABLE table_name_33 ( silver INTEGER, bronze VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest silver that has 2 as the bronze, with a total greater than 4? ### Query: SELECT MIN(silver) FROM table_name...
### Context: CREATE TABLE table_name_75 ( bronze INTEGER, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Bronzes that has a Nation of italy? ### Query: SELECT MAX(bronze) FROM table_name_75 WHERE nation = "italy"
### Context: CREATE TABLE table_16941304_4 ( driver___passenger VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the driver passenger for 394 points ### Query: SELECT driver___passenger FROM table_16941304_4 WHERE points = 394
### Context: CREATE TABLE table_31326 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is th...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE table_name_46 ( lost INTEGER, games INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games lost for teams with over 6 games? ### Query: SELECT MIN(lost) FROM table_name_46 WHERE games > 6
### Context: CREATE TABLE table_23098 ( "Year" text, "Marriages between men" real, "Marriages between women" real, "Same-sex marriages" real, "Total marriages" real, "% same-sex marriages" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ...
### Context: CREATE TABLE club ( Club_ID int, Club_name text, Region text, Start_year int ) CREATE TABLE coach ( Coach_ID int, Coach_name text, Gender text, Club_ID int, Rank int ) CREATE TABLE player ( Player_ID int, Sponsor_name text, Player_name text, Gender text...
### Context: CREATE TABLE table_203_300 ( id number, "year" number, "tournament" text, "venue" text, "result" text, "extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was there a result of 1st place after the year 2006 ? ### Query: SELECT (...
### Context: CREATE TABLE table_name_4 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Record of 29 47? ### Query: SELECT date FROM table_name_4 WHERE record = "29–47"
### Context: CREATE TABLE table_9712 ( "Province" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ends lost for Alberta when sto...
### Context: CREATE TABLE table_53769 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the result when the competition is friendly on 8 october 2009? ### Query: SELECT "R...
### Context: CREATE TABLE table_12002388_1 ( year INTEGER, reg_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did they finish 1st, southern? ### Query: SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern"
### Context: CREATE TABLE table_30594 ( "Version" text, "Release" text, "Release date" text, "End of maintenance" text, "Requirement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the 1.0.12 release version? ### Query: SELECT ...
### Context: CREATE TABLE table_21058823_1 ( result VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did they do against Memphis? ### Query: SELECT result FROM table_21058823_1 WHERE opponent = "Memphis"
### Context: CREATE TABLE table_31153 ( "Name/ designation" text, "Year of intro" real, "Country of origin" text, "Primary cartridge" text, "Major users" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are all the major users of the Saturn Machin...
### Context: CREATE TABLE table_203_535 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total amount of medals spain has won ? ...
### Context: CREATE TABLE table_name_3 ( surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the surface for 12 september 2006 ### Query: SELECT surface FROM table_name_3 WHERE date = "12 september 2006"
### Context: CREATE TABLE table_16402 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players played for adams state school? ### Query: SELECT COUNT("Player") FROM ...
### Context: CREATE TABLE table_74055 ( "English" text, "Proto-Semitic" text, "Akkadian" text, "Arabic" text, "Aramaic" text, "Hebrew" text, "Geez" text, "Mehri" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If in arabic it is sal m-, w...
### Context: CREATE TABLE table_6945 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What away team has tottenham hotspur as the home team? ### Query: SELECT "Away team"...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE table_203_239 ( id number, "year" number, "title" text, "chinese title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which year did she work on the most films ? ### Query: SELECT "year" FRO...
### Context: CREATE TABLE table_56135 ( "Nation" text, "Gold" text, "Silver" text, "Bronze" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the gold for netherlands ### Query: SELECT "Gold" FROM table_56135 WHERE "Nation" = 'ne...
### Context: CREATE TABLE table_14309 ( "Date" text, "Opponent" text, "City" text, "Result" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Milwaukee's opponent? ### Query: SELECT "Opponent" FROM table_14309 WHERE "City" = 'mil...
### Context: CREATE TABLE table_53507 ( "Name" text, "Years" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number on roll for Shelly Park school? ### Query: SELECT CO...
### 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_name_56 ( publisher VARCHAR, release_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the publisher of Martial Law: Dead Ringers? ### Query: SELECT publisher FROM table_name_56 WHERE release_title = "martial law: ...
### Context: CREATE TABLE table_28885977_1 ( location VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the Moorabbin Oval stadium? ### Query: SELECT location FROM table_28885977_1 WHERE stadium = "Moorabbin Oval"
### 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 diagnosi...
### Context: CREATE TABLE table_203_726 ( id number, "year" number, "national champion" text, "score" text, "runner-up" text, "host or site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was ucla national champion ? ### Query: S...
### Context: CREATE TABLE table_42816 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Home captain that played at the venue Oval? ### Query: SELECT "Home cap...
### Context: CREATE TABLE table_204_735 ( id number, "rank" number, "team" text, "names" text, "time" text, "qualification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams finished better than spain in cycling at the 1996 summer ol...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar...
### Context: CREATE TABLE table_26454128_4 ( athlete VARCHAR, height VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which athlete has a height of 1.87 and is from Sweden? ### Query: SELECT athlete FROM table_26454128_4 WHERE height = "1...
### Context: CREATE TABLE instructor ( dept_name VARCHAR, salary INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the department which has the highest average salary of professors. ### Query: SELECT dept_name FROM instructor GROUP BY dept_nam...
### Context: CREATE TABLE table_17798093_20 ( ending VARCHAR, examples VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the endings of examples achilles, appendices, f ces ### Query: SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, ap...
### Context: CREATE TABLE table_1480455_1 ( area__km_2__ VARCHAR, population_density___km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area (km 2) where the population density (/mk2) is 84.3? ### Query: SELECT area__km_2__ FROM table_14804...
### Context: CREATE TABLE table_38154 ( "Date" text, "Venue" text, "Result" text, "Goals" real, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was a friendly match held at Auckland? ### Query: SELECT "Date" FROM table_381...
### Context: CREATE TABLE table_74568 ( "Area" text, "Advertisement date" text, "Block" text, "Winning applicant" text, "Ensemble name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Oxfordshire Area's Ensemble Name? ### Query: SELECT "Ense...
### Context: CREATE TABLE table_20477 ( "Headphone Model" text, "Headphone Class" text, "Driver-matched dB" text, "Construction" text, "Earpads" text, "Termination" text, "US MSRP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which termina...
### Context: CREATE TABLE table_3764 ( "Artist" text, "Country" text, "Number-one single(s)" text, "Year" real, "Weeks at #1" real, "Straight to #1 ?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number one singles for desvarieux, jac...
### Context: CREATE TABLE table_name_80 ( original_us_air_date VARCHAR, original_canadian_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? ### Query: SELECT or...
### 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 restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar...
### Context: CREATE TABLE table_name_28 ( points INTEGER, winnings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has the highest point total after winning $133,386? ### Query: SELECT MAX(points) FROM table_name_28 WHERE winnings = "$133,386"
### 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 cost...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TAB...
### Context: CREATE TABLE table_14850099_18 ( planet VARCHAR, cardinal_direction VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the planet associated with the direction of south? ### Query: SELECT planet FROM table_14850099_18 WHERE cardinal_directi...
### Context: CREATE TABLE table_34775 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the lead for the team with Nkeiruka Ezekh as second? ### Query: SELE...
### Context: CREATE TABLE table_33186 ( "Positional or Automatic" text, "Opponents" text, "Suits" text, "Material or Non-material" text, "Count Rectified" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which suits have no material or non-material, e...
### Context: CREATE TABLE table_name_66 ( school_colors VARCHAR, main_campus_location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the school colors for the college whose main campus is overland park? ### Query: SELECT school_colors FROM table_na...
### Context: CREATE TABLE table_45903 ( "Name" text, "Platform" text, "Supported databases" text, "Tracking Method" text, "Latest stable release" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tracking method has a latest s...
### Context: CREATE TABLE table_name_73 ( guest_host VARCHAR, episode_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Guest Host for Episode Number of 5? ### Query: SELECT guest_host FROM table_name_73 WHERE episode_number = 5
### Context: CREATE TABLE table_21907770_4 ( country VARCHAR, versus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was the opponent country India? ### Query: SELECT COUNT(country) FROM table_21907770_4 WHERE versus = "India"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### 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 COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_JOBCODE varchar(5), EMP_HIREDATE date...
### Context: CREATE TABLE table_27615445_1 ( audition_city VARCHAR, episode_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many audition city's are there with an episode air date of June 24, 2010? ### Query: SELECT COUNT(audition_city) FROM tab...