text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_2850912_12 (
college_junior_club_team VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- To which organziation does the winnipeg jets belong to?
### Query: SELECT college_junior_club_team FROM table_2850912_12 W... |
### Context: CREATE TABLE table_36868 (
"Name" text,
"Faith" text,
"Type" text,
"Intake" real,
"DCSF number" real,
"Ofsted number" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Ofsted number for a primary with a CE faith, int... |
### Context: CREATE TABLE table_name_21 (
state VARCHAR,
royal_house VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state had the name of wu for the royal house of ji?
### Query: SELECT state FROM table_name_21 WHERE royal_house = "ji... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE mzjzjlb (
HXPLC numb... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_37 (
runner_s__up VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is Runner(s)-up that has a Date of may 24, 1999?
### Query: SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 1999" |
### Context: CREATE TABLE table_21884 (
"Season" text,
"Date" text,
"Driver" text,
"Team" text,
"Chassis" text,
"Engine" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### Context: CREATE TABLE table_204_54 (
id number,
"pondicherry assembly" text,
"duration" text,
"name of m.l.a." text,
"party affiliation" text,
"election year" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what party is represented the mos... |
### Context: CREATE TABLE table_59220 (
"Physical property" text,
"Helium" text,
"Neon" text,
"Argon" text,
"Krypton" text,
"Xenon" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Krypton has a Physical property of critical pressure (atm)?
... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_I... |
### Context: CREATE TABLE table_15030 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year with more than 0 points?
### Query: SELECT MAX("Year") FROM table_15... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
d... |
### 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 instructor (
instructor_id int,
name varchar,
uniqname va... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
C... |
### Context: CREATE TABLE table_name_41 (
condition VARCHAR,
partial_thromboplastin_time VARCHAR,
bleeding_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the condition that has a partial thromboplastin time of prolonged and unaffected bleedin... |
### Context: CREATE TABLE table_3988 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number ep... |
### Context: CREATE TABLE table_72550 (
"PowerShell (Cmdlet)" text,
"PowerShell (Alias)" text,
"CMD.EXE / COMMAND.COM" text,
"Unix shell" text,
"Description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values of powershell (cmdlet) are v... |
### Context: CREATE TABLE organizations (
organization_id number,
parent_organization_id number,
organization_details text
)
CREATE TABLE timed_locations_of_things (
thing_id number,
date_and_time time,
location_code text
)
CREATE TABLE customer_events (
customer_event_id number,
custo... |
### Context: CREATE TABLE table_name_38 (
date VARCHAR,
fastest_lap VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did Gunnar Nilsson make the fastest lap?
### Query: SELECT date FROM table_name_38 WHERE fastest_lap = "gunnar nilsson" |
### Context: CREATE TABLE table_72461 (
"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 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_65307 (
"World record" text,
"Snatch" text,
"Chen Yanqing ( CHN )" text,
"111kg" text,
"Doha , Qatar" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Doha, Qatar when the snatch is clean & jerk?
### Query:... |
### Context: CREATE TABLE table_14720 (
"Game" real,
"Date" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If time is 2:13 and attendance is less than 56,335, what is the largest game number?
### Que... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_name_96 (
name VARCHAR,
launched_by VARCHAR,
propulsion VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surfa... |
### Context: CREATE TABLE table_47581 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Primary Language(s)" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Director, w... |
### Context: CREATE TABLE table_66035 (
"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 game score when the tie no is 7?
### Query: SELECT "Score" FROM table_66035 W... |
### Context: CREATE TABLE table_23512864_4 (
winning_party_coalition VARCHAR,
election_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winning party/coalition name in election year 1980?
### Query: SELECT winning_party_coalition FROM table_23... |
### Context: CREATE TABLE table_name_68 (
player VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- After Round 5, which player was drafted for Defensive Tackle?
### Query: SELECT player FROM table_name_68 WHERE round > 5 AN... |
### Context: CREATE TABLE table_name_87 (
round INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest round number for Dan Connor, the player?
### Query: SELECT MAX(round) FROM table_name_87 WHERE player = "dan connor" |
### Context: CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEG... |
### Context: CREATE TABLE table_2436 (
"Conference" text,
"Regular Season Winner" text,
"Conference Player of the Year" text,
"Conference Tournament" text,
"Tournament Venue (City)" text,
"Tournament Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE table_name_25 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on june 29?
### Query: SELECT record FROM table_name_25 WHERE date = "june 29" |
### Context: CREATE TABLE table_65469 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total heat number of sun yang, who has a lane less than 2?
### Query: SELECT COUNT(... |
### Context: CREATE TABLE table_22915134_2 (
ignition_timing VARCHAR,
graphical VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings are there?
### Query: SELECT COUNT(ignition_timing) FROM table_22... |
### Context: CREATE TABLE Finances (
Finance_ID INTEGER,
Other_Details VARCHAR(255)
)
CREATE TABLE Channels (
Channel_ID INTEGER,
Other_Details VARCHAR(255)
)
CREATE TABLE Assets_in_Events (
Asset_ID INTEGER,
Event_ID INTEGER
)
CREATE TABLE Parties_in_Events (
Party_ID INTEGER,
Event_... |
### Context: CREATE TABLE table_23821 (
"Barangay" text,
"District" text,
"Population (May 1, 2000)" real,
"Population (August 1, 2007)" real,
"Population (May 1, 2010)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name th epopulation may for gene... |
### Context: CREATE TABLE table_name_2 (
opponent VARCHAR,
game VARCHAR,
december VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on December 1, before Game 28?
### Query: SELECT opponent FROM table_name_2 WHERE game < 28 AND decembe... |
### Context: CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Draw a pie cha... |
### Context: CREATE TABLE table_26708105_5 (
aa_length VARCHAR,
protein_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the aa length when the protein name is c11orf73?
### Query: SELECT aa_length FROM table_26708105_5 WHERE protein_name = "C11o... |
### Context: CREATE TABLE table_name_82 (
finish VARCHAR,
manager VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the finish when the manager is tom kotchman and record is 43-33?
### Query: SELECT finish FROM table_name_82 WHERE m... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
BBCJBW text,... |
### Context: CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Dorm_amenit... |
### Context: CREATE TABLE table_20088 (
"Locale" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot Pct." text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_president_vote number,
secretary_vote number,
treasurer_vote number,
class_president_vote number,
class_senator_vote number
)
CREATE TABLE student (
s... |
### Context: CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
buil... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_15887683_10 (
content VARCHAR,
television_service VARCHAR,
dar VARCHAR,
package_option VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the content for sky famiglia for italian and dar 16:9 for... |
### Context: CREATE TABLE table_name_24 (
laps INTEGER,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high lap total for pedro diniz?
### Query: SELECT MAX(laps) FROM table_name_24 WHERE driver = "pedro diniz" |
### Context: CREATE TABLE table_14323347_1 (
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of 1992-93 for 115 points
### Query: SELECT COUNT(1992 AS _93) FROM table_14323347_1 WHERE points = 115 |
### Context: CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
... |
### Context: CREATE TABLE table_name_16 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the away team at the game held at Arden Street Oval?
### Query: SELECT away_team FROM table_name_16 WHERE venue = "arden street oval" |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time... |
### Context: CREATE TABLE table_16186152_1 (
percentage VARCHAR,
state_delegate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the percentage when the state delegate is 1662?
### Query: SELECT percentage FROM table_16186152_1 WHERE state_delegate = 1... |
### 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 zyjybgb (
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_17827271_1 (
roleplay VARCHAR,
actor_required VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many RolePlay actors played the role requiring a 'male, younger' actor?
### Query: SELECT COUNT(roleplay) FROM table_17827271_1 ... |
### Context: CREATE TABLE table_25358 (
"Order" real,
"Episode" text,
"Airdate" text,
"Rating" text,
"Share" real,
"Rating/Share (18\u201349)" text,
"Viewers (millions)" text,
"Rank (night)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE table_1639689_2 (
kickoff VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the kickoff time on monday, may 13?
### Query: SELECT kickoff FROM table_1639689_2 WHERE date = "Monday, May 13" |
### Context: CREATE TABLE table_67666 (
"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 team has the most wins with at least 18 ... |
### Context: CREATE TABLE table_30200 (
"No." real,
"Title" text,
"Lyricist" text,
"Composer" text,
"Arrangement" text,
"Sound Engineer" text,
"Length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the arrangement for bets3ab 3alia ... |
### Context: CREATE TABLE table_203_790 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of wins ?
### Query: SELECT COUNT(*) FROM ta... |
### Context: CREATE TABLE table_24116 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Black Knights points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have Air Force as the opp... |
### 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_204_713 (
id number,
"rank" number,
"bib" number,
"athlete" text,
"country" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the first time on the list is ?
### Query: SELECT "time"... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_24192190_1 (
magnitude VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 43.048 n is the latitude what is the magnitude?
### Query: SELECT magnitude FROM table_24192190_1 WHERE latitude = "43.048° N" |
### Context: CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE flight (
aircraft_code_sequence ... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
Ow... |
### Context: CREATE TABLE tracklists (
albumid number,
position number,
songid number
)
CREATE TABLE instruments (
songid number,
bandmateid number,
instrument text
)
CREATE TABLE songs (
songid number,
title text
)
CREATE TABLE band (
id number,
firstname text,
lastname t... |
### Context: CREATE TABLE table_name_74 (
points_won VARCHAR,
year VARCHAR,
total_matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 2007, how many points were won when more than 5 matches were played?
### Query: SELECT COUNT(points_won) FROM tab... |
### Context: CREATE TABLE table_name_24 (
split__50m_ INTEGER,
name VARCHAR,
lane VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total sum of 50m splits for josefin lillhage in lanes above 8?
### Query: SELECT SUM(split__50m_) FROM table_nam... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit ... |
### Context: CREATE TABLE table_201_15 (
id number,
"year" number,
"single" text,
"chart positions\nspa" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- based on sales figures , what auryn album is the most popular ?
### Query: SELEC... |
### 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 table_11404452_1 (
director VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director when there were 13.66 million u.s viewers?
### Query: SELECT director FROM table_11404452_1 WHERE us_vie... |
### Context: CREATE TABLE table_28138035_4 (
womens_doubles VARCHAR,
mens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the womens doubles for werner schlager
### Query: SELECT womens_doubles FROM table_28138035_4 WHERE mens_singles = "Werner ... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes numb... |
### Context: CREATE TABLE table_4881 (
"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 away team's score at bru... |
### 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_66 (
constructor VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built the car that has a Time/Retired of 1:36:38.887?
### Query: SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:... |
### Context: CREATE TABLE table_name_95 (
event VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the event when the class is time trial hc a?
### Query: SELECT event FROM table_name_95 WHERE class = "time trial hc a" |
### Context: CREATE TABLE table_6604 (
"Player" text,
"Rating" real,
"Cmp." real,
"Att." real,
"Cmp. %" real,
"Yards" real,
"Int." real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Cmp % has an Int smaller than 2 and a Cm... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
i... |
### 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 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_c... |
### Context: CREATE TABLE table_name_30 (
competition VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Year of 1993?
### Query: SELECT competition FROM table_name_30 WHERE year = 1993 |
### Context: CREATE TABLE table_64868 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which platforms can you play Portal 2 on?
### Query: SELECT "Platform(s)" FROM table_6... |
### Context: CREATE TABLE table_203_171 (
id number,
"place\n(posicion)" number,
"team\n(equipo)" text,
"played\n(pj)" number,
"won\n(pg)" number,
"draw\n(pe)" number,
"lost\n(pp)" number,
"goals scored\n(gf)" number,
"goals conceded\n(gc)" number,
"+/-\n(dif.)" number,
"poin... |
### Context: CREATE TABLE table_18123274_1 (
year__ceremony_ VARCHAR,
result VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for not nominated for alberto aruelo
### Query: SELECT year__ceremony_ FROM table_18123274_1 WHER... |
### Context: CREATE TABLE table_name_86 (
result VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result against Clemson?
### Query: SELECT result FROM table_name_86 WHERE opponent = "clemson" |
### Context: CREATE TABLE table_26224 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of open cup for 1996
### Query: SELECT ... |
### Context: CREATE TABLE table_name_75 (
constructor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the constructor for 10 august
### Query: SELECT constructor FROM table_name_75 WHERE date = "10 august" |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Documents_with_Expenses (
Document_ID INTEGER,
Budget_Type_Code CHAR(15),
Document_Details ... |
### Context: CREATE TABLE table_62198 (
"Player" text,
"Height" real,
"Position" text,
"Year born (Age)" text,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current club with a position of sg/sf and a height less than 1.9... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.