text stringlengths 197 8.39k |
|---|
### 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 appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,... |
### Context: CREATE TABLE table_name_34 (
money___ VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the money for argentina?
### Query: SELECT COUNT(money___) AS $__ FROM table_name_34 WHERE country = "argentina" |
### Context: CREATE TABLE geographic (
city_name varchar,
county varchar,
region varchar
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varc... |
### Context: CREATE TABLE table_204_994 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- whats after october 2... |
### Context: CREATE TABLE table_15391 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par that has bill collins as the player?
### Query: SE... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTasks (
Id number,
... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text... |
### 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_name_93 (
listed VARCHAR,
borough VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the listings in the Valdez-cordova (census area) Borough?
### Query: SELECT listed FROM table_name_93 WHERE borough = "valdez-cordova (... |
### Context: CREATE TABLE table_69721 (
"Season" text,
"Team" text,
"Country" text,
"Division" real,
"Apps" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of division for apps more than 5 for greece
### Query... |
### Context: CREATE TABLE table_40040 (
"Country" text,
"Local name" text,
"Host" text,
"Network" text,
"Date premiered" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Local name has a Network of tvn?
### Query: SELECT "Local name" FROM table... |
### Context: CREATE TABLE table_19002 (
"Position" real,
"Artist" text,
"Song title" text,
"Highest position" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum points with highest position being 1
### Query: SELECT M... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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 te... |
### Context: CREATE TABLE table_2008069_2 (
pinyin VARCHAR,
conventional VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the pinyin for mazar
### Query: SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar" |
### Context: CREATE TABLE writer (
wid int,
gender text,
name text,
nationality text,
birth_city text,
birth_year int
)
CREATE TABLE written_by (
id int,
msid int,
wid int
)
CREATE TABLE director (
did int,
gender text,
name text,
nationality text,
birth_city te... |
### Context: CREATE TABLE table_10868 (
"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 low point total for arrows a22 chassis?
### Query: SELECT MIN("Points") FROM tab... |
### Context: CREATE TABLE wdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number... |
### 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 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_69 (
venue VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when the away team was Hawthorn?
### Query: SELECT venue FROM table_name_69 WHERE away_team = "hawthorn" |
### 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_name_73 (
percentage VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Percentage has a Place of 5?
### Query: SELECT percentage FROM table_name_73 WHERE place = 5 |
### Context: CREATE TABLE table_27091128_2 (
replaced_by VARCHAR,
date_of_appointment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which manager was appointed on 08.06.2010?
### Query: SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "... |
### Context: CREATE TABLE table_2135222_2 (
area VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many areas have a population of 703379?
### Query: SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379 |
### 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 county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_42 (
date VARCHAR,
week INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a week larger than 14?
### Query: SELECT date FROM table_name_42 WHERE week > 14 |
### Context: CREATE TABLE table_name_16 (
top_25 VARCHAR,
top_5 VARCHAR,
top_10 VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of top-25 in the Masters Tournament, which has 0 top-10 and more than 0 top-5?... |
### Context: CREATE TABLE table_59886 (
"Pianist" text,
"Conductor" text,
"Record Company" text,
"Year of Recording" real,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record company did conductor Mikhail Snitko record for after 1996... |
### Context: CREATE TABLE table_5241 (
"Date" text,
"Label" text,
"Region" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What catalog has june 1990 as the date?
### Query: SELECT "Catalog" FROM table_5241 WHERE "Date... |
### Context: CREATE TABLE table_13607 (
"Year" real,
"Finish position" text,
"1st day" text,
"2nd day" text,
"3rd day" text,
"4th Day" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have a 4th Day of bumped wolfson?
### Query: SE... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostHistory... |
### Context: CREATE TABLE table_39100 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Game site has an Opponent of Miami Dolphins?
### 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 jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_26368963_1 (
under_15 VARCHAR,
under_17 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the under-15 when Moises Galvez was the under-17?
### Query: SELECT under_15 FROM table_26368963_1 WHERE under_17 = "Moises Galvez... |
### Context: CREATE TABLE table_17244483_1 (
grid VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grid did the driver who earned 19 points start at?
### Query: SELECT grid FROM table_17244483_1 WHERE points = "19" |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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 te... |
### Context: CREATE TABLE table_name_92 (
release_date VARCHAR,
director VARCHAR,
production_num VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Release date has a Director of tom palmer, and a Production Num larger than 5956?
### Query: SELECT rel... |
### Context: CREATE TABLE table_name_98 (
percent_decline_from_peak_population VARCHAR,
peak_population__year_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the percent decline from peak population when the peak population (year) is 178320 (1960)?
... |
### 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 total runners up from sweden ?
### Query: SELE... |
### Context: CREATE TABLE table_name_95 (
pos VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final position of Arena Motorsports International?
### Query: SELECT pos FROM table_name_95 WHERE team = "arena motorsports international... |
### Context: CREATE TABLE table_204_364 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the only year she competed in kenya ?
### Q... |
### Context: CREATE TABLE table_33430 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date featured the Boston Patriots as the opponent?
### Query: ... |
### Context: CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
... |
### Context: CREATE TABLE table_name_38 (
stage VARCHAR,
start_of_stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the stage winner when the start of stage is Cauterets?
### Query: SELECT stage AS winner FROM table_name_38 WHERE start_of_stage =... |
### Context: CREATE TABLE table_204_20 (
id number,
"represent" text,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many delegates are not in their 20 's
### Query: SELECT COUNT("c... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from... |
### 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 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID d... |
### Context: CREATE TABLE gas_station (
station_id number,
open_year number,
location text,
manager_name text,
vice_manager_name text,
representative_name text
)
CREATE TABLE company (
company_id number,
rank number,
company text,
headquarters text,
main_industry text,
s... |
### Context: CREATE TABLE table_name_65 (
place_of_birth VARCHAR,
elevator VARCHAR,
cardinalatial_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon o... |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_66872 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text,
"Note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date with catalog of alca-9198
### Query: SELECT "Date" FROM table_6... |
### Context: CREATE TABLE table_name_45 (
representative VARCHAR,
presentation_of_credentials VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the representative with presentation of credentials of august 16, 1928
### Query: SELECT representative FROM ta... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagNam... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_77 (
producer VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Producer on December 25, 2006?
### Query: SELECT producer FROM table_name_77 WHERE year = "december 25, 2006" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JSBBRQ... |
### 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 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_name_40 (
tie_no VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tie Number when Barnsley was the away team?
### Query: SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley" |
### Context: CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Participates_in (... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_name_27 (
home VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team with 3305 in attendance?
### Query: SELECT home FROM table_name_27 WHERE attendance = 3305 |
### Context: CREATE TABLE table_2463383_2 (
winnings VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winnings for 23rd position
### Query: SELECT winnings FROM table_2463383_2 WHERE position = "23rd" |
### Context: CREATE TABLE table_name_95 (
club VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club has 77 points?
### Query: SELECT club FROM table_name_95 WHERE points = "77" |
### Context: CREATE TABLE table_68187 (
"Season" real,
"Overall" text,
"Slalom" text,
"Giant Slalom" text,
"Super G" text,
"Downhill" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many overalls has 1 combined and 24 dow... |
### Context: CREATE TABLE table_name_25 (
res VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the resolution of the fight against steve schneider?
### Query: SELECT res FROM table_name_25 WHERE opponent = "steve schneider" |
### Context: CREATE TABLE parties (
party_id number,
payment_method_code text,
party_phone text,
party_email text
)
CREATE TABLE individuals (
individual_id number,
individual_first_name text,
individual_middle_name text,
inidividual_phone text,
individual_email text,
individual... |
### Context: CREATE TABLE table_13063 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of the player from the United States with a score of 74-72=146?
### Query: ... |
### 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 fgwyjzb (
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,
INSUR... |
### 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 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_4231 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many pick# does the chivas usa mls team have
### Query: SELECT MAX("Pick #") FRO... |
### Context: CREATE TABLE table_58286 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If there are more than 0 Silver medals, less than 5 gold medals, and no bronze ... |
### Context: CREATE TABLE table_27712702_7 (
high_assists VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had high assists in the game played at Oklahoma city arena 17,509?
### Query: SELECT high_assists FROM table_27712702_7... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TAB... |
### Context: CREATE TABLE table_1013129_1 (
pick INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest pick for the player, brett lindros?
### Query: SELECT MIN(pick) FROM table_1013129_1 WHERE player = "Brett Lindros" |
### Context: CREATE TABLE table_75968 (
"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 the 1st leg of the match with a 2nd leg of 3-2?
### Query: SELECT "1st leg" FROM tab... |
### Context: CREATE TABLE table_76264 (
"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 Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test_taken DATETIME,
test_result VARCHAR(255)
)
CREATE TABLE Studen... |
### Context: CREATE TABLE table_67346 (
"Poll source" text,
"Date(s) administered" text,
"Sample size" text,
"Margin of error" text,
"Jerry Brown (D)" text,
"Meg Whitman (R)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were su... |
### Context: CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_20170644_1 (
pick__number INTEGER,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?
### Query: SELECT MAX(pick__number) FROM table_20170644_... |
### Context: CREATE TABLE table_203_640 (
id number,
"name" text,
"college" text,
"years" text,
"reign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last year of harald v of norway 's reign ?
### Query: SELECT "years" FROM table_203_... |
### Context: CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name... |
### Context: CREATE TABLE table_48278 (
"Date" text,
"U-boat" text,
"Name" text,
"Nationality" text,
"Tonnage (GRT)" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nationality has a Fate of sunk (mine), and a Tonnage (GRT) sma... |
### Context: CREATE TABLE table_name_5 (
cuts_made INTEGER,
top_25 VARCHAR,
top_5 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average cuts for top-25 more than 13 and top-5 less than 11
### Query: SELECT AVG(cuts_made) FROM table_name_5 WHER... |
### Context: CREATE TABLE screen_mode (
graphics_mode number,
char_cells text,
pixels text,
hardware_colours number,
used_kb number,
map text,
type text
)
CREATE TABLE chip_model (
model_name text,
launch_year number,
ram_mib number,
rom_mib number,
slots text,
wifi ... |
### Context: CREATE TABLE table_name_31 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004?
### Query: SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1... |
### Context: CREATE TABLE table_73400 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date successor seated where Massachusetts 2nd is ... |
### Context: CREATE TABLE table_name_53 (
laps VARCHAR,
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the time/retired is electrical how many laps did Rubens Barrichello have?
### Query: SELECT laps FROM table_name_53 ... |
### Context: CREATE TABLE table_28892 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for north carolina 9
### Query: SELECT COU... |
### Context: CREATE TABLE table_77399 (
"Place" real,
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of draw with ... |
### Context: CREATE TABLE table_42490 (
"English" text,
"German" text,
"Dutch" text,
"Icelandic" text,
"Latin" text,
"Greek" text,
"Russian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the English word for the Latin word uxor?
##... |
### 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_29478 (
"Team" text,
"Outgoing head coach" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" real,
"Incoming head coach" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.