text
stringlengths
197
8.39k
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicRea...
### 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 film_market_estimation ( Year VARCHAR, Market_ID VARCHAR ) CREATE TABLE market ( Country VARCHAR, Market_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please list the countries and years of film market estimations. ###...
### 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_95 ( "Season" real, "Driver" text, "Team" text, "Engine" text, "Poles" real, "Wins" real, "Podiums" real, "Points" text, "Margin of defeat" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which podiums ...
### Context: CREATE TABLE table_73237 ( "Type of aphasia" text, "Repetition" text, "Naming" text, "Auditory comprehension" text, "Fluency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the naming for fluent and poor comprehension ### Query: S...
### Context: CREATE TABLE category ( category_id TINYINT UNSIGNED, name VARCHAR(25), last_update TIMESTAMP ) CREATE TABLE film_actor ( actor_id SMALLINT UNSIGNED, film_id SMALLINT UNSIGNED, last_update TIMESTAMP ) CREATE TABLE address ( address_id SMALLINT UNSIGNED, address VARCHAR(50)...
### Context: CREATE TABLE table_20414 ( "Episode Number" real, "Air Date" text, "Guest Host" text, "Musical Guest (Song performed)" text, "Who knows the most about the guest host? panelists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name who kn...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, ...
### Context: CREATE TABLE table_train_218 ( "id" int, "plasma_glucose_concentration" int, "c_peptide_level" float, "body_weight" float, "diabetic" string, "single_antigen_b_sab" int, "low_density_lipoprotein_ldl_cholesterol" int, "body_mass_index_bmi" float, "triglyceride_tg" float, ...
### Context: CREATE TABLE table_63195 ( "Artist" text, "Album" text, "Track(s)" text, "Date" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Track(s) is on 18 november 1985? ### Query: SELECT "Track(s)" FROM table_63195 WHERE "Da...
### Context: CREATE TABLE table_7241 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the 4 strokes margin of victory? ### Query: SEL...
### Context: CREATE TABLE table_75792 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score for the runner-up Ernie Els? ### Query: ...
### Context: CREATE TABLE table_name_1 ( attendance VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for the game where the away team was Stockport County? ### Query: SELECT attendance FROM table_name_1 WHERE away_te...
### Context: CREATE TABLE table_name_43 ( height VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Height has a Player of mike bibby? ### Query: SELECT height FROM table_name_43 WHERE player = "mike bibby"
### Context: CREATE TABLE table_77464 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the game with a Record of 31 37 9?...
### Context: CREATE TABLE table_16543 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where title is am/pm callanet...
### Context: CREATE TABLE table_203_254 ( id number, "position" number, "team" text, "points" number, "played" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "difference" number ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number...
### Context: CREATE TABLE table_1341453_44 ( first_elected INTEGER, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Bob Clement first elected? ### Query: SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement"
### Context: CREATE TABLE Customer_Payments ( customer_id INTEGER, datetime_payment DATETIME, payment_method_code VARCHAR(10), amount_payment DOUBLE ) CREATE TABLE Staff ( staff_id INTEGER, staff_address_id INTEGER, nickname VARCHAR(80), first_name VARCHAR(80), middle_name VARCHAR(8...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob ...
### Context: CREATE TABLE table_name_7 ( grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Grid, when Laps is less than 24, when Bike is 'Honda CBR1000RR', and when Rider is 'Jason Prid...
### Context: CREATE TABLE table_8592 ( "Track Name" text, "Location" text, "Length" text, "Sanction" text, "Program" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the track located in Taylorville, Illinois? ### Query: SELECT ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_204_277 ( id number, "region" text, "country" text, "location" text, "size (m)" text, "payload (metric tonnes)" text, "degrees of freedom" number, "x horiz disp (mm)" number, "y horiz disp (mm)" number, "z vert disp (mm)" number, "x horiz vel (...
### Context: CREATE TABLE party_host ( Party_ID int, Host_ID int, Is_Main_in_Charge bool ) CREATE TABLE party ( Party_ID int, Party_Theme text, Location text, First_year text, Last_year text, Number_of_hosts int ) CREATE TABLE host ( Host_ID int, Name text, Nationality ...
### Context: CREATE TABLE employment ( Company_ID int, People_ID int, Year_working int ) CREATE TABLE company ( Company_ID real, Name text, Headquarters text, Industry text, Sales_in_Billion real, Profits_in_Billion real, Assets_in_Billion real, Market_Value_in_Billion real ...
### Context: CREATE TABLE table_name_99 ( winning_driver VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the race on 24 August? ### Query: SELECT winning_driver FROM table_name_99 WHERE date = "24 august"
### 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 PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE table_15017024_2 ( college VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many colleges did the player picked 57 attend? ### Query: SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETI...
### Context: CREATE TABLE table_46954 ( "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 Nolan Henke in? ### Query: SELECT "Place" FROM table_46954 WHERE "Player" = 'no...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, app...
### 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_203_104 ( id number, "athlete" text, "nation" text, "olympics" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many more silver medals di...
### Context: CREATE TABLE table_4995 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of attendance of week 11 ### Query: SELECT SUM("Attendance") FROM table_499...
### Context: CREATE TABLE table_name_40 ( year INTEGER, director VARCHAR, english_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen? ### Query: SELECT SUM(year...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE table_7251 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Song choice when Elaine Paige was the Original ar...
### Context: CREATE TABLE media_types ( id INTEGER, name VARCHAR(120) ) CREATE TABLE customers ( id INTEGER, first_name VARCHAR(40), last_name VARCHAR(20), company VARCHAR(80), address VARCHAR(70), city VARCHAR(40), state VARCHAR(40), country VARCHAR(40), postal_code VARCHAR...
### Context: CREATE TABLE field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname...
### Context: CREATE TABLE table_name_15 ( week VARCHAR, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? ### Query: SELECT COUNT(week) FRO...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_presiden...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_95 ( rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rank of the 2009 xbox? ### Query: SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox"
### 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_26 ( player VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player plays the position of small forward? ### Query: SELECT player FROM table_name_26 WHERE position = "small forward"
### Context: CREATE TABLE table_27208814_1 ( original_airdate VARCHAR, writer VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original airdate for robin mukherjee and margy kinmonth ### Query: SELECT original_airdate FROM table...
### 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 table_name_30 ( competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what competition was the score reported as 12.8 (80) - 8.7 (55)? ### Query: SELECT competition FROM table_name_30 WHERE score = "12.8 (80)...
### Context: CREATE TABLE table_79030 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With Olympic Bronze Medalist as the total what are the score points? ### Query: SE...
### Context: CREATE TABLE table_74532 ( "Place" real, "Rider" text, "Country" text, "Machine" text, "Speed" text, "Time" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which places have points larger than 10? ### Query: SELEC...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text, person_info_CSD text, person_info_CSRQ time, person_info_GJDM text, person_info_GJMC text, person_info_JGDM text, person_info_JGMC text, person_info_MZDM text, person_info_MZMC text, pers...
### Context: CREATE TABLE table_name_25 ( score VARCHAR, att VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the matchup having attendance of 354? ### Query: SELECT score FROM table_name_25 WHERE att = 354
### Context: CREATE TABLE table_name_86 ( drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games pla...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE patients ( row_id number, s...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug t...
### Context: CREATE TABLE table_name_13 ( h_a_n VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which H/A/N has a score of 105* ? ### Query: SELECT h_a_n FROM table_name_13 WHERE score = "105*♠"
### Context: CREATE TABLE table_27201 ( "#" real, "Episode" text, "Air Date" text, "Timeslot (EST)" text, "Rating" text, "Share" real, "18-49 (Rating/Share)" text, "Viewers (m)" text, "Weekly Rank (#)" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_60599 ( "Title" text, "Lyricist(s)" text, "Composer(s)" text, "Arranger(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the lyricist for composer Haewon Park? ### Query: SELECT "Lyricist(s)" F...
### Context: CREATE TABLE table_name_44 ( distance VARCHAR, speed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How far did the pilot go when averaging 124.1km/h? ### Query: SELECT distance FROM table_name_44 WHERE speed = "124.1km/h"
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_22170 ( "Greek Designation" text, "Collegiate Institution" text, "Charter Date" text, "Status" text, "City" text, "U.S. State/District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how mnay greek designation in ...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline ...
### Context: CREATE TABLE table_13355 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Russia's time with a heat higher than 3? ### Query: SELECT "Time" FROM table_13355 WHER...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) 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 in...
### Context: CREATE TABLE table_16086 ( "Year" real, "Games" real, "Games started" real, "Completions" real, "Attempts" real, "Completion %" text, "Yards" real, "Yards/Attempt" text, "Touchdowns" real, "Interceptions" real, "Rating" text ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_13138 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the player for England when the to par is 7? ### Query: SELECT "Player" FROM table_13...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_name_40 ( earnings___$__ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What amount of earnings does Tiger Woods have? ### Query: SELECT earnings___$__ FROM table_name_40 WHERE player = "tiger woods"
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE code_description ( code varchar, descript...
### Context: CREATE TABLE table_11674683_2 ( average VARCHAR, delegate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average for spain delegate ### Query: SELECT average FROM table_11674683_2 WHERE delegate = "Spain"
### Context: CREATE TABLE Customers ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many customers do we have? ### Query: SELECT COUNT(*) FROM Customers
### Context: CREATE TABLE table_1425958_1 ( name VARCHAR, _percentage_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was there a change of 6.5%? ### Query: SELECT name FROM table_1425958_1 WHERE _percentage_change = "6.5"
### Context: CREATE TABLE Skills ( skill_id INTEGER, skill_code VARCHAR(20), skill_description VARCHAR(255) ) CREATE TABLE Maintenance_Engineers ( engineer_id INTEGER, company_id INTEGER, first_name VARCHAR(50), last_name VARCHAR(50), other_details VARCHAR(255) ) CREATE TABLE Skills_Re...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewRejectionReasons ( Id n...
### 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 table_name_88 ( deputy VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Deputy when the Name was elizabeth black? ### Query: SELECT deputy FROM table_name_88 WHERE name = "elizabeth black"
### Context: CREATE TABLE AssignedTo ( Scientist int, Project char(4) ) CREATE TABLE Projects ( Code Char(4), Name Char(50), Hours int ) CREATE TABLE Scientists ( SSN int, Name Char(30) ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are th...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_8525 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest grid for Roberto Rolfo with more than 26 laps? ### Query: SELECT MI...
### Context: CREATE TABLE table_57977 ( "Team" text, "Games Played" real, "Wins" real, "Losses" real, "Ties" real, "Goals For" real, "Goals Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total wins with less than 21 goal...
### Context: CREATE TABLE table_18786 ( "City of license/Market" text, "Station" text, "Channel TV ( DT )" text, "Years owned" text, "Current Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which station has a license in Fort Collins, Colorad...
### Context: CREATE TABLE table_2353 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Boilermakers points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game number had a record of 3-1? ###...
### 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 table_name_63 ( result VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the Bafta Tv award? ### Query: SELECT result FROM table_name_63 WHERE award = "bafta tv award"
### 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 item ( i_id number, title text ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE useracct ( u_id number, name te...
### Context: CREATE TABLE table_name_65 ( elmers_end VARCHAR, bingham_road VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Elmers End with a 09:54 Bingham Road? ### Query: SELECT elmers_end FROM table_name_65 WHERE bingham_road = "09:54"
### Context: CREATE TABLE table_29899 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_79 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the match on July 29, 1990? ### Query: SELECT score FROM table_name_79 WHERE date = "july 29, 1990"
### Context: CREATE TABLE table_1147705_1 ( engine_type VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many have are model 2.4 awd? ### Query: SELECT COUNT(engine_type) FROM table_1147705_1 WHERE model = "2.4 AWD"
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, ...
### Context: CREATE TABLE table_54281 ( "IWCR No." text, "Name" text, "Wheel arrangement" text, "SR No." text, "Year made" real, "Year withdrawn" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which SR number had a wheel arrangement of 0-6-0t, t...