text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_64 ( chassis VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the chassis after 1991? ### Query: SELECT chassis FROM table_name_64 WHERE year > 1991
### Context: CREATE TABLE table_36129 ( "Games" real, "Drawn" real, "Lost" real, "Goal difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of games associated with 6 points and under 2 losses? ### Qu...
### Context: CREATE TABLE table_name_17 ( status VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What status is shown for Cadeby? ### Query: SELECT status FROM table_name_17 WHERE name = "cadeby"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime ...
### 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_40 ( split_off___continuation_of VARCHAR, church_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Pure Church of Christ's Split off/ Continuation? ### Query: SELECT split_off___continuation_of FROM table_...
### Context: CREATE TABLE table_203_325 ( id number, "year" number, "title" text, "(english)" text, "ifpi israel certification" text, "label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the name of the title previous to david & shlom...
### Context: CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) -- Using valid S...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, ...
### Context: CREATE TABLE table_204_838 ( id number, "year" number, "award" text, "category" text, "nominated work" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many awards did kang ji hwan win before 2010 ? ### Query: SELE...
### Context: CREATE TABLE table_65173 ( "Eliminated" text, "Tag Team" text, "Entered" real, "Eliminated by" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name Tag Team with a Eliminated of 5? ### Query: SELECT "Tag Team" FROM table_65...
### Context: CREATE TABLE table_78015 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the region for december 7, 2004 ### Query: SELECT "Region" FROM table_78015 WHERE "Date...
### Context: CREATE TABLE table_3306 ( "Circuit" text, "Location" text, "Date" text, "Series" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location when the winning driver was Nathana l ...
### Context: CREATE TABLE table_23925 ( "Name" text, "#" real, "Height" text, "Weight" real, "Position" text, "Year" text, "Home Town" text, "High School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high school for the pla...
### Context: CREATE TABLE country ( country_id number, name text, population number, area number, languages text ) CREATE TABLE roller_coaster ( roller_coaster_id number, name text, park text, country_id number, length number, height number, speed text, opened text, ...
### Context: CREATE TABLE table_51539 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks included Kenny Evans? ### Query: SELECT COUNT("Pick") FROM table...
### Context: CREATE TABLE table_2886617_3 ( nhl_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nhl team has the player kevin mckay? ### Query: SELECT nhl_team FROM table_2886617_3 WHERE player = "Kevin McKay"
### Context: CREATE TABLE exhibition ( artist_id VARCHAR ) CREATE TABLE artist ( name VARCHAR, artist_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all artist names and the number of exhibitions for each artist. ### Query: SELECT T2.name, COUN...
### Context: CREATE TABLE table_name_81 ( attendance INTEGER, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance San Jose home games? ### Query: SELECT AVG(attendance) FROM table_name_81 WHERE home = "san jose"
### Context: CREATE TABLE table_54468 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of A. Benes loss to the Rockies? ##...
### Context: CREATE TABLE table_15002265_1 ( mixed_doubles VARCHAR, mens_singles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the mixed doubles with mens singles being peter moritz ### Query: SELECT mixed_doubles FROM table_15002265_1 WHERE men...
### Context: CREATE TABLE table_name_15 ( club VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Club, when Points is '82'? ### Query: SELECT club FROM table_name_15 WHERE points = "82"
### Context: CREATE TABLE table_name_95 ( year INTEGER, round VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did Ivanovic win with Ivanovic greater than 4 and round of R16? ### Query: SELECT SUM(year) FROM table_name_95 WHERE w...
### 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 table_201_18 ( id number, "date" text, "event" text, "headline act(s)" text, "supporting act(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which event is the most recurring on this list ? ### Query: SELECT "event" FRO...
### Context: CREATE TABLE table_3546 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results where given for the vote percenta...
### Context: CREATE TABLE table_71348 ( "Molecule" text, "Percent of Mass" text, "Mol.Weight (daltons)" text, "Molecules" text, "Percent of Molecules" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the percent of mass when the mol.weight (da...
### 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_28260 ( "No." real, "#" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text, "Prod. code" real, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ...
### Context: CREATE TABLE table_11677100_5 ( school VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did Pat Osborn attend? ### Query: SELECT school FROM table_11677100_5 WHERE player = "Pat Osborn"
### 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_75684 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team 1 with team 2 Mount Cameroon FC? ### Query: SELECT "Team 1" FROM table_7568...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDR...
### Context: CREATE TABLE table_name_82 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2005 for 2003 of a and 2011 of 3r ### Query: SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r"
### 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( ...
### Context: CREATE TABLE table_name_20 ( date VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date is associated with the Loss of Farrell (6-13)? ### Query: SELECT date FROM table_name_20 WHERE loss = "farrell (6-13)"
### Context: CREATE TABLE table_2562572_26 ( settlement VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many settlements are named (croatian: ur in)? ### Query: SELECT COUNT(settlement) FROM table_2562572_26 WHERE cyril...
### Context: CREATE TABLE table_7049 ( "English country name" text, "Arabic romanised country name" text, "Arabic country name" text, "English capital name" text, "Arabic romanised capital name" text, "Arabic capital name" text ) -- Using valid SQLite, answer the following questions for the ta...
### Context: CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE dorm_amenity ( amenid number, amenity_name text ) CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE has_amenity ( dormid num...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_201_13 ( id number, "city" text, "county(ies)" text, "population\n(2000 census)" number, "population\n(2010 census)" number, "class" text, "incorporation\ndate" number ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_72311 ( "DS Division" text, "Main Town" text, "Divisional Secretary" text, "GN Divisions" real, "Area (km 2 )" real, "Sri Lankan Tamil" real, "Sri Lankan Moors" real, "Sinhalese" real, "Burgher" real, "Other" real, "Total" real, "Population...
### 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 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_45 ( co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the co-drivers the risi competizione gt2 class that went under 329 laps and record...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE prescriptions ( ...
### Context: CREATE TABLE table_name_71 ( ag VARCHAR, d3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the AG value associated with a D3&4 of 41? ### Query: SELECT ag FROM table_name_71 WHERE d3 & 4 = "41"
### Context: CREATE TABLE table_2500440_1 ( population_density__per_km_2__ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population per km2 in Fishing Lake? ### Query: SELECT population_density__per_km_2__ FROM table_2500440_1 WHE...
### Context: CREATE TABLE table_57002 ( "Episode #" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode that was directed by Roy Dupuis? ### Q...
### Context: CREATE TABLE table_75777 ( "Year" real, "Film" text, "Awards" text, "Category" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years were there for the 62nd golden globe awards? ### Query: SELECT SUM("Year") FROM...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_55 ( draw INTEGER, artist VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest draw for Beathoven when the place was smaller than 16? ### Query: SELECT MIN(draw) FROM table_name_55 WHERE ...
### Context: CREATE TABLE table_25595209_1 ( state_country VARCHAR, loa__metres_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the is the state that the boat is from with LOA of 19.50? ### Query: SELECT state_country FROM table_25595209_1 WHERE loa__m...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, Belong...
### 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 financial_transactions ( transaction_id number, account_id number, invoice_number number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text ) CREATE TABLE customers ( customer_i...
### Context: CREATE TABLE table_47276 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED? ### Query: SELECT "2011" F...
### Context: CREATE TABLE table_name_72 ( total INTEGER, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total of the Player who won in 1998? ### Query: SELECT MAX(total) FROM table_name_72 WHERE year_s__won = "1998"
### Context: CREATE TABLE table_name_26 ( nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nationality's distance was 500m before 2012, when the record was 1:37.071s? ### Query: SELECT ...
### Context: CREATE TABLE table_204_523 ( id number, "week" number, "date" text, "opponent" text, "score" text, "result" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the opponent t...
### Context: CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) -- Using valid SQLite...
### Context: CREATE TABLE table_64742 ( "Rank" real, "Name" text, "Height ft ( m )" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name before 1954 with more than 15 floors? ### Query: SELECT "Name" FROM tabl...
### 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_53341 ( "Season" text, "Division" text, "Position" text, "Played" text, "Lost" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the value for played when points is 8 and position is 11th? ### ...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Te...
### 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_25379 ( "No." real, "Player" text, "Hometown" text, "Class" text, "Position" text, "Height" text, "Weight" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every class with a position of guard and Tal Br...
### Context: CREATE TABLE table_75882 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Texans play at LP Field? ### Query: ...
### Context: CREATE TABLE table_73132 ( "Rank by average" real, "Place" real, "Couple" text, "Number of Dances" real, "Total Points" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the couples name where the average is 15....
### Context: CREATE TABLE table_name_13 ( year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t? ### Query: SELECT year_s__of_manufactu...
### Context: CREATE TABLE table_name_63 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What away team played in Lake Oval? ### Query: SELECT away_team FROM table_name_63 WHERE venue = "lake oval"
### Context: CREATE TABLE table_20721 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" text, "Population" real, "Density" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the pinyin for 487 area ### Que...
### Context: CREATE TABLE table_69630 ( "Competition" text, "Started Round" text, "Final Position" text, "Final Round" text, "First Match" text, "Last Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition had a final round in th...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_61625 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1998" text, "2003" text, "2004" text, "2005" text, "Career" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
### Context: CREATE TABLE table_name_45 ( goal INTEGER, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest goal during the 2006 fifa world cup qualification competition? ### Query: SELECT MIN(goal) FROM table_name_45 WHERE compe...
### Context: CREATE TABLE table_15827 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation had 14 goals? ### Query: SELECT "Nationality" FROM table_15827 WHERE "Goals" ...
### Context: CREATE TABLE mzb ( 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 table_77795 ( "Player" text, "Club" text, "League" real, "Play-offs" real, "FA Cup" real, "FA Trophy" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean number of play-offs when the league...
### 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 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_63256 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on April 12? ### Query: SELECT "Score" FROM ...
### Context: CREATE TABLE table_name_39 ( position VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of the winner with 792 points? ### Query: SELECT position FROM table_name_39 WHERE points = "792"
### 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 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_name_83 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the value in 2012 when 2002 was Q1 and 2010 was 1R? ### Query: SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r"
### Context: CREATE TABLE table_51005 ( "Year" real, "Nord" text, "West" text, "S\u00fcdwest" text, "Berlin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? ### Q...
### Context: CREATE TABLE table_train_164 ( "id" int, "hemoglobin_a1c_hba1c" float, "diabetic" string, "fasting_plasma_glucose" int, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- baseline fasting plasma glucose <= 125 mg /...
### Context: CREATE TABLE table_13265 ( "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. -- Who's the opponent with a time of 3:24...
### Context: CREATE TABLE table_77604 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine \u2020" text, "Tyre" text, "Driver" text, "Rounds" text, "Free Practice driver(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ki...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year t...
### Context: CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) -- Using valid SQLite, answer the ...
### 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_71632 ( "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. -- What is the highest round of the match...
### Context: CREATE TABLE table_23254 ( "School" text, "Baseball stadium" text, "Softball stadium" text, "Basketball arena" text, "Capacity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of UMass Boston's softball stadium? ### Que...
### Context: CREATE TABLE table_name_42 ( gold INTEGER, silver INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most gold where silver is 0? ### Query: SELECT MAX(gold) FROM table_name_42 WHERE silver < 0