text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal ... |
### Context: CREATE TABLE table_49111 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" real,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the home team ... |
### Context: CREATE TABLE table_33525 (
"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.
-- What is the home team's score at gl... |
### Context: CREATE TABLE table_39681 (
"Year" text,
"Title" text,
"Role" text,
"Language" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title is in Portuguese?
### Query: SELECT "Title" FROM table_39681 WHERE "Language" = 'por... |
### Context: CREATE TABLE table_59691 (
"Tournament" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"Career SR" text,
"Career Win-Loss" text
)
-- Using valid SQLite, answer the following questio... |
### 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 table_49145 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time of the match with a ... |
### Context: CREATE TABLE table_name_30 (
top_5 INTEGER,
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest top 5 winners with less than 0?
### Query: SELECT MIN(top_5) FROM table_name_30 WHERE wins < 0 |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
Cr... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
... |
### Context: CREATE TABLE table_79359 (
"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.
-- What is the tie no for the away team altrincham?
### Query: SELECT "Tie no" FROM table_79... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDat... |
### Context: CREATE TABLE table_36248 (
"Rank by average" real,
"Place" real,
"Couple" text,
"Total" real,
"Number of dances" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Average is the lowest one that has a Total smaller... |
### Context: CREATE TABLE table_40764 (
"Season" real,
"Venue" text,
"Teams" real,
"Drivers" real,
"Champion" text,
"Second" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country came in third when there were 13 teams in ... |
### Context: CREATE TABLE table_28056 (
"Release" text,
"# of discs" real,
"Region 1" text,
"Region 2" text,
"Region 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many DVDs where were in the complete collection series 1-8 with extras?
### Q... |
### Context: CREATE TABLE table_name_42 (
series__number INTEGER,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average of the Series #s that were directed by Matthew Penn?
### Query: SELECT AVG(series__number) FROM table_name_42 WH... |
### Context: CREATE TABLE table_72409 (
"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.
-- How many were first elected in the Arkansas 4 district?
##... |
### Context: CREATE TABLE table_name_72 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score on 2 October 2011?
### Query: SELECT score FROM table_name_72 WHERE date = "2 october 2011" |
### Context: CREATE TABLE table_name_30 (
score VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game that had a result of 5 0?
### Query: SELECT score FROM table_name_30 WHERE result = "5–0" |
### Context: CREATE TABLE table_name_93 (
ends INTEGER,
since VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Ends with a Since of 2003, and a Name with m rquez?
### Query: SELECT AVG(ends) FROM table_name_93 WHERE since... |
### Context: CREATE TABLE table_train_11 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"active_infection" bool,
"heart_disease" bool,
"body_weight" float,
"septic_shock" bool,
"serum_aminotransferase_level_alt_ast" int,
"NOUSE" float
)
-- Using valid SQLite, answ... |
### Context: CREATE TABLE table_32582 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest overall rank for a center drafted before round 10?
### Query... |
### Context: CREATE TABLE table_10179 (
"Role" text,
"Original Broadway production" text,
"First US National Tour" text,
"Second US National Tour" text,
"Original Italian production" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Role has a Fi... |
### Context: CREATE TABLE sqlite_sequence (
name text,
seq text
)
CREATE TABLE invoices (
id number,
customer_id number,
invoice_date time,
billing_address text,
billing_city text,
billing_state text,
billing_country text,
billing_postal_code text,
total number
)
CREATE TAB... |
### Context: CREATE TABLE table_4258 (
"Name" text,
"Family name" text,
"Receptor" text,
"Coreceptor" text,
"Property" text,
"Chromosomal location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chromosomes have an unknown property?
### Q... |
### 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_203_593 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number,
"ncaa tournament" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was coach before porter grant ?
### Query... |
### Context: CREATE TABLE table_76258 (
"Date From" text,
"Date To" text,
"Position" text,
"Name" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did Toumani Diagouraga, who played position MF, start?
### Query: SELECT "Date F... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE table_24096 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Wildcats points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game against Missi... |
### Context: CREATE TABLE table_204_889 (
id number,
"date" text,
"week (stage)" text,
"song choice" text,
"original artist" text,
"theme" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many songs did babou sing during his... |
### Context: CREATE TABLE table_62354 (
"Event" text,
"Time" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the 1500m freestyle event?
### Query: SELECT "Date" F... |
### 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 departments (... |
### Context: CREATE TABLE table_21111 (
"Rank" real,
"Company" text,
"Headquarters" text,
"Industry" text,
"Sales (billion $)" text,
"Profits (billion $)" text,
"Assets (billion $)" text,
"Market Value (billion $)" text
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE table_10812938_5 (
cfl_team VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the team of the player from St. Francis Xavier College?
### Query: SELECT cfl_team FROM table_10812938_5 WHERE college = "St. Franci... |
### Context: CREATE TABLE wdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Ha... |
### Context: CREATE TABLE table_name_89 (
division VARCHAR,
regular_season VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
### ... |
### 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_203_175 (
id number,
"rank" text,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country had the most medals ?
### Query: SELECT ... |
### Context: CREATE TABLE table_55361 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the authority when the roll is 40?
### Query: SELEC... |
### Context: CREATE TABLE table_20378 (
"N\u00b0" real,
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"DAR" text,
"HDTV" text,
"PPV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_11563 (
"HP Model" text,
"Command Set" text,
"# FDD" real,
"FDD Type" text,
"Sides" text,
"FDD Capacity (each)" text,
"# HDD" real,
"HDD Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to k... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
ho... |
### Context: CREATE TABLE table_name_39 (
name VARCHAR,
college VARCHAR,
pick VARCHAR,
round VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11... |
### Context: CREATE TABLE table_1973842_1 (
institution VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school is located in Chestnut Hill, Massachusetts?
### Query: SELECT institution FROM table_1973842_1 WHERE location = "Chestnut Hi... |
### Context: CREATE TABLE table_12784134_24 (
short_stem VARCHAR,
imperfect_stem VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the short stem for garbitzen?
### Query: SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = "garbitzen" |
### Context: CREATE TABLE table_79508 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the game with an attendance of 72,051 after Week 9?
### Query: SELECT ... |
### Context: CREATE TABLE table_1341738_19 (
incumbent VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the incumbent who was first eleccted in 1940?
### Query: SELECT incumbent FROM table_1341738_19 WHERE first_elec... |
### Context: CREATE TABLE table_7923 (
"Season in Tamil" text,
"English Transliteration" text,
"English Translation" text,
"Season in Sanskrit" text,
"Season in English" text,
"Tamil Months" text,
"Gregorian Months" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offeri... |
### Context: CREATE TABLE table_37861 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the away team have round 2?
### Query: SELE... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_71098 (
"Language" text,
"Number" text,
"percentage (%)" text,
"males" text,
"females" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which language has the percentage of 2.54?
### Query: SELECT "Language" FROM table... |
### Context: CREATE TABLE table_39714 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position has notes of 2:12:53?
### Query: SELECT "Position" FROM t... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId numbe... |
### Context: CREATE TABLE table_name_28 (
weight VARCHAR,
spike VARCHAR,
block VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Weight of the player with a Block larger than 328, Spike greater than 375 and Height larger than... |
### Context: CREATE TABLE Visitors (
Tourist_ID INTEGER,
Tourist_Details VARCHAR(255)
)
CREATE TABLE Theme_Parks (
Theme_Park_ID INTEGER,
Theme_Park_Details VARCHAR(255)
)
CREATE TABLE Features (
Feature_ID INTEGER,
Feature_Details VARCHAR(255)
)
CREATE TABLE Hotels (
hotel_id INTEGER,
... |
### Context: CREATE TABLE table_55739 (
"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.
-- What was the score of the away team... |
### 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 lab (
... |
### 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 member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
... |
### Context: CREATE TABLE table_1013129_10 (
nhl_team VARCHAR,
position VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Position in nhl team centre are all smaller pick than 243.0
### Query: SELECT nhl_team FROM table_1013129_10 WHERE posit... |
### Context: CREATE TABLE table_2528382_5 (
year INTEGER,
music_director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Naushad Direct the Music?
### Query: SELECT MAX(year) FROM table_2528382_5 WHERE music_director = "Naushad" |
### Context: CREATE TABLE table_15915 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many of the schools ... |
### 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 time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int... |
### Context: CREATE TABLE department (
dept_name text,
building text,
budget number
)
CREATE TABLE teaches (
id text,
course_id text,
sec_id text,
semester text,
year number
)
CREATE TABLE classroom (
building text,
room_number text,
capacity number
)
CREATE TABLE instruct... |
### Context: CREATE TABLE table_58300 (
"Channel" text,
"Description" text,
"Financed by" text,
"Owned by" text,
"Launched" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What channel has a description of the public broadcaster?
### Query: SELECT "... |
### Context: CREATE TABLE table_203_547 (
id number,
"ship" text,
"built" number,
"in service for cunard" text,
"type" text,
"tonnage" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference in the tonage between ... |
### Context: CREATE TABLE table_49875 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Score that has the December of 10?
### Query: SELECT "Score" FROM table... |
### 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 table_name_35 (
heat INTEGER,
nationality VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the heat when the nationality is australia and the rank is less than 1?
### Query: SELECT AVG(heat) FROM table_name_... |
### Context: CREATE TABLE table_204_871 (
id number,
"ano" text,
"title" text,
"role" text,
"channel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was natalia oriero 's first tv role ?
### Query: SELECT MIN("ano") FROM... |
### Context: CREATE TABLE table_26865 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text,
"Viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE table_1108394_24 (
queens VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the 1973 democratic initial primary for queens of 19%?
### Query: SELECT 1973 AS _democratic_initial_primary FROM table_1108394_24 WHERE queens = "19_perc... |
### Context: CREATE TABLE table_27723526_17 (
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high rebound for June 9?
### Query: SELECT high_rebounds FROM table_27723526_17 WHERE date = "June 9" |
### Context: CREATE TABLE table_name_9 (
name VARCHAR,
qual_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a second qualification time of 1:01.777?
### Query: SELECT name FROM table_name_9 WHERE qual_2 = "1:01.777" |
### 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 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 TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
m... |
### Context: CREATE TABLE table_204_324 (
id number,
"team 1" text,
"agg." text,
"team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams played in the 2011 caf u-23 championship qualification ?
###... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
... |
### Context: CREATE TABLE table_50966 (
"Title" text,
"Parent magazine" text,
"Magazine type" text,
"Frequency" text,
"Magazine run" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the magazine type that ran from March 3, 2009 February 5, 201... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABL... |
### Context: CREATE TABLE table_54076 (
"Year" real,
"Category" text,
"Character" text,
"For The Show" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 2004 who was favourite maa?
### Query: SELECT "Character" FROM table_54076 WHERE... |
### Context: CREATE TABLE table_24970 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_66664 (
"Round" real,
"Opponent" text,
"Result" text,
"Opp." real,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the result when the round is less than 7 and the opponent is melbourne storm?
### Quer... |
### Context: CREATE TABLE table_56089 (
"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.
-- What was the score of the team that... |
### Context: CREATE TABLE table_16225511_2 (
school VARCHAR,
percent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many schools had the win loss ratio of 0.667?
### Query: SELECT COUNT(school) FROM table_16225511_2 WHERE percent = "0.667" |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
... |
### Context: CREATE TABLE table_name_63 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country has a score of 69-70-72=211?
### Query: SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211 |
### Context: CREATE TABLE table_64748 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year with a note of 18.04 m wl?
### Query: SELECT MIN("Year") FROM ... |
### Context: CREATE TABLE diagnoses (
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,
reli... |
### Context: CREATE TABLE table_name_20 (
notes VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Notes, when Bronze is 'Pasi Ikonen'?
### Query: SELECT notes FROM table_name_20 WHERE bronze = "pasi ikonen" |
### Context: CREATE TABLE table_78727 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text,
"Arena" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Loss has a Record of 41 32 6?
... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_name_5 (
high_assists VARCHAR,
game INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the high assists in the game less than 19?
### Query: SELECT high_assists FROM table_name_5 WHERE game < 19 |
### Context: CREATE TABLE table_204_323 (
id number,
"year" number,
"film" text,
"function" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film was before the audacity of democracy ?
### Query: SELECT "film" FROM table_204_323 W... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.