text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_35084 (
"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.
-- Which College/Junior/Club Team (League) are from sweden?
##... |
### Context: CREATE TABLE table_42539 (
"Result" text,
"Opponent" text,
"Type" text,
"Round" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Type of ud and a Round of 10 on 2008-06-11?
### Query: SELECT "Opponent" F... |
### Context: CREATE TABLE t_kc21 (
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_43022 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of Wins in a PGA Champio... |
### Context: CREATE TABLE table_43708 (
"Title" text,
"Russian" text,
"Transliteration" text,
"Original Text" text,
"Start" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Title has a Transliteration of u lyudey-to v domu?
### Query: SELECT "Ti... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospital... |
### Context: CREATE TABLE table_name_47 (
best VARCHAR,
qual_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Best which has a Qual 2 of 58.700?
### Query: SELECT best FROM table_name_47 WHERE qual_2 = "58.700" |
### 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 diagnosi... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_61264 (
"Military deaths" text,
"Civilian deaths" text,
"Total deaths (not including foreigners)" text,
"Military and/or Civilian wounded" text,
"Total casualties" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ma... |
### 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 student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE course (
crs_code text... |
### Context: CREATE TABLE table_57381 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number of laps were done by driver Ronnie Peterson?
### Query: SELECT "Laps" FRO... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId nu... |
### Context: CREATE TABLE table_train_237 (
"id" int,
"fasting_c_peptide" float,
"fasting_plasma_glucose" int,
"smoking" bool,
"body_mass_index_bmi" float,
"serum_25_oh_d_levels" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- s... |
### Context: CREATE TABLE table_name_33 (
partner VARCHAR,
score_in_the_final VARCHAR,
date VARCHAR,
outcome VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the partner on a date later than 1971 who is the runner-up with a score of 3 6, 3 6?
#... |
### Context: CREATE TABLE table_64690 (
"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.
-- What is team number 1 when then 2nd leg is 64-97?
### Query: SELECT "Team #1" FROM table_6... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
... |
### Context: CREATE TABLE table_59888 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the shooter when the rank points was 8 and the event was WC Kerrville?
###... |
### 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 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_70206 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Entrant older than 1950 has points smaller than 7?
### Query: SELECT "Entrant" FROM tab... |
### 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_76761 (
"Player" text,
"Pos." text,
"Nationality" text,
"Team" text,
"Previous team" text,
"Years of NBA experience [a ]" real,
"Career with the franchise [b ]" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE table_77876 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the manner of departy... |
### Context: CREATE TABLE table_name_78 (
position VARCHAR,
years_for_jazz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did someone play from 1982-84?
### Query: SELECT position FROM table_name_78 WHERE years_for_jazz = "1982-84" |
### 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 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_name_98 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 has a 2007 of A?
### Query: SELECT 2006 FROM table_name_98 WHERE 2007 = "a" |
### Context: CREATE TABLE table_9704 (
"Year" real,
"Association" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in a year before 2013 that the nomination category was Presenter Tal... |
### Context: CREATE TABLE user_profiles (
uid int(11),
name varchar(255),
email varchar(255),
partitionid int(11),
followers int(11)
)
CREATE TABLE follows (
f1 int(11),
f2 int(11)
)
CREATE TABLE tweets (
id bigint(20),
uid int(11),
text char(140),
createdate datetime
)
-... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE table_21615 (
"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_90 (
yards INTEGER,
player VARCHAR,
rec VARCHAR,
avg VARCHAR,
long VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Rec larger than 19, and... |
### Context: CREATE TABLE table_27905664_1 (
_number VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes were directed by Ken Fink?
### Query: SELECT COUNT(_number) FROM table_27905664_1 WHERE directed_by = "Ken Fink" |
### 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 admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
... |
### Context: CREATE TABLE table_13836704_7 (
freight___metric_tonnes__ VARCHAR,
transit_passengers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the total freights in metric tonnes when the total transit passengers is 147791?
### Query: SELECT fre... |
### Context: CREATE TABLE table_46827 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the label in the region of Argentina and had a format of CD?
### Query: SELECT "Label... |
### Context: CREATE TABLE table_50718 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average total when bronze is more than 0, gold is 0, the nation is ... |
### Context: CREATE TABLE table_21951 (
"Parish (Prestegjeld)" text,
"Sub-Parish (Sokn)" text,
"Church Name" text,
"Year Built" text,
"Location of the Church" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what parish is the Askrova Bedehuskapell... |
### Context: CREATE TABLE table_203_676 (
id number,
"pick #" number,
"cfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players are an ol ?
### Query: SELECT COUNT("cfl team") FRO... |
### Context: CREATE TABLE table_203_836 (
id number,
"title" text,
"year" number,
"platforms" text,
"developer" text,
"publisher" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games did spicy horse develop in total ?
... |
### Context: CREATE TABLE table_name_89 (
tournament VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament has a Winning score of 16 (66-64-67=197)?
### Query: SELECT tournament FROM table_name_89 WHERE winning_score = −16(66... |
### 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 table_name_18 (
podiums INTEGER,
class VARCHAR,
f_laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Podiums have a Class of 250cc, and an F laps of 0?
### Query: SELECT SUM(podiums) FROM table_name_18 WHERE class = "... |
### 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_name_12 (
japanese_title VARCHAR,
episodes VARCHAR,
romaji_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama?
### Query: SELECT... |
### 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 zyjzjlb (
CYBQDM tex... |
### 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_25911 (
"Episode" text,
"First broadcast" text,
"Seans team" text,
"Daves team" text,
"Scores" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first broadcast date of the episode in which Sean's team is ma... |
### Context: CREATE TABLE table_70118 (
"Rank" real,
"Company" text,
"Revenues (US$ billion)" real,
"Profit (US$ billion)" real,
"Assets (US$ billion)" real,
"Market value (US$ billion)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which compa... |
### Context: CREATE TABLE table_203_720 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which opponent scored the least amount of points against them in a game ?
###... |
### 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 lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic ... |
### Context: CREATE TABLE Order_Items (
Order_Item_ID INTEGER,
Order_ID INTEGER,
Product_ID INTEGER,
Order_Quantity VARCHAR(288),
Other_Item_Details VARCHAR(255)
)
CREATE TABLE Customers (
Customer_ID VARCHAR(100),
Address_ID INTEGER,
Customer_Name VARCHAR(255),
Customer_Phone VARCH... |
### Context: CREATE TABLE table_26136 (
"Series episode" real,
"Season episode" real,
"Title" text,
"U.S. viewers (millions)" text,
"Original U.S. airdate" text,
"Prod. code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title when... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE students (
student_id number,
date_of_registration time,
date_of_latest_logon time,
login_name text,
password text,
personal_name text,
middle_name text,
family_name text
)
CREATE TABLE courses (
course_id number,
author_id number,
subject_id number... |
### 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 table_165732_2 (
directed_by VARCHAR,
episode__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many directors did Episode #3 have
### Query: SELECT COUNT(directed_by) FROM table_165732_2 WHERE episode__number = 3 |
### Context: CREATE TABLE ARTIST (
Name VARCHAR,
ArtistId VARCHAR
)
CREATE TABLE ALBUM (
ArtistId VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which artist has the most albums?
### Query: SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.Artist... |
### Context: CREATE TABLE table_47100 (
"Round" real,
"Pick #" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
### Q... |
### Context: CREATE TABLE table_dev_37 (
"id" int,
"gender" string,
"hemoglobin_a1c_hba1c" float,
"diabetes_mellitus" bool,
"dysglycemia" bool,
"creatinine_clearance_cl" float,
"estimated_glomerular_filtration_rate_egfr" int,
"fasting_plasma_glucose" int,
"serum_creatinine" float,
... |
### Context: CREATE TABLE table_76755 (
"Episode #" real,
"US air date" text,
"Rating" text,
"Share" text,
"Rating/Share (18\u201349)" text,
"Viewers (millions)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest numbered episode ... |
### Context: CREATE TABLE table_43255 (
"Season" text,
"Staffel A" text,
"Staffel B" text,
"Staffel C" text,
"Staffel D" text,
"Staffel E" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Staffel D in the season 1983-84 with a Staffel ... |
### Context: CREATE TABLE table_name_47 (
total VARCHAR,
play_offs INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many totals have a play-off less than 0?
### Query: SELECT COUNT(total) FROM table_name_47 WHERE play_offs < 0 |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airp... |
### Context: CREATE TABLE customers (
customer_id number,
customer_first_name text,
customer_middle_initial text,
customer_last_name text,
gender text,
email_address text,
login_name text,
login_password text,
phone_number text,
town_city text,
state_county_province text,
... |
### Context: CREATE TABLE table_74476 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Poor Law Unions when the area (in acres) is 142?
### Que... |
### 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_name_97 (
attendance INTEGER,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least attendance with carolina visitor
### Query: SELECT MIN(attendance) FROM table_name_97 WHERE visitor = "carolina" |
### Context: CREATE TABLE table_77951 (
"CERCLIS ID" text,
"County" text,
"Proposed" text,
"Listed" text,
"Construction completed" text,
"Partially deleted" text,
"Deleted" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What construction com... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE table_name_83 (
lead VARCHAR,
third VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER?
### Query: SELECT lead FROM table_name_83 WHERE third = "jeanna schraeder" |
### Context: CREATE TABLE table_69259 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold m... |
### Context: CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Date DATETIME,
Document_Name VARCHAR(255),
Document_Description VARCHAR(255),
Other_Details... |
### Context: CREATE TABLE table_name_6 (
type VARCHAR,
source VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type when the source is Realmadrid, and the name is Soldado?
### Query: SELECT type FROM table_name_6 WHERE source = "... |
### Context: CREATE TABLE table_name_53 (
country VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Andy North with a To par greater than 8 Country?
### Query: SELECT country FROM table_name_53 WHERE to_par > 8 AND p... |
### Context: CREATE TABLE bank (
branch_ID int,
bname varchar(20),
no_of_customers int,
city varchar(10),
state varchar(20)
)
CREATE TABLE customer (
cust_ID varchar(3),
cust_name varchar(20),
acc_type char(1),
acc_bal int,
no_of_loans int,
credit_score int,
branch_ID in... |
### Context: CREATE TABLE table_203_229 (
id number,
"pick #" number,
"nfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was picked directly before ken riley ?
### Query: SELECT "player... |
### Context: CREATE TABLE table_2384331_1 (
arena VARCHAR,
captain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What arena does the team play at that has Michael Wales as the captain?
### Query: SELECT arena FROM table_2384331_1 WHERE captain = "Michael W... |
### Context: CREATE TABLE table_73739 (
"Year" real,
"Division" real,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the league for 2003
### Query: SELECT "League" FROM table_7... |
### Context: CREATE TABLE table_26267849_2 (
hometown VARCHAR,
age_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the hometown where the average age is 16
### Query: SELECT hometown FROM table_26267849_2 WHERE age_s_ = "16" |
### Context: CREATE TABLE music_festival (
ID int,
Music_Festival text,
Date_of_ceremony text,
Category text,
Volume int,
Result text
)
CREATE TABLE artist (
Artist_ID int,
Artist text,
Age int,
Famous_Title text,
Famous_Release_date text
)
CREATE TABLE volume (
Volume_... |
### Context: CREATE TABLE table_43122 (
"Team" text,
"Country" text,
"Home" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second of the North America team from Edmonton, Cana... |
### Context: CREATE TABLE table_74244 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the episode '... |
### 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_14329 (
"Rank" real,
"Year" real,
"Name" text,
"Moving from" text,
"Moving to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was moved to barcelona?
### Query: SELECT "Name" FROM table_14329 WHERE "Moving to" = ... |
### Context: CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE reviewer (
rid number,
name text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_21 (
opponent VARCHAR,
points VARCHAR,
november VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has points less than 18, and a november greater than 11?
### Query: SELECT opponent FROM table_name_21 WHE... |
### Context: CREATE TABLE table_name_16 (
rank VARCHAR,
athlete VARCHAR,
react VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?
### Query:... |
### 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_18449 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year were the latest elections?
### Query: SELECT MAX... |
### Context: CREATE TABLE table_27712451_6 (
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many high rebounds took place on December 8?
### Query: SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 8" |
### Context: CREATE TABLE playlist (
playlistid number,
name text
)
CREATE TABLE album (
albumid number,
title text,
artistid number
)
CREATE TABLE playlisttrack (
playlistid number,
trackid number
)
CREATE TABLE genre (
genreid number,
name text
)
CREATE TABLE invoice (
invo... |
### Context: CREATE TABLE table_name_72 (
track VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which track does the Woodward Stakes race take place on?
### Query: SELECT track FROM table_name_72 WHERE race = "woodward stakes" |
### Context: CREATE TABLE table_10932739_2 (
orbital_period VARCHAR,
semimajor_axis___au__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long is the orbital period for the planet that has a semimajor axis of 5.20 au?
### Query: SELECT orbital_period FR... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_name_71 (
top_25 INTEGER,
top_5 VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?
### Query: SELECT SUM(top_25) FROM table_name_71 WHERE top_5 >... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.