text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_64 ( round INTEGER, pick__number VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the round when the pick # is less than 236 and the position is offensive guard? ### Query: SELECT AVG(round) F...
### 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_23274514_6 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the record 14-27? ### Query: SELECT date FROM table_23274514_6 WHERE record = "14-27"
### Context: CREATE TABLE table_name_81 ( agg VARCHAR, team_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Team 1 Al-Hilal's Agg.? ### Query: SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal"
### Context: CREATE TABLE table_name_22 ( grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660? ### Query: SELECT MAX(g...
### Context: CREATE TABLE customer_orders ( order_id number, customer_id number, store_id number, order_date time, planned_delivery_date time, actual_delivery_date time, other_order_details text ) CREATE TABLE customers ( customer_id text, address_id number, customer_name text, ...
### Context: CREATE TABLE table_name_6 ( swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Daniela Ryf who competes in the women's even had what swim (1.5km)? ### Query: SELECT swim__15km_ FROM table_name_6 WHERE...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE table_64315 ( "Name" text, "Geographic code" text, "Type" text, "Households" real, "Population (2004)" real, "Foreign population" real, "Moroccan population" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Popu...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE city ( city_code varchar, city_n...
### Context: CREATE TABLE table_67766 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the film that Avie Luthra received an award for? ###...
### Context: CREATE TABLE table_name_27 ( location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game against the buffalo sabres? ### Query: SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres"
### Context: CREATE TABLE table_name_91 ( length_fuel VARCHAR, floor_styling VARCHAR, year_built VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling? ### Query: SELECT lengt...
### Context: CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CRE...
### Context: CREATE TABLE table_70074 ( "Goal" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Assist/pass has a Score of 1-0, and a Go...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE aircraft ( aircr...
### Context: CREATE TABLE table_74492 ( "Year" text, "Competition" text, "Opponent" text, "Score" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what venue was there a competition with a score reported as 7.14 (56) - 4.5 (29)? ### ...
### 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 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 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_name_95 ( attendance VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Attendance, when Week is 5? ### Query: SELECT attendance FROM table_name_95 WHERE week = 5
### Context: CREATE TABLE table_2328113_1 ( percentage__2006_ VARCHAR, mother_tongue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the percentage in 2006 whose natives is Polish? ### Query: SELECT percentage__2006_ FROM table_2328113_1 WHERE mothe...
### Context: CREATE TABLE table_name_54 ( starts INTEGER, avg_finish INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many starts for an average finish greater than 43? ### Query: SELECT SUM(starts) FROM table_name_54 WHERE avg_finish > 43
### 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_22 ( winner VARCHAR, prize VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Winner had a Prize of z 2,153,999? ### Query: SELECT winner FROM table_name_22 WHERE prize = "zł2,153,999"
### Context: CREATE TABLE table_47082 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers...
### Context: CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CRE...
### Context: CREATE TABLE manufacturers ( name VARCHAR, revenue INTEGER, headquarter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of companies whose revenue is smaller than the revenue of all companies based in Austin. ### Query: SELECT ...
### Context: CREATE TABLE table_47432 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament's Score was 6 2, 4 6, 6 4? ### Query: SELECT "Tournament" FROM table_474...
### Context: CREATE TABLE table_name_10 ( loss INTEGER, name VARCHAR, gain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Loss with Gain larger than 319 for derrick locke? ### Query: SELECT MIN(loss) FROM table_name_10 WHERE name = "d...
### Context: CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text ) CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) -- Using valid SQLite, ans...
### Context: CREATE TABLE table_50489 ( "Position" real, "Equipment" text, "Points" real, "Wins" text, "Second" text, "Third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Equipment, when Points is less than 6, and when Position is 53? ...
### Context: CREATE TABLE table_76049 ( "Round" text, "Main date" text, "Number of fixtures" real, "Clubs" text, "New entries this round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Number of fixtures when the rounds shows quar...
### Context: CREATE TABLE table_26736 ( "Series No." real, "Episode No." real, "Title" text, "Directed by" text, "Written by" text, "UK Ratings (BBC2 Rank)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the wr...
### 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 instructor ( id text, name text, dept_name text, salary number ) CREATE TABLE takes ( id text, course_id text, sec_id text, semester text, year number, grade text ) CREATE TABLE course ( course_id text, title text, dept_name text, credi...
### Context: CREATE TABLE table_58004 ( "Singular abbreviation" text, "Singular Word" text, "Plural abbreviation" text, "Plural Word" text, "Discipline" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A singular abbreviation of p. is used for what si...
### Context: CREATE TABLE table_80294 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Chart Peak" text, "Song Title" text, "Writer(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time ...
### 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 ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ...
### Context: CREATE TABLE university ( school VARCHAR, founded VARCHAR, affiliation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the schools that were either founded after 1850 or public. ### Query: SELECT school FROM university WHERE founded > 1...
### Context: CREATE TABLE table_62448 ( "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the 2nd member of the parliament that was assembled on 3 november 1529...
### Context: CREATE TABLE table_name_21 ( pick INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Lowest pick for mike flater? ### Query: SELECT MIN(pick) FROM table_name_21 WHERE name = "mike flater"
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE 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_1009 ( "Player" text, "Position" text, "Games started" text, "Hometown" text, "Height" text, "Weight" real, "Class" text, "Prior experience" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the weigh...
### Context: CREATE TABLE table_23412 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least number in series ### Query: SELECT MIN("...
### Context: CREATE TABLE table_33072 ( "Lecturers" real, "Associate professors" real, "Assistant professors" real, "Professors" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total in the case when there are more than 4 as...
### Context: CREATE TABLE table_23915_4 ( translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original of the ipa ( rio de janeiro )translation ki mo t a w n t t i t n ? ### Query: SELECT translation FROM t...
### Context: CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), ...
### Context: CREATE TABLE table_25740548_4 ( title VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode had 2.75 million viewers in the U.S.? ### Query: SELECT title FROM table_25740548_4 WHERE us_viewers__million_ = "2...
### Context: CREATE TABLE Songs ( SongId VARCHAR, Title VARCHAR ) CREATE TABLE Performance ( bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR ) CREATE TABLE Band ( firstname VARCHAR, lastname VARCHAR, id VARCHAR ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_50829 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class has *alanaz as Part 4? ### Query: SELECT "Class" FROM ta...
### Context: CREATE TABLE table_name_77 ( score VARCHAR, money___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which score has a prize of $400? ### Query: SELECT score FROM table_name_77 WHERE money___$__ = 400
### Context: CREATE TABLE table_7911 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is team 2 when team 1 is fc rouen (d1)? ### Query: SELECT "Team 2" FROM table_7911 ...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE 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 area ( course_id int, area varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, e...
### Context: CREATE TABLE table_76109 ( "Model number" text, "Frequency" text, "L2 cache" text, "FPU width" text, "Multi 1" text, "Socket" text, "Release date" text, "Order part number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
### Context: CREATE TABLE city ( City_ID int, Official_Name text, Status text, Area_km_2 real, Population real, Census_Ranking text ) CREATE TABLE competition_record ( Competition_ID int, Farm_ID int, Rank int ) CREATE TABLE farm ( Farm_ID int, Year int, Total_Horses re...
### Context: CREATE TABLE table_61197 ( "Date" text, "Year" real, "Location" text, "Country" text, "Killed" text, "Injured" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the injured that has skierlik as the location? ### Query: SELECT ...
### 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 zyjzjlb ( CYBQDM tex...
### Context: CREATE TABLE table_18480 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the incumbent first elected in 1944? ### Query: SEL...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE constructors ( constructorId INTEGER, constructorRef TEXT, name TEXT, nationality TEXT, url TEXT ) CREATE TABLE circuits ( circuitId INTEGER, circuitRef TEXT, name TEXT, location TEXT, country TEXT, lat REAL, lng REAL, alt TEXT, url TEXT...
### Context: CREATE TABLE table_109 ( "Track #" real, "Song" text, "Singers" text, "Picturization" text, "Length" text, "Lyricist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which lyricist has a song with a length of 6:14? ### Query: SELECT...
### 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 inputevents_cv ( ...
### 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 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_48061 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team of the game ...
### 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 microlab...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide...
### 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 allergy ...
### Context: CREATE TABLE Orders ( order_id INTEGER, customer_id INTEGER, date_order_placed DATETIME, order_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, date_account_opened DATETIME, account_name VARCHAR(50), other_account_details VARCHAR(2...
### 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 food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE airline ( airl...
### Context: CREATE TABLE table_name_33 ( player VARCHAR, pick VARCHAR, new_wnba_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx? ### Query: SELECT player FROM table_name_33 W...
### Context: CREATE TABLE table_203_611 ( id number, "player" text, "hr" number, "date reached 500 hr" text, "team" text, "seasons played" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which member of the 500 club has the least amount of home r...
### Context: CREATE TABLE table_name_85 ( rank_points VARCHAR, event VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The event WC Rio De Janeiro with a total of 16 has what as rank points? ### Query: SELECT rank_points FROM table_name_85 W...
### 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 table_11960944_11 ( location_attendance VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played when the high assists were scored by billups , stuckey (4)? ### Query: SELECT location_attendanc...
### 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 t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE 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 flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE labevents ( row_id number, subject_id...
### Context: CREATE TABLE table_70314 ( "No.1" text, "No.2" text, "No.3" text, "No.4" text, "No.5" text, "No.6" text, "No.7" text, "No.8" text, "No.9" text, "No.10" text, "No.11" text, "No.12" text, "No.13" text, "No.14" text, "No.15" text, "FINAL" text ) ...
### Context: CREATE TABLE table_name_9 ( score VARCHAR, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for t9 place for Harold Mcspaden? ### Query: SELECT score FROM table_name_9 WHERE place = "t9" AND player = "...
### Context: CREATE TABLE table_name_63 ( record VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the Loss of Plesac (1-5), what is the Record? ### Query: SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"
### Context: CREATE TABLE table_34964 ( "Season" text, "Champions" text, "Runners-up" text, "Promotion Playoff" text, "Standings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Standings of Eintracht Braunschweig? ### Query: SELECT "Sta...
### Context: CREATE TABLE table_10888 ( "Season" text, "Games" real, "Lost" real, "Tied" real, "Points" real, "Goals for" real, "Goals against" real, "Standing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the least amount of go...
### Context: CREATE TABLE table_43912 ( "Rank" real, "Company" text, "Headquarters" text, "Industry" text, "Sales (billion $)" real, "Profits (billion $)" real, "Assets (billion $)" real, "Market Value (billion $)" real ) -- Using valid SQLite, answer the following questions for the ta...
### Context: CREATE TABLE table_18569389_1 ( directed_by VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name who directed the episode that was viewed by 4.22 million ### Query: SELECT directed_by FROM table_18569389_1 WHERE us_...
### Context: CREATE TABLE table_55870 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position does Robert Nkemdiche play? ### Query: SELECT "Position" FROM table_5587...
### Context: CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apar...
### Context: CREATE TABLE table_48899 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Date of september 3, 2000? ### Query: SELECT "Result" FROM table_48899 ...