text
stringlengths
197
8.39k
### Context: CREATE TABLE table_69809 ( "Year" text, "Men's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Men's singles has a Mixed doubles of kai abraham petra mich...
### 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 record ( ID int, Result text, Swimmer_ID int, Event_ID int ) 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, ...
### Context: CREATE TABLE table_204_223 ( id number, "party" text, "previous council" number, "staying councillors" number, "seats up for election" number, "election result" number, "new council" number ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_24536 ( "No. in total" text, "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number in series is 'Judas Kiss'? ##...
### Context: CREATE TABLE table_43323 ( "Competition" text, "Ladder Position" text, "Coach" text, "Captain(s)" text, "Details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the coach of the 2010 Gold Coast Titans season? ### Query: SELECT "...
### Context: CREATE TABLE procedures ( 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_...
### Context: CREATE TABLE table_77957 ( "Series" text, "Monday" text, "Tuesday" text, "Thursday" text, "Saturday" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which series airs Saturday on Channel 5? ### Query: SELECT "Series" FROM table_77957 WH...
### Context: CREATE TABLE table_name_91 ( team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the 2nd round opponent when Team 2 is Red Star (D1)? ### Query: SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)"
### Context: CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperdataset ( pa...
### Context: CREATE TABLE table_train_28 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "systemic_antifungal_therapy" bool, "child_pugh_class" string, "invasive_candida_infection" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for ...
### 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_56 ( score VARCHAR, assist_pass VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on 2010-07-13 when Abby wambach had the assist/pass? ### Query: SELECT score FROM table_name_56 WHERE as...
### Context: CREATE TABLE table_39176 ( "Team" text, "Copa Libertadores 1999" text, "Copa Mercosur 1999" text, "Copa CONMEBOL 1999" text, "Intercontinental Cup 1999" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Intercontinental Cup 199...
### Context: CREATE TABLE table_72335 ( "Colt model no." text, "Name" text, "Stock" text, "Fire control" text, "Rear sight" text, "Forward assist" text, "Case deflector" text, "Barrel length" text, "Barrel profile" text, "Barrel twist" text, "Hand guards" text, "Bayonet L...
### Context: CREATE TABLE table_53714 ( "engine name" text, "engine code(s)" text, "valvetrain" text, "displacement" text, "max. power at rpm" text, "max. torque at rpm" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine name that...
### Context: CREATE TABLE table_25505246_7 ( round VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of round was played when Hanne Skak Jensen faced Austria? ### Query: SELECT round FROM table_25505246_7 WHERE against = "Austria"
### Context: CREATE TABLE table_63667 ( "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. -- is the restaurant bacchus roti with meredith heron ...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZ...
### Context: CREATE TABLE table_23214055_2 ( ezhavas VARCHAR, muslims VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ezhavas for muslims being 5.4 ### Query: SELECT ezhavas FROM table_23214055_2 WHERE muslims = "5.4"
### 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_1342256_40 ( candidates VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the candidate for south carolina 3? ### Query: SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 3"
### 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_16965 ( "Series no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the airdate of 21 series number? ...
### Context: CREATE TABLE table_7846 ( "Species" text, "Species common name" text, "NCBI Accession Number (mRNA/Protein)" text, "Length (bp/aa)" text, "Protein Identity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Species has the Species com...
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, Revisi...
### Context: CREATE TABLE table_name_73 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was in 2007 that is from 2004 0f 2r and 2010 of A? ### Query: SELECT 2007 FROM table_name_73 WHERE 2004 = "2r" AND 2010 = "a"
### Context: CREATE TABLE table_33967 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round where a back named Ed Cody can be found? ### Query: SELEC...
### Context: CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE region ( region_id number, region_code text, region_name text ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, da...
### Context: CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty_Participates...
### 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 course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### Context: CREATE TABLE View_Product_Availability ( product_id INTEGER, booking_id INTEGER, status_date DATETIME, available_yn VARCHAR(1) ) CREATE TABLE Products_Booked ( booking_id INTEGER, product_id INTEGER, returned_yn VARCHAR(1), returned_late_yn VARCHAR(1), booked_count INTE...
### Context: CREATE TABLE table_name_85 ( original_title VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original title directed by luis bu uel ### Query: SELECT original_title FROM table_name_85 WHERE director = "luis buñuel"
### Context: CREATE TABLE table_name_18 ( road_number VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many road numbers are before 1922? ### Query: SELECT COUNT(road_number) FROM table_name_18 WHERE year < 1922
### Context: CREATE TABLE table_77906 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day is south melbourne at home...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE procedu...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country...
### Context: CREATE TABLE table_65077 ( "Peak" text, "Country" text, "Elevation (m)" real, "Prominence (m)" real, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Col entry for the peak with an elevation of 2,308 meters? ### Que...
### Context: CREATE TABLE table_202_281 ( id number, "date" text, "time (edt)" number, "team #1" text, "res." text, "team #2" text, "round" text, "spectators" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference in num...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE ...
### Context: CREATE TABLE roles ( role_code text, role_name text, role_description text ) CREATE TABLE employees ( employee_id number, role_code text, employee_name text, gender_mfu text, date_of_birth time, other_details text ) CREATE TABLE document_locations ( document_id num...
### Context: CREATE TABLE table_71341 ( "Year" real, "Title" text, "Role" text, "Language" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What role is spoken in hindi in 2011? ### Query: SELECT "Role" FROM table_71341 WHERE "Language"...
### Context: CREATE TABLE table_74430 ( "Date" text, "Episode" real, "Official rating 4+" text, "Share 4+" text, "Official rating 16-39" text, "Share 16-39" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 16-39 share of the episode wi...
### Context: CREATE TABLE store_district ( Store_ID int, District_ID int ) CREATE TABLE district ( District_ID int, District_name text, Headquartered_City text, City_Population real, City_Area real ) CREATE TABLE store ( Store_ID int, Store_Name text, Type text, Area_size r...
### 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 outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, ...
### Context: CREATE TABLE table_15681686_4 ( rank__week_ VARCHAR, viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what rank has viewers at 6.45? ### Query: SELECT rank__week_ FROM table_15681686_4 WHERE viewers__millions_ = "6.45"
### Context: CREATE TABLE table_29015 ( "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. -- Who was drafted to litvinov (czechoslovakia)? ...
### Context: CREATE TABLE table_44403 ( "Poll Source" text, "Date administered" text, "Democrat" text, "Republican" text, "Lead Margin" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead Margin has a Poll Source of rasmussen reports/ fox news...
### Context: CREATE TABLE table_train_141 ( "id" int, "gender" string, "hypothyroidism" bool, "depression" bool, "mini_mental_state_examination_mmse" int, "neuropsychiatric_diagnoses" bool, "memory_box" float, "early_stage_ad" bool, "head_injury" bool, "stroke" bool, "body_we...
### Context: CREATE TABLE Rooms ( roomName VARCHAR, decor VARCHAR, basePrice VARCHAR, beds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of all modern rooms with a base price below $160 and two beds. ### Query: SELECT roomName FROM R...
### Context: CREATE TABLE table_name_89 ( first_issue VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the First Issue date of Bamboo Blade? ### Query: SELECT first_issue FROM table_name_89 WHERE title = "bamboo blade"
### Context: CREATE TABLE table_name_86 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue was used 22 january 2008? ### Query: SELECT venue FROM table_name_86 WHERE date = "22 january 2008"
### 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_61 ( main_campus_location VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college was founded in 1967? ### Query: SELECT main_campus_location FROM table_name_61 WHERE founded = 1967
### Context: CREATE TABLE table_32767 ( "Freq" real, "Call" text, "City" text, "Owner" text, "Day Power ( W )" real, "Night Power" real, "Format" text, "Stereo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is WPEO in stereo? ### Query...
### Context: CREATE TABLE table_28784 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Patient Portrayer" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the origina...
### Context: CREATE TABLE table_name_41 ( goals INTEGER, apps INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Goals have Apps smaller than 1? ### Query: SELECT AVG(goals) FROM table_name_41 WHERE apps < 1
### Context: CREATE TABLE table_56612 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played with a ho...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_...
### Context: CREATE TABLE table_32562 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Melbourne's score when the...
### 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE offering_instructor ( ...
### Context: CREATE TABLE table_42425 ( "Year" real, "Champions" text, "Result" text, "Runners-up" text, "Playoffs MVP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for the champions jeonju kcc egis with runners-up seoul samsung...
### Context: CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Ad...
### Context: CREATE TABLE table_204_178 ( id number, "number" text, "south/west end" text, "north/east end" text, "formed" text, "eliminated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many routes were formed in 1926 ? ### Query: SELECT...
### Context: CREATE TABLE table_name_83 ( label VARCHAR, region VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What label has the netherlands as the region, and magik muzik 802-1 as the catalog? ### Query: SELECT label FROM table_name_8...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid n...
### Context: CREATE TABLE table_name_40 ( gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the GameRankings Released of 2011 with a Metacritic of 83/100? ### Query: SELECT gamerankings FROM t...
### Context: CREATE TABLE table_203_74 ( id number, "rank" number, "urban area" text, "population\n(2001 census)" number, "area (km2)" number, "density (people/km2)" number, "major subdivisions" text, "metropolitan area" text ) -- Using valid SQLite, answer the following questions for ...
### Context: CREATE TABLE country ( Country_id VARCHAR, Country_name VARCHAR ) CREATE TABLE match_season ( Player VARCHAR, Country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which players are from Indonesia? ### Query: SELECT T2.Player FROM cou...
### Context: CREATE TABLE table_19534677_1 ( creators VARCHAR, volume_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the umbr of creators for flash of two worlds ### Query: SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash ...
### Context: CREATE TABLE table_name_80 ( year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For how many years did the song 'Lost Without Your Love' win the gold RIAA Sale...
### Context: CREATE TABLE table_name_31 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on 10 november 2004? ### Query: SELECT AVG(attendance) FROM table_name_31 WHERE date = "10 november 2004"
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_...
### Context: CREATE TABLE table_27147 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the game si...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, mi...
### Context: CREATE TABLE school_bus ( school_id number, driver_id number, years_working number, if_full_time others ) CREATE TABLE driver ( driver_id number, name text, party text, home_city text, age number ) CREATE TABLE school ( school_id number, grade text, school ...
### Context: CREATE TABLE table_77658 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game played at Lake Ov...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, ...
### 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 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 table_291 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players have the hometown Pennsauken, NJ? ### Query: SELECT COUNT("Player") FR...
### Context: CREATE TABLE table_name_49 ( mixed_doubles VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the Mixed Doubles in 2007? ### Query: SELECT mixed_doubles FROM table_name_49 WHERE year = "2007"
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, Related...
### Context: CREATE TABLE table_name_24 ( lost INTEGER, goals_against VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses have 222 as the goals against, with points greater than 78? ### Query: SELECT SUM(lost) FROM table_name_...
### Context: CREATE TABLE table_name_4 ( semifinal VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Hossein Ojaghi participated in what semifinal. ### Query: SELECT semifinal FROM table_name_4 WHERE athlete = "hossein ojaghi"
### 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 jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_name_24 ( result VARCHAR, game_site VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the game at Memorial Stadium in week 15? ### Query: SELECT result FROM table_name_24 WHERE game_site...
### Context: 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID d...
### 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 Grants ( grant_id INTEGER, organisation_id INTEGER, grant_amount DECIMAL(19,4), grant_start_date DATETIME, grant_end_date DATETIME, other_details VARCHAR(255) ) CREATE TABLE Organisations ( organisation_id INTEGER, organisation_type VARCHAR(10), organisatio...
### 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 takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2)...
### Context: CREATE TABLE table_name_82 ( tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%? ### Query: SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_...
### Context: CREATE TABLE table_name_27 ( drawn INTEGER, lost VARCHAR, points VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of draws with more than 15 points, an against of 19, and less than 3 losses? ###...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...