text
stringlengths
197
8.39k
### Context: CREATE TABLE table_49625 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest point total that placed 3rd and has a draw larger than 5? ### Query: SELECT M...
### Context: CREATE TABLE table_8025 ( "World Record" text, "Press" text, "92.5" text, "Hans W\u00f6lpert" text, "Mannheim ( GER )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the 92.5 with the press 282.5? ### Query: SELECT "92.5" FROM t...
### Context: CREATE TABLE table_74648 ( "Rank" text, "County" text, "Population (1960)" real, "Population (2000)" real, "Population (2040)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the population of a county in 1960 that had a populat...
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER va...
### 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 Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status VARCHAR(15), order_date DATETIME, order_details VARCHAR(255) ) CREATE TABLE Addresses ( address_id INTEGER, address_content VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), st...
### Context: CREATE TABLE table_70128 ( "Interferon beta-1a" text, "Betaseron (beta-1b)" text, "Copaxone" text, "Mitoxantrone" text, "Tysabri" text, "Fingolimod (Gylenya)" text, "Teriflunomide" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### 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 icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE d_labitems ( row_id number, itemid number,...
### Context: CREATE TABLE table_name_64 ( opponent VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the opponent with round 17? ### Query: SELECT opponent FROM table_name_64 WHERE round = "17"
### Context: CREATE TABLE table_name_92 ( home_runs INTEGER, team VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest home runs for cleveland indians years before 1931 ### Query: SELECT MAX(home_runs) FROM table_name_92 WHER...
### Context: CREATE TABLE table_57491 ( "Actor" text, "Character" text, "Duration" text, "No. of series" text, "Episodes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What character is in over 22 episodes? ### Query: SELECT "Character" FROM table...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden b...
### Context: CREATE TABLE Customers_cards ( customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the customer id with most number of cards, and how many does he have? ### Query: SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_i...
### Context: CREATE TABLE table_22588 ( "Period" text, "Internet Explorer" text, "Firefox" text, "Chrome" text, "Safari" text, "Opera" text, "Other Mozilla" text, "Mobile" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For period Septemb...
### 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 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_12834315_4 ( barrel_twist VARCHAR, colt_model_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the barrel twist for colt model mt6400 ### Query: SELECT barrel_twist FROM table_12834315_4 WHERE colt_model_no = "MT6400"
### Context: CREATE TABLE table_name_24 ( date VARCHAR, scored VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition? ### Query: SELECT da...
### Context: CREATE TABLE table_name_63 ( goals INTEGER, position VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Goals that has a Position of 14th of 24, and a League of football conference has what sum? ### Query: SELECT SUM(goals) FROM...
### Context: CREATE TABLE table_29708 ( "Conference" text, "Old membership total" real, "New membership total" real, "Net change" text, "Members added" real, "Members lost" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest numb...
### Context: CREATE TABLE apartment_buildings ( building_id number, building_short_name text, building_full_name text, building_description text, building_address text, building_manager text, building_phone text ) CREATE TABLE view_unit_status ( apt_id number, apt_booking_id number,...
### Context: CREATE TABLE table_name_22 ( height__m_ INTEGER, island VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Height (m) on the island of Burray? ### Query: SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"
### Context: CREATE TABLE table_name_5 ( races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0...
### 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_9 ( winner VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Winner in the Year of 2000? ### Query: SELECT winner FROM table_name_9 WHERE year = "2000"
### Context: CREATE TABLE table_name_3 ( day_4 VARCHAR, day_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is day 4 when day 2 is PAAQ? ### Query: SELECT day_4 FROM table_name_3 WHERE day_2 = "paaq"
### Context: CREATE TABLE table_name_40 ( size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? ### Query: SELECT AVG(siz...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_203_293 ( id number, "years of appearance" text, "title" text, "network" text, "character name" text, "actor" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last show aired by abc ? ...
### Context: CREATE TABLE table_59164 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team played against Stoke City? ### Query: SELECT "Home team" FROM table_59164...
### Context: CREATE TABLE table_25730326_2 ( touchdowns INTEGER, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many touchdowns did the player with 10 points have? ### Query: SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 10
### 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 Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_23346303_5 ( points VARCHAR, assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the points total number if the assists is 7? ### Query: SELECT COUNT(points) FROM table_23346303_5 WHERE assists = 7
### Context: CREATE TABLE table_35846 ( "Game #" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in game 81? ### Query: SELECT "Score" F...
### 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_58725 ( "Club" text, "City" text, "Stadium" text, "Capacity" real, "2007\u201308 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of the stadium when the club was F.C. Igea Virtus Barcellona? ##...
### Context: CREATE TABLE table_59925 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player is associated with soenderjyske...
### Context: CREATE TABLE table_6145 ( "Call sign" text, "Frequency" text, "City of license" text, "Watts" real, "Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Frequency that is smaller than 100,000 Watts in guymon, oklahoma? ##...
### Context: CREATE TABLE table_name_95 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was Patty Fendick an opponent? ### Query: SELECT date FROM table_name_95 WHERE opponent = "patty fendick"
### Context: CREATE TABLE journal ( date VARCHAR, theme VARCHAR, sales VARCHAR ) CREATE TABLE journal_committee ( journal_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the date, theme and sales of the journal which did not have any of the l...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Votes ( ...
### 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 table_11281 ( "Season Number" text, "Premiere Date" text, "Winner" text, "Runner Up" text, "2nd Runner-up" text, "3rd Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2nd runner-up for yuming lai ( ) ...
### Context: CREATE TABLE table_26986076_3 ( rank INTEGER, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Paul Coward 492cc nourish Weslake's lowest rank? ### Query: SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nouri...
### 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 zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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, ...
### Context: CREATE TABLE table_66243 ( "Debut year" real, "Player" text, "Games" real, "Goals" real, "Years at club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player...
### Context: CREATE TABLE table_name_80 ( game VARCHAR, streak VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Streak of loss 1, and a Score of 110 111? ### Query: SELECT game FROM table_name_80 WHERE streak = "loss 1" AND...
### Context: CREATE TABLE table_14929 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the racer with a heat higher than 2 and a lane less than 5, with a time of 1...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), ST...
### Context: CREATE TABLE furniture_manufacte ( manufacturer_id number, furniture_id number, price_in_dollar number ) CREATE TABLE manufacturer ( manufacturer_id number, open_year number, name text, num_of_factories number, num_of_shops number ) CREATE TABLE furniture ( furniture_i...
### Context: CREATE TABLE table_68609 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the chassis when the entrant was Lavazza March, and the year was 1975? ### Query: S...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### Context: CREATE TABLE table_name_70 ( city VARCHAR, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city is in Saskatchewan? ### Query: SELECT city FROM table_name_70 WHERE province = "saskatchewan"
### Context: CREATE TABLE table_20345624_2 ( writer VARCHAR, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of writers for airdate of 15 july 1967 ### Query: SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate ...
### Context: CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHA...
### Context: CREATE TABLE table_17288869_5 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on November 7? ### Query: SELECT COUNT(record) FROM table_17288869_5 WHERE date = "November 7"
### Context: CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) 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 Participates_in (...
### Context: CREATE TABLE table_2890 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_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, ...
### 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_66917 ( "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 representative ( Representative_ID int, Name text, State text, Party text, Lifespan text ) CREATE TABLE election ( Election_ID int, Representative_ID int, Date text, Votes real, Vote_Percent real, Seats real, Place real ) -- Using valid SQLite...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### 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_22542179_3 ( l_g VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the l g for rubio ### Query: SELECT l_g FROM table_22542179_3 WHERE player = "Rubio"
### Context: CREATE TABLE table_75517 ( "Rank" real, "# of Titles" real, "School" text, "City" text, "Sport" text, "First" real, "Last" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city is the school that had less than 17 titles in bo...
### Context: CREATE TABLE table_name_8 ( team_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score of the 1st leg when Water Corporation was Team 1? ### Query: SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"
### Context: CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, ...
### Context: CREATE TABLE table_16712 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### 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 workshop ( workshop_id number, date text, venue text, name text ) CREATE TABLE submission ( submission_id number, scores number, author text, college text ) CREATE TABLE acceptance ( submission_id number, workshop_id number, result text ) -- Usin...
### Context: CREATE TABLE table_203_239 ( id number, "year" number, "title" text, "chinese title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films in 1995 did athen chu act in ? ### Query: SELECT COUNT("t...
### Context: CREATE TABLE table_name_81 ( team VARCHAR, rank VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Matts Nilsson's team that's ranked better than 7? ### Query: SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "mat...
### Context: CREATE TABLE table_8309 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player that has a To par of 1? ### Query: SELE...
### Context: CREATE TABLE table_56303 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the Mariners game that had a score of 1-12? ### Que...
### Context: CREATE TABLE table_5617 ( "Crop" text, "Area" text, "Output (2007)" text, "% of national" text, "Main location(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed for the Main Location(s) that has a % of National of 2.05%?...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE professor ( emp_num number, dept_code te...
### Context: CREATE TABLE table_21722 ( "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. -- What is part 1 of the verb in class 7b ### Query: SELECT "Part 1" FR...
### Context: CREATE TABLE table_13514348_7 ( venue VARCHAR, captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue did Luke Blackwell serve as captain? ### Query: SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell"
### Context: CREATE TABLE table_30875 ( "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. -- How many nationalities does Alex Nikolic come f...
### Context: CREATE TABLE table_name_61 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who went to Geelong to play? ### Query: SELECT away_team FROM table_name_61 WHERE home_team = "geelong"
### 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...
### Context: CREATE TABLE table_51519 ( "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 the home team was hawthorn, wh...
### Context: CREATE TABLE table_15187735_12 ( segment_b VARCHAR, series_ep VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Segment B for series episode 12-08? ### Query: SELECT segment_b FROM table_15187735_12 WHERE series_ep = "12-08"
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( ...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE month ( month_number int, month_name text ) ...
### Context: 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, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### 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 table_name_70 ( record VARCHAR, points VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record with 23 points and a visitor of Chicago? ### Query: SELECT record FROM table_name_70 WHERE points = 23 AN...
### Context: CREATE TABLE table_69773 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the player finishing at +8, what is his nationality? ### Query: ...
### Context: CREATE TABLE table_train_99 ( "id" int, "mini_mental_state_examination_mmse" int, "language" string, "renal_disease" bool, "hepatic_disease" bool, "allergy_to_formoterol" bool, "geriatric_depression_scale_gds" int, "NOUSE" float ) -- Using valid SQLite, answer the followin...
### Context: 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, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_24257833_4 ( operating_system VARCHAR, webkit_version VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all OS's with a webkit version of 525.29.1. ### Query: SELECT operating_system FROM table_24257833_4 WHERE webkit_versi...
### Context: CREATE TABLE table_name_9 ( date VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game where St Kilda is the home team? ### Query: SELECT date FROM table_name_9 WHERE home_team = "st kilda"