text
stringlengths
197
8.39k
### Context: CREATE TABLE coach ( Coach_ID int, Coach_name text, Gender text, Club_ID int, Rank int ) CREATE TABLE match_result ( Rank int, Club_ID int, Gold int, Big_Silver int, Small_Silver int, Bronze int, Points int ) CREATE TABLE club ( Club_ID int, Club_na...
### Context: CREATE TABLE table_name_6 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Phil Rodgers score? ### Query: SELECT score FROM table_name_6 WHERE player = "phil rodgers"
### Context: CREATE TABLE table_name_17 ( cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5? ### Query: SELECT AVG(cut...
### Context: CREATE TABLE city ( Status VARCHAR, City_ID VARCHAR ) CREATE TABLE farm_competition ( Host_city_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the status of the city that has hosted the greatest number of competitions. ### Query: S...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_44901 ( "Game" real, "Team" text, "Score" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was the opponent that had a location of Madison Square Garden with a score...
### Context: CREATE TABLE airports ( name VARCHAR, apid VARCHAR ) CREATE TABLE routes ( src_apid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of routes and airport name for each source airport, order the results by decreasing number of...
### 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. -- what film was done next after ` once a cop ' ? ### Query: SELECT "title"...
### 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 PostHistoryTypes ( Id number, Name text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewRejectionReasons ( Id n...
### Context: CREATE TABLE table_13812785_5 ( high_rebounds VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was responsible and what was the number for the high rebounds on December 22? ### Query: SELECT high_rebounds FROM table_13812785_5 W...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subje...
### Context: CREATE TABLE table_11528 ( "Club" text, "Position in 2012\u201313" text, "First season in top division" text, "Number of seasons in top division" real, "Number of seasons in the Premier League" real, "First season of current spell in top division" text, "Top division titles" rea...
### Context: CREATE TABLE table_name_28 ( current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the club that has ongoing first-team appearances, a midfielder...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_68966 ( "Draw" real, "Country" text, "Language" text, "Artist" text, "Song" text, "English translation" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the song for draw less than 7 and arti...
### 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 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 zyjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_name_11 ( losses VARCHAR, draws INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of losses when draws are larger than 0? ### Query: SELECT COUNT(losses) FROM table_name_11 WHERE draws > 0
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_17467578_1 ( written_by VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode 'The Dream Lover', which was viewed by 3.96 million viewers? ### Query: SELECT written_by FROM table_1...
### Context: CREATE TABLE table_name_64 ( against INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many against on the date of 08/06/1985? ### Query: SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985"
### Context: CREATE TABLE table_203_592 ( id number, "institution" text, "location" text, "athletic nickname" text, "undergraduate enrollment" number, "graduate enrollment" number, "total enrollment" number, "2013 endowment\n(and us rank)" text, "academic staff" number, "motto" t...
### Context: CREATE TABLE book ( book_id number, title text, issues number, writer text ) CREATE TABLE publication ( publication_id number, book_id number, publisher text, publication_date text, price number ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_24725951_1 ( episode VARCHAR, directed_and_produced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List episode directed and produced by Karen Selway? ### Query: SELECT episode FROM table_24725951_1 WHERE directed_and_prod...
### Context: CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIM...
### Context: CREATE TABLE table_5306 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college did kevin landolt attend? ### Query: SELECT "College" FROM ...
### Context: CREATE TABLE table_name_31 ( recipient VARCHAR, director_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the recipient when the director was Susan Jacobson? ### Query: SELECT recipient FROM table_name_31 WHERE director_s_ ...
### Context: CREATE TABLE table_37109 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average Drawn has Points sma...
### Context: CREATE TABLE table_name_27 ( years_for_grizzlies VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which years did Zach Randolph play for the Grizzlies? ### Query: SELECT years_for_grizzlies FROM table_name_27 WHERE player = "za...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text...
### 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 ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE documents ( document_id number, document_type_code text, project_id number, document_date time, document_name text, document_description tex...
### 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_train_233 ( "id" int, "serum_bicarbonate" int, "language" string, "hemoglobin_a1c_hba1c" float, "creatinine_clearance_cl" float, "admission_blood_glucose" int, "urine_albumin" int, "ketoacidosis" bool, "age" float, "NOUSE" float ) -- Using valid ...
### Context: CREATE TABLE table_204_87 ( id number, "courthouse" text, "city" text, "street address" text, "jurisdiction" text, "dates of use" text, "named for" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many courthouses were in the ...
### Context: CREATE TABLE table_52797 ( "Superlative" text, "Actress" text, "Record Set" text, "Year" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did Shelley Winters win? ### Query: SELECT "Year" FROM table_52797 WHERE "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 table_name_40 ( _inns VARCHAR, player VARCHAR, wickets VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many 5+/inns have tyron henderson as the player, with wickets less than 21? ### Query: SELECT COUNT(5) + _inns FROM table...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 countries ( ...
### 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 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 table_name_2 ( football VARCHAR, soccer VARCHAR, golf VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which foot ball team played soccer at wooster, and Gold in Ashland? ### Query: SELECT football FROM table_name_2 WHERE soccer ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate t...
### Context: CREATE TABLE table_name_10 ( Leading VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Leading Scorer has an Opponent of @ indiana? ### Query: SELECT Leading AS scorer FROM table_name_10 WHERE opponent = "@ indiana"
### 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_66336 ( "Restaurant Name" text, "Original Name" text, "Location" text, "Chef" text, "Designer" text, "Still Open?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the designer for The Grapefruit Moon? ### ...
### Context: CREATE TABLE building ( building_id text, Name text, Street_address text, Years_as_tallest text, Height_feet int, Floors int ) CREATE TABLE protein ( common_name text, protein_name text, divergence_from_human_lineage real, accession_number text, sequence_length ...
### 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 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_49965 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the match held when the result was win, and t...
### Context: CREATE TABLE table_name_93 ( location VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Location, when Result is 28-21? ### Query: SELECT location FROM table_name_93 WHERE result = "28-21"
### Context: CREATE TABLE table_28628309_8 ( team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team when player is listed as Ronjay Buenafe? ### Query: SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe"
### Context: CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, z...
### Context: CREATE TABLE table_train_20 ( "id" int, "exercise_rehabilitation" bool, "severe_sepsis" bool, "active_infection" bool, "mental_status" bool, "functional_disability" bool, "septic_shock" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tab...
### 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_22072 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE exhibition ( exhibition_id number, year number, theme text, artist_id number, ticket_price number ) CREATE TABLE artist ( artist_id number, name text, country text, year_join number, age number ) CREATE TABLE exhibition_record ( exhibition_id numbe...
### Context: CREATE TABLE table_18042409_1 ( player VARCHAR, alma_mater VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the plats that attended Wilfrid Laurier University. ### Query: SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurie...
### 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medicat...
### 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 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_name_21 ( release_date VARCHAR, production_num VARCHAR, characters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the film released that a less than 5038 production number and was of the character Bosko? ### Quer...
### Context: CREATE TABLE table_54750 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid for dirk heidolf? ### Query: SELECT SUM("Grid") FROM table_54750 WHE...
### Context: CREATE TABLE table_204_334 ( id number, "opposition" text, "matches" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "win%" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did the pune...
### Context: CREATE TABLE table_204_958 ( id number, "episode" number, "original broadcast date" text, "average" number, "rank" number, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what month was the last episode broadcast ? ### ...
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departme...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, ...
### Context: CREATE TABLE table_22860_1 ( america VARCHAR, atlantic_europe VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every entry for America when Atlantic Europe is Hoxniense? ### Query: SELECT america FROM table_22860_1 WHERE atlantic_europe =...
### Context: CREATE TABLE table_40182 ( "Rank" real, "Prev" real, "Player" text, "Rating" real, "Chng" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng? ### Query...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wa...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9...
### Context: CREATE TABLE table_62375 ( "1999/ 00" text, "2000/ 01" text, "2001/ 02" text, "2002/ 03" text, "2003/ 04" text, "2004/ 05" text, "2005/ 06" text, "2006/ 07" text, "2007/ 08" text, "2008/ 09" text, "2009/ 10" text, "2010/ 11" text, "2011/ 12" text, "20...
### Context: CREATE TABLE table_name_79 ( laps INTEGER, team VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the lowest laps Alex Tagliani did for the Forsythe Racing team? ### Query: SELECT MIN(laps) FROM table_name_79 WHERE tea...
### Context: CREATE TABLE table_name_59 ( sales VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the number of sales before 1991? ### Query: SELECT sales FROM table_name_59 WHERE year < 1991
### Context: CREATE TABLE table_name_2 ( pos VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for years under 1999? ### Query: SELECT pos FROM table_name_2 WHERE year < 1999
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE state ( state_code text, state_name text, country_name tex...
### Context: CREATE TABLE table_72447 ( "Club" text, "Played" text, "Won" 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, ans...
### Context: CREATE TABLE table_name_78 ( circuit VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the circuit with class of gts ### Query: SELECT circuit FROM table_name_78 WHERE class = "gts"
### Context: CREATE TABLE table_21261 ( "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_15754 ( "Player" text, "League" real, "Scottish Cup" real, "League Cup" real, "Challenge Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest Challenge Cup with a League smaller t...
### Context: CREATE TABLE table_50499 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player from the United States with a 4 to par and a 74-73-7...
### Context: CREATE TABLE table_name_35 ( fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai? ### Query: SELECT fcc_info FROM table_name_35 WHE...
### Context: CREATE TABLE table_name_9 ( date VARCHAR, label VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the label Dos or Die Recordings? ### Query: SELECT date FROM table_name_9 WHERE label = "dos or die recordings"
### 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_64554 ( "Year" real, "Champion" text, "Score" text, "Runner-up" text, "City" text, "Arena" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what arena was the North Dakota the runner-up? ### Query: SELECT "Arena...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( ...
### 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_35283 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location had a year over 2006? ### Query: SELECT "Location" FROM table_35283 WHERE "Year...
### Context: CREATE TABLE city ( city VARCHAR, city_id VARCHAR ) CREATE TABLE temperature ( city_id VARCHAR, Mar VARCHAR, Jul VARCHAR, Oct VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me a list of cities whose temperature in March is ...
### Context: CREATE TABLE table_name_55 ( margin_of_victory VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the margin of victory during the Pocono Northeast Classic? ### Query: SELECT margin_of_victory FROM table_name_55 WHERE tou...
### Context: CREATE TABLE table_name_40 ( gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many golds for nations with over 0 silvers, over 1 total, and over 3 bronze? ### Query: SELECT COUNT(gol...
### Context: CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, servic...
### Context: CREATE TABLE table_70320 ( "Date" text, "Opponent" text, "Home/Away" text, "Field" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Field was played at in an away game against the bayhawks? ### Query: SELECT "Field" F...
### Context: CREATE TABLE table_10748727_1 ( position VARCHAR, races VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is the team that completed 6 races? ### Query: SELECT position FROM table_10748727_1 WHERE races = 6
### Context: CREATE TABLE table_204_842 ( id number, "institution" text, "city" text, "state" text, "team name" text, "affiliation" text, "enrollment" number, "home conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the t...