text
stringlengths
197
8.39k
### Context: CREATE TABLE table_20704243_6 ( title VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode aired on august19,2012? ### Query: SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,2012"
### Context: CREATE TABLE table_27721131_2 ( high_rebounds VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's in the high rebounds in the verizon center 9,263 location attendance? ### Query: SELECT high_rebounds FROM table_277...
### Context: CREATE TABLE table_train_26 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "allergy_to_penicillin" bool, "active_infection" bool, "allergy_to_cephalosporin" bool, "receiving_anticoagulants" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer t...
### Context: CREATE TABLE table_35291 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score of the tournament on 16 May 1993? ### Qu...
### Context: CREATE TABLE table_27756164_2 ( date VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Roy Hibbert (27) did the high points? ### Query: SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
### 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_204_135 ( id number, "position" number, "club" text, "played" number, "points" number, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number ) -- Using valid SQLite, answer the fo...
### 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 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagn...
### Context: CREATE TABLE table_48972 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has a total of 158/ ### Query: SELECT "Player" FROM table_48972 WHERE "Tota...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE prescriptions ( row_id ...
### Context: CREATE TABLE table_2668367_21 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the distrct for thomas wilson ### Query: SELECT district FROM table_2668367_21 WHERE incumbent = "Thomas Wilson"
### Context: CREATE TABLE table_17453 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what college has nhl team chicago black hawks? ...
### Context: CREATE TABLE table_name_16 ( population__2010_census_ INTEGER, administrative_division VARCHAR, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of the population in 2010 for the division of japeri with an area of 8...
### Context: CREATE TABLE table_name_20 ( country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2013 press freedom index of the country Egypt? ### Query: SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt"
### 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 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 hz_info ( KH text, KLX number, RYBH text, 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, JCZB...
### 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_name_67 ( decile VARCHAR, authority VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Decile has State Authority and Raumati South Area? ### Query: SELECT decile FROM table_name_67 WHERE authority = "state...
### Context: CREATE TABLE table_57503 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronze medals were won when the total was larger than 2 and the more t...
### Context: CREATE TABLE table_name_99 ( place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place did Keith Clearwater get? ### Query: SELECT place FROM table_name_99 WHERE player = "keith clearwater"
### Context: CREATE TABLE table_39459 ( "Year" real, "Class" text, "Team" text, "Machine" text, "Points" real, "Rank" text, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What class has nsr250 as the machine, with points greater than ...
### Context: CREATE TABLE table_68600 ( "Outcome" text, "Year" real, "Tournament" text, "Partner" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament has an opponent jung jae-sung lee yong-dae? ### Quer...
### Context: CREATE TABLE table_35508 ( "Dish" text, "Callsign" text, "Network" text, "Resolution" text, "City of License" text, "Official Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the resolution of the network Carismatv? ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender tex...
### Context: CREATE TABLE table_1594 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the parish where the area is 508.30? ### Query: SEL...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_12564 ( "Tie no" real, "Home team" text, "Score" text, "Away team" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total attendance when Stourbridge is the home team? ### Query: SELECT C...
### Context: CREATE TABLE table_name_98 ( original_canadian_air_date VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Original Canadian air-date that was directed by Michael Tolkin? ### Query: SELECT original_canadian_air_date FR...
### Context: CREATE TABLE table_name_43 ( record VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at WEC 24? ### Query: SELECT record FROM table_name_43 WHERE event = "wec 24"
### Context: CREATE TABLE table_8578 ( "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 above...
### Context: CREATE TABLE table_19294812_2 ( team_1 VARCHAR, team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is team 1 when team 2 is koper? ### Query: SELECT team_1 FROM table_19294812_2 WHERE team_2 = "Koper"
### Context: CREATE TABLE table_name_1 ( player VARCHAR, country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Player, when Country is United States, and when Score is 70-72-70=212? ### Query: SELECT player FROM table_name_1 WHER...
### Context: CREATE TABLE table_16904 ( "number" real, "date of debut" text, "name" text, "date of birth" text, "number of caps" real, "number of goals" real, "date of death\u2020" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the ...
### Context: CREATE TABLE table_26662 ( "Province, Community" text, "Contestant" text, "Age" real, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is the person with the height of m (...
### Context: CREATE TABLE table_80429 ( "Season" text, "Team Name" text, "Games" real, "Losses" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the sum of points for the 1963 season when there are more than 30 games? ### Query:...
### Context: CREATE TABLE table_49639 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real, "2000 result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of other candid...
### Context: CREATE TABLE table_name_87 ( league VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what League is the Reed School? ### Query: SELECT league FROM table_name_87 WHERE school = "reed"
### Context: CREATE TABLE Staff ( staff_id INTEGER, staff_address_id INTEGER, nickname VARCHAR(80), first_name VARCHAR(80), middle_name VARCHAR(80), last_name VARCHAR(80), date_of_birth DATETIME, date_joined_staff DATETIME, date_left_staff DATETIME ) CREATE TABLE Customers ( cus...
### Context: CREATE TABLE table_9376 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Place of t1, and a Player of scott simpson? ### Query: SELECT COUNT("Score")...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE table_54128 ( "Date of Issue" text, "Denomination" text, "Design" text, "Paper Type" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Denomination listed for the Date of Issue 1...
### Context: CREATE TABLE table_203_131 ( id number, "pos." number, "car #" number, "driver" text, "make" text, "team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the number of cars finishing in the top ten for braun racing . ### Query: SELE...
### Context: CREATE TABLE table_2507 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for the...
### Context: CREATE TABLE table_25748 ( "#" text, "Original title" text, "Directed by" text, "Written by" text, "Original air dates" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the written by for prod code being 206 #...
### Context: CREATE TABLE table_43108 ( "Team" text, "Dance" text, "Music" text, "Points jury" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Music for Team anna guzik & rafa kami ski that has a Points Jury of 24 (7,5,6,6)?...
### Context: CREATE TABLE table_203_793 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the date of the last game ? ...
### Context: CREATE TABLE table_5401 ( "Score" real, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opposition has a Year smaller than 1977, and a City of manchester? ### Query: SELECT "Opp...
### Context: CREATE TABLE table_3270 ( "Episode Number" text, "Episode" text, "Original Airdate" text, "Rating" text, "Share" text, "Rating/Share (18\u201349)" text, "Viewers (millions)" text, "Weekly Rank" real ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_51345 ( "Year" real, "Award" text, "Category" text, "Type" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award was won in the best sound category for the exorcist before 1998? ### Query: SELECT "A...
### Context: CREATE TABLE qtb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops rea...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZ...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_...
### Context: CREATE TABLE table_78242 ( "Model" text, "Build year" text, "Total produced" real, "Wheel arrangement" text, "Prime mover" text, "Power output" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the smallest Total produced with...
### Context: CREATE TABLE table_name_26 ( record VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Record that has the Home of ny islanders? ### Query: SELECT record FROM table_name_26 WHERE home = "ny islanders"
### Context: CREATE TABLE table_11677100_12 ( school VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did the catcher attend? ### Query: SELECT school FROM table_11677100_12 WHERE position = "Catcher"
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, ...
### Context: CREATE TABLE table_name_11 ( votes VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the Votes for the Song by Artist Filipa Batista? ### Query: SELECT votes FROM table_name_11 WHERE artist = "filipa batista"
### 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 employees ( first_name VARCHAR, last_name VARCHAR, id VARCHAR ) CREATE TABLE customers ( support_rep_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the full name of employee who supported the most number of customer...
### Context: CREATE TABLE table_name_32 ( attendance VARCHAR, visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance at the game where San Jose was the visitor on May 4? ### Query: SELECT attendance FROM table_name_3...
### Context: CREATE TABLE table_256862_1 ( finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of finishes for 15 entries 15 and l'esprit d'equipe ### Query: SELECT COUNT(finish) FROM table_25686...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, 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, JCZB...
### Context: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int ) -- Using valid SQLit...
### Context: CREATE TABLE table_33344 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance of the game in week 6? ### Query: SELECT "Attendance" FROM table_3...
### Context: CREATE TABLE table_name_38 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest crowd for a game when Melbourne is the home team? ### Query: SELECT MIN(crowd) FROM table_name_38 WHERE home_team = "melbo...
### Context: CREATE TABLE table_203_364 ( id number, "year" number, "driver" text, "nation of citizenship" text, "racing series" text, "type of vehicle" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- jimmy johnson won how many consecutive espy a...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, ...
### Context: CREATE TABLE table_26250199_1 ( theme VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In episode Top 16 (8 Men), what are the themes? ### Query: SELECT theme FROM table_26250199_1 WHERE episode = "Top 16 (8 Men)"
### Context: CREATE TABLE table_name_84 ( order VARCHAR, species_authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? ### Query: SELECT order FROM table_name_84 WHERE sp...
### Context: CREATE TABLE table_name_35 ( extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many extra points are there that Herrnstein had with less than 2 touchdowns and less th...
### Context: CREATE TABLE table_69599 ( "Event" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real, "Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Gold has a Silver greater than 30 and a Total less than 107? ### Query:...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE course_offering ( offering_id int, cou...
### Context: CREATE TABLE table_name_42 ( type VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Type has the Artist of Hiroyuki Takami? ### Query: SELECT type FROM table_name_42 WHERE artist = "hiroyuki takami"
### 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 patient ...
### Context: CREATE TABLE table_name_4 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Venue on November 26? ### Query: SELECT venue FROM table_name_4 WHERE date = "november 26"
### 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_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_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, I...
### Context: CREATE TABLE table_29793 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code(s)" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### 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_10015132_14 ( no VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which number was Patrick O'Bryant? ### Query: SELECT no FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
### Context: CREATE TABLE table_name_98 ( attendance INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Attendance in a match which scores 0:0 - 4:1 (pen) ### Query: SELECT AVG(attendance) FROM table_name_98 WHERE score = "0:0 - 4:1 (pen...
### Context: CREATE TABLE table_80096 ( "Round" text, "Date" text, "Opponent" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the game held at Firhill against AYR United? ### Query: SELECT "Date" FROM ta...
### Context: CREATE TABLE table_name_16 ( points INTEGER, performer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total sum of points for songs performed by Partners in Crime? ### Query: SELECT SUM(points) FROM table_name_16 WHERE performer = "...
### Context: CREATE TABLE table_name_61 ( date_of_birth VARCHAR, pos VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Birth of the CB Player with a Height of m (ft 4in)? ### Query: SELECT date_of_birth FROM table_name_6...
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_name_39 ( lost VARCHAR, points VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lost has Points smaller than 12, and a Drawn larger than 1? ### Query: SELECT COUNT(lost) FROM table_name_39 WHERE points ...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar...
### Context: CREATE TABLE table_name_10 ( circuit VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Circuit has an Event of international procar meeting? ### Query: SELECT circuit FROM table_name_10 WHERE event = "international procar meet...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostNoticeTypes ( Id number, ClassId n...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, ...
### Context: CREATE TABLE table_29400 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the t...
### Context: CREATE TABLE table_name_25 ( opponent VARCHAR, week VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Giants play before week 7 in Tulane Stadium? ### Query: SELECT opponent FROM table_name_25 WHERE week < 7 AND ...