text
stringlengths
197
8.39k
### Context: CREATE TABLE table_61910 ( "Name in English" text, "Name in Malay" text, "Acronym" text, "Foundation" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the acronym for the name Malay of Kolej Komuniti Sungai Petani...
### Context: CREATE TABLE table_35365 ( "Year" real, "Wins" real, "Earnings ($)" text, "Rank" real, "Scoring average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has earnings of $557,158? ### Query: SELECT MAX("Year") FROM table_35365 ...
### Context: CREATE TABLE table_14058433_4 ( points_against VARCHAR, won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the points against with won being 11 ### Query: SELECT points_against FROM table_14058433_4 WHERE won = "11"
### Context: CREATE TABLE table_29788 ( "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 chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, ...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( all...
### Context: CREATE TABLE table_name_60 ( constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 ### Query: SE...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE inputev...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, ...
### Context: CREATE TABLE table_1805919_1 ( standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the Pinyin transcription Xi Wangri? ### Query: SELECT MAX(standard_order) FROM table_1805...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STRE...
### 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_23186738_9 ( game INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least game for score of l 93 109 (ot) ### Query: SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)"
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, Cre...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, ...
### Context: CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Students ( student_id INTE...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_19864214_3 ( pitcher VARCHAR, seasons VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989 ### Query: SELECT pitcher FROM table_19864214_3 WHERE seasons = "1982, 198...
### Context: CREATE TABLE Customers ( first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR ) CREATE TABLE Customer_Payments ( customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List first name and last name of customers that have more ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE table_28498999_5 ( player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the player listed when the score is 68-70-68-69=275 ### Query: SELECT player FROM table_28498999_5 WHERE score = 68 - 70 - 68 - 69 = 27...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm...
### Context: CREATE TABLE table_name_57 ( loan_club VARCHAR, country VARCHAR, ended VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Loan Club from Eng that ended on 22 February? ### Query: SELECT loan_club FROM table_name_57 WHERE country = "...
### 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_25244412_1 ( renewable_electricity__gw INTEGER, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum renewable energy (gw h) for the state of Delaware? ### Query: SELECT MAX(renewable_electricity__gw) AS •...
### Context: CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze r...
### Context: CREATE TABLE table_75338 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game had a result of 126-95? ### Query: SELECT "Game" FROM table_75338 WHERE "Result...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCoun...
### Context: CREATE TABLE table_name_3 ( club VARCHAR, captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which club is Ledley King a captain? ### Query: SELECT club FROM table_name_3 WHERE captain = "ledley king"
### Context: CREATE TABLE table_20007 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won" real, "Drawn" real, "Lost" real, "For" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_name_38 ( overall INTEGER, round VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With Round 3 and Pick # over 10, what is the higher Overall number? ### Query: SELECT MAX(overall) FROM table_name_38 W...
### Context: CREATE TABLE table_22779004_1 ( tournament_winner VARCHAR, conference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the tournament winner in the Atlantic Coast Conference? ### Query: SELECT tournament_winner FROM table_22779004_1 WHERE ...
### Context: 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, round_trip_required varchar ) CREATE TABLE dual_carrier ( main_airline varchar, ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( ...
### Context: CREATE TABLE table_204_255 ( id number, "constituency number" number, "name" text, "reserved for (sc/st/none)" text, "district" text, "number of electorates (2009)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which district has...
### 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_3580 ( "Title and source" text, "Developer" text, "Publisher" text, "First released" text, "Japan" text, "Europe" text, "North America" text, "Exclusive" text, "Move-only" text ) -- Using valid SQLite, answer the following questions for the tables pr...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_35540 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college has fewer than 2 rounds? ### Query: SELECT "College" FROM ...
### Context: CREATE TABLE table_name_36 ( score VARCHAR, odds VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for a game with the odds of p + 2 after 1847? ### Query: SELECT score FROM table_name_36 WHERE odds = "p + 2" A...
### Context: CREATE TABLE table_27021001_1 ( district VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district with the result mac collins (r) unopposed? ### Query: SELECT district FROM table_27021001_1 WHERE result = "Mac Collins...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, char...
### Context: CREATE TABLE table_2249087_1 ( world_rank INTEGER, south_american_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least world rank for south american rank 3 ### Query: SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_america...
### Context: CREATE TABLE table_65068 ( "Project" text, "License" text, "Date" text, "Protocol" text, "Technology" text, "Server" text, "Client" text, "Web Client" text, "Multiple Sessions" text, "Encryption" text, "Authentication" text, "Data Compression" text, "Imag...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) ...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number,...
### Context: CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE enrollments ( campus number, year number, totalenrol...
### Context: CREATE TABLE table_203_190 ( id number, "name" text, "type" text, "circle" text, "bench" text, "formed" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was the first state to be formed ? ### Query: SELECT "...
### Context: CREATE TABLE table_203_600 ( id number, "rank" text, "country" text, "winners" number, "runners-up" number, "finals total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of winners from spain ? ### Query: SELE...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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,...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### 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 table_14101 ( "Engine" text, "Displacement" text, "Years" text, "Usage" text, "Power" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the for the f136fb engine? ### Query: SELECT "Usage" FROM table_14101 WHERE "Engi...
### Context: CREATE TABLE table_23537091_1 ( copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When middle assyrian empire is the ubaid period in mesopotamia what is the copper age? ### Query: SELECT copper_age F...
### 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 table_40250 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Against have a Team of he...
### Context: CREATE TABLE table_73087 ( "World Rank" real, "Company" text, "Industry" text, "Revenue (billion $)" text, "Profits (billion $)" text, "Assets (billion $)" text, "Market Value (billion $)" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0...
### Context: CREATE TABLE table_name_10 ( replaced_by VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the replacement when the team is milton keynes dons? ### Query: SELECT replaced_by FROM table_name_10 WHERE team = "milton keynes dons"
### Context: CREATE TABLE table_name_51 ( name VARCHAR, authors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Authors are Kammerer & Sidor? ### Query: SELECT name FROM table_name_51 WHERE authors = "kammerer & sidor"
### Context: CREATE TABLE table_26368963_2 ( under_17 VARCHAR, under_15 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for Under-17 if Under-15 is Maria Elena Ubina? ### Query: SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Mari...
### Context: CREATE TABLE table_15444 ( "Name" text, "Years" text, "League" text, "FA Cup" text, "League Cup" text, "Europe" text, "Other [C ]" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league has a value of 0 29 ...
### Context: CREATE TABLE table_13261 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tally has a County of limerick, and a Rank larger than 1? ### Query...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( ...
### Context: CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE writes ( paperid int, authorid int ) ...
### Context: CREATE TABLE table_name_19 ( comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77? ### Que...
### Context: CREATE TABLE table_79591 ( "Location" text, "Name of mill" text, "Type" text, "Built" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is year Built of the Moulin de Momalle Mill? ### Query: SELECT MAX("Built") FROM ta...
### Context: CREATE TABLE table_25220821_3 ( rider VARCHAR, thurs_3_june VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders? ### Query: SELECT rider FROM table_25220821_3 WHERE thurs_3...
### Context: CREATE TABLE table_name_48 ( subframe__number INTEGER, bits VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total subframe count with Bits of 18 22? ### Query: SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22"
### Context: CREATE TABLE table_name_15 ( capacity VARCHAR, opened VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total capacity of venues that opened in 1999? ### Query: SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999"
### Context: CREATE TABLE table_name_77 ( date VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date is week 3? ### Query: SELECT date FROM table_name_77 WHERE week = 3
### Context: CREATE TABLE table_2367847_2 ( middle_schools INTEGER, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most middle schools for 2005-2006 ### Query: SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = "2005-2006"
### 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_13258851_2 ( record VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record set during the game played at Hubert H. Humphrey Metrodome? ### Query: SELECT record FROM table_13258851_2 WHERE game_s...
### Context: CREATE TABLE table_204_215 ( id number, "airline" text, "destination(s)" text, "aircraft scheduled" text, "service date(s)" text, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- does air florida have more or less than four...
### Context: CREATE TABLE table_name_71 ( year_left INTEGER, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did Culver leave? ### Query: SELECT SUM(year_left) FROM table_name_71 WHERE location = "culver"
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturet...
### Context: CREATE TABLE table_21081 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year named for the name Tie Fluctus...
### Context: CREATE TABLE table_name_20 ( country VARCHAR, player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when Score is '69-69=138', and when Player is 'Ian Poulter'? ### Query: SELECT country FROM table_name_20 WH...
### Context: CREATE TABLE table_name_44 ( rider VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rider was on the 600cc Yamaha team? ### Query: SELECT rider FROM table_name_44 WHERE team = "600cc yamaha"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREAT...
### 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_24 ( tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tournament for march 25, 2012 ### Query: SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012"
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREAT...
### Context: CREATE TABLE table_204_154 ( id number, "player" text, "matches" number, "innings" number, "runs" number, "average" number, "100s" number, "50s" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the number of inning...
### Context: CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(...
### Context: CREATE TABLE table_27733909_1 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the overall number of times when the calendar showed october 6 ### Query: SELECT COUNT(record) FROM table_27733909_1 WHERE date = "Octob...
### Context: CREATE TABLE table_22025 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, ans...
### Context: CREATE TABLE table_49926 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE ROUND FOR ZACH BOYCHUK? ### Query: SELECT COUNT...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_name_26 ( attendance INTEGER, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game on week 3? ### Query: SELECT AVG(attendance) FROM table_name_26 WHERE week = 3
### Context: CREATE TABLE festival_detail ( festival_id number, festival_name text, chair_name text, location text, year number, num_of_audience number ) CREATE TABLE nomination ( artwork_id number, festival_id number, result text ) CREATE TABLE artwork ( artwork_id number, ...
### Context: CREATE TABLE table_204_734 ( id number, "first name" text, "surname" text, "death year" number, "beginning of\nservice" text, "end of\nservice" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total numbe...
### Context: CREATE TABLE table_46045 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school was Lawrence Roberts from ? ### Query: SELECT "Sc...
### Context: CREATE TABLE table_name_35 ( silver VARCHAR, gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Silver, when Gold is '1', and when Bronze is less than 0? ### Query: SELECT COUNT(silver) FROM tabl...
### Context: CREATE TABLE table_2731431_1 ( col_location VARCHAR, col_height__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the col location with a col height (m) of 1107? ### Query: SELECT col_location FROM table_2731431_1 WHERE col_height__m_ ...