text
stringlengths
197
8.39k
### Context: CREATE TABLE table_72303 ( "Election" real, "# of candidates nominated" real, "# of seats won" real, "# of total votes" real, "% of popular vote" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the election year when the # of can...
### Context: CREATE TABLE table_name_49 ( date_of_appointment VARCHAR, outgoing_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of appointment for the outgoing manager edoardo reja? ### Query: SELECT date_of_appointment FROM table_na...
### Context: CREATE TABLE table_203_519 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what driver earn...
### Context: CREATE TABLE table_27221 ( "Round" text, "Opposition" text, "Time" text, "Date" text, "Home/Away" text, "Venue" text, "Score" text, "Result/Margin" text, "Broadcaster" text, "TV" text, "Ladder Position" text ) -- Using valid SQLite, answer the following questio...
### Context: CREATE TABLE table_73660 ( "Episode no." real, "Airdate" text, "Viewers" real, "BBC Three weekly ranking" text, "Cable rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where where the bbc three weekly ranking for episode no. 5? ###...
### Context: CREATE TABLE table_name_78 ( rank VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of the cadillac northstar lmp02 chassis? ### Query: SELECT rank FROM table_name_78 WHERE chassis = "cadillac northstar lmp02"
### Context: CREATE TABLE table_name_55 ( outcome VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome on May 25, 2009? ### Query: SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmi...
### Context: CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy...
### 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 Customers ( customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR ) CREATE TABLE Accounts ( customer_id VARCHAR, account_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the first name and...
### Context: CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) ) CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision va...
### Context: CREATE TABLE races ( name VARCHAR, TIME VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of races held after 12:00:00 or before 09:00:00? ### Query: SELECT name FROM races WHERE TIME > "12:00:00" OR TIME < "09:00:00"
### Context: CREATE TABLE catalog_contents ( catalog_entry_id number, catalog_level_number number, parent_entry_id number, previous_entry_id number, next_entry_id number, catalog_entry_name text, product_stock_number text, price_in_dollars number, price_in_euros number, price_in_...
### Context: CREATE TABLE table_24005 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cardinals points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many opponents were in North Carolina st...
### Context: CREATE TABLE table_69070 ( "Season" text, "Team" text, "Country" text, "Division" text, "Apps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What division is Traktor Tashkent in 2005? ### Query: SELECT "Division" FRO...
### 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 table_67606 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did lap 296 come in? ### Query: SELECT "Pos." FROM table_67606 W...
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROV...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### Context: CREATE TABLE table_name_62 ( wins INTEGER, earnings___$__ VARCHAR, events VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins for billy casper over 8 events and uner $71,979 in earnings? ### Query: SELECT MIN(wi...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_name_75 ( method VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the method in the round 2 win over Nick Gilardi? ### Query: SELECT method FROM table_name_75 WHERE ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_37774 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent for the game on November 20, 1955? ### Query: SELECT "Opponent" FROM ...
### Context: CREATE TABLE table_name_53 ( run_2 VARCHAR, run_4 VARCHAR, run_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Run 2 has a Run 4 of 57.68, and a Run 3 smaller than 57.9? ### Query: SELECT COUNT(run_2) FROM table_name_53 WHERE run_...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_name_86 ( transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Transfer window, when the Transfer fee is 'free', and when the Name is Dugdale? ### Query: SELECT tr...
### Context: CREATE TABLE table_17165 ( "Series" text, "Monday" text, "Tuesday" text, "Wednesday" text, "Thursday" text, "Friday" text, "Saturday" text, "Sunday" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Tuesday presenter...
### Context: CREATE TABLE table_name_65 ( title VARCHAR, termination_of_mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the title with termination of mission of february 24, 1828 ### Query: SELECT title FROM table_name_65 WHERE termination_of_mi...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respir...
### Context: CREATE TABLE table_13835 ( "Rank" real, "Peak" text, "Country" text, "Island" text, "Elevation (m)" real, "Prominence (m)" real, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Elevation (m) has a Col (m) small...
### Context: CREATE TABLE table_41177 ( "Team" text, "Match" text, "Points" text, "Draw" text, "Lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Draw for skra warszawa? ### Query: SELECT "Draw" FROM table_41177 WHERE "Team" = 'skra ...
### Context: CREATE TABLE table_name_44 ( composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? ### Query: SELECT com...
### Context: CREATE TABLE table_name_58 ( glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz...
### Context: CREATE TABLE table_20367820_16 ( not_out VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many no outs for an average of 56.38? ### Query: SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38"
### Context: CREATE TABLE table_14379 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the game that was played in the time of 2:38? ### Query: SELECT MAX("G...
### Context: CREATE TABLE table_22359 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Ho...
### Context: CREATE TABLE table_23378 ( "Year" text, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1995 is the year what is the open cup? ### Query: SELECT...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, char...
### Context: CREATE TABLE table_2725949_6 ( poles VARCHAR, fastest_laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of poles for fastest laps being 6 ### Query: SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6
### Context: CREATE TABLE Products ( product_id INTEGER, product_type_code VARCHAR(10), product_name VARCHAR(80), product_price DECIMAL(19,4) ) CREATE TABLE Department_Store_Chain ( dept_store_chain_id INTEGER, dept_store_chain_name VARCHAR(80) ) CREATE TABLE Department_Stores ( dept_store...
### Context: CREATE TABLE Addresses ( Address_ID INTEGER, address_details VARCHAR(255) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Products ( Product_ID INTEGER, Prod...
### Context: CREATE TABLE ship ( name VARCHAR, CLASS VARCHAR, ship_id VARCHAR ) CREATE TABLE captain ( name VARCHAR, CLASS VARCHAR, ship_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the names and classes of the ships that do no...
### Context: CREATE TABLE table_name_57 ( november INTEGER, game VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest November that has a game less than 12, and @ detroit red wings as the opponent? ### Query: SELECT MAX(n...
### Context: CREATE TABLE table_name_94 ( parameter VARCHAR, best_fit__wmap_only_ VARCHAR, symbol VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the parameter when the best fit (WMAP only) is .9 .1, and symbol is a? ### Query: SELECT parameter F...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### Context: CREATE TABLE table_23286223_8 ( location_attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the March 24 game played? ### Query: SELECT location_attendance FROM table_23286223_8 WHERE date = "March 24"
### 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 city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE date_day ( month_numb...
### Context: CREATE TABLE table_1818 ( "Club" text, "First season in top division" text, "Number of seasons in top division" real, "First season of current spell in top division" text, "Number of seasons in Liga MX" real, "Top division titles" real ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_204_991 ( id number, "name" text, "first\nheld" number, "country" text, "earliest attendance figure known" text, "1998 attendance" number, "2000 attendance" number, "2002 attendance" number, "2004 attendance" number, "2006 attendance" number, "...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, lon...
### Context: CREATE TABLE table_name_24 ( language VARCHAR, original_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language is the film La Diagonale du Fou in? ### Query: SELECT language FROM table_name_24 WHERE original_title = "la diagonale du...
### Context: CREATE TABLE table_name_56 ( player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the player with points larger than 36 and goals more than 0 with tries of 12 ### Query: SELECT play...
### Context: CREATE TABLE table_name_10 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did the home team score when they played the away team of Geelong? ### Query: SELECT home_team AS score FROM table_name_10 WHERE away_...
### Context: CREATE TABLE table_1473672_5 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did Marty Gateman play? ### Query: SELECT position FROM table_1473672_5 WHERE player = "Marty Gateman"
### Context: CREATE TABLE Flight ( flno VARCHAR, distance INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show flight number for all flights with more than 2000 distance. ### Query: SELECT flno FROM Flight WHERE distance > 2000
### Context: CREATE TABLE table_name_18 ( lexton_plains VARCHAR, wins VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has fewer than 9 wins and less than 1593 against? ### Query: SELECT lexton_plains FROM table_name_18 WHERE wi...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE SuggestedEditVotes ( Id number, Sugges...
### Context: CREATE TABLE table_47522 ( "Conference" text, "# of Bids" real, "Record" text, "Win %" text, "Round of 32" text, "Sweet Sixteen" text, "Elite Eight" text, "Final Four" text, "Championship Game" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE table_16199 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- point park university is what type of institution ### Query: ...
### Context: CREATE TABLE table_7415 ( "Tournament" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text ) -- Using valid SQLite, answer the following questio...
### Context: CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREAT...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### 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 table_18595 ( "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. -- What is the incumbent for ohio 12? ### Query: SELECT "Incu...
### 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 table_28680377_2 ( original_air_date VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date of the episode that was watched by 0.88 million U.S. viewers? ### Query: SELECT origina...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE state ( state_code text, state_name text, country_...
### 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 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 zyjzjlb_jybgb ( YLJGDM_ZYJZJLB 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_540 ( "Team" text, "Car(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text, "Rounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove for Phil Parso...
### Context: CREATE TABLE table_name_28 ( number VARCHAR, name VARCHAR, kilometer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Number of the Koppenberg course with less than 195 Kilometers? ### Query: SELECT COUNT(number) FROM table_name_2...
### Context: CREATE TABLE table_17607 ( "Week" real, "Craigs vote" text, "Arlenes vote" text, "Brunos vote" text, "Lens vote" text, "Safe" text, "Eliminated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total of arlenes vote w...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_43642 ( "Year" real, "U.S. Rank" real, "Total s Ton" real, "Domestic s Ton" real, "Foreign Total s Ton" real, "Foreign Imports s Ton" real, "Foreign Exports s Ton" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_28677723_14 ( trine_dehli_cleve INTEGER, style VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the trine dehli cleve for english waltz ### Query: SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English...
### 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 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_13628 ( "[A] (mol/L)" text, "[H 3 PO 4 ]/[A] (%)" text, "[H 2 PO 4 \u2212 ]/[A] (%)" real, "[HPO 4 2\u2212 ]/[A] (%)" text, "[PO 4 3\u2212 ]/[A] (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the [A] that ha...
### Context: CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TAB...
### Context: CREATE TABLE table_31511 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many baronies is Maulnagrough a part of? ### Query: SELECT COUNT(...
### Context: CREATE TABLE table_45191 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the Set 3 of 12 25? ### Query: SELECT "Date" FROM table_45191 WHER...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid n...
### Context: CREATE TABLE table_69629 ( "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. -- On what date was the first match for the...
### Context: CREATE TABLE table_61908 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is the player with score of 70-68-70=208 from? ### Query: SELECT "Place" FROM tabl...
### Context: CREATE TABLE bank ( city VARCHAR, state VARCHAR, bname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the city and state of the bank branch named morningside. ### Query: SELECT city, state FROM bank WHERE bname = 'morningside'
### Context: CREATE TABLE table_1341707_12 ( district VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Phillip Landrum was first elected in 1952 from the ninth district of Georgia. ### Query: SELECT district FROM table_1341707_12 WHERE ...
### Context: CREATE TABLE table_53906 ( "State" text, "Interview" real, "Swimsuit" real, "Evening gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest average for the contestant having an interview score of 8.46?...
### Context: CREATE TABLE table_64503 ( "Track" text, "Song Title" text, "Writer(s)" text, "Original Artist" text, "Original Release" real, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Song has a Length of 2:50? ### Query: SELEC...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intake...
### Context: CREATE TABLE table_name_39 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team when Hawthorn was the away team? ### Query: SELECT home_team FROM table_name_39 WHERE away_team = "hawthorn"
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### Context: CREATE TABLE table_11748792_2 ( series VARCHAR, sunday VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all of the shows with Alice Levine Jamie East is the Sunday presenter. ### Query: SELECT series FROM table_11748792_2 WHERE sunday = "Ali...
### Context: CREATE TABLE table_26534 ( "World record" text, "Kenenisa Bekele ( ETH )" text, "12:37.35" text, "Hengelo , Netherlands" text, "31 May 2004" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 31 may 2004 when 12:37.35 is 13:19.43? ...
### 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_name_61 ( year_s__withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the 4-6-0 Wheel model train from 1908 withdrawn? ### Query: SELECT year_s__withdrawn F...