text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_59 (
played INTEGER,
points VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of games played for the team with 12 points and an against smaller than 52?
### Query: SELECT AVG(played)... |
### 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 swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City t... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_6276 (
"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.
-- Which Events is the highest one that has a Top-5 lar... |
### Context: CREATE TABLE film_market_estimation (
market_id VARCHAR
)
CREATE TABLE film (
title VARCHAR,
director VARCHAR,
film_id VARCHAR,
country VARCHAR
)
CREATE TABLE market (
Market_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wh... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
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,
pr... |
### 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_27449 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the data on November 3, if the data on January 15-16 is Ja... |
### 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_52091 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high grid for osella - alfa romeo, and a Laps larger than 61?
### Query: ... |
### 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_61 (
attempts VARCHAR,
touchdowns VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Attempts, when Touchdowns is 6?
### Query: SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6 |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostHistory (
Id n... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_2509505_1 (
games VARCHAR,
goals_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of games for goals against being 352
### Query: SELECT COUNT(games) FROM table_2509505_1 WHERE goals_against = 352 |
### Context: CREATE TABLE table_name_7 (
game VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Game, when Attendance is '18,568'?
### Query: SELECT COUNT(game) FROM table_name_7 WHERE attendance = 18 OFFSET 568 |
### Context: CREATE TABLE table_7081 (
"Team" text,
"Match" real,
"Points" real,
"Draw" real,
"Lost" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many match values have points under 14 and 0 draws?
### Query: SELECT COUNT("Match") FROM table_... |
### Context: CREATE TABLE table_name_20 (
lost VARCHAR,
tied VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the lost with tie of 0 and drawn of 47
### Query: SELECT lost FROM table_name_20 WHERE tied = "0" AND drawn = "47" |
### Context: CREATE TABLE table_43946 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Overall has a College of michigan state, a Position of fb, and a Roun... |
### Context: CREATE TABLE table_1850282_7 (
other VARCHAR,
species VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the other for chironius multiventris septentrionalis
### Query: SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris ... |
### Context: CREATE TABLE table_25118 (
"Details" text,
"Host Nation(s)" text,
"Final Venue" text,
"Winner" text,
"Result" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the runner-up is [[|]] 151/8 (50.0 overs), what were t... |
### 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 hz_info (
KH text,
... |
### 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_74 (
record VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record of the game on January 31 with Visitors Detroit Red Wings?
### Query: SELECT record FROM table_name_74 WHER... |
### Context: CREATE TABLE table_37174 (
"Date" text,
"Time ( CEST )" real,
"Team #1" text,
"Res." text,
"Team #2" text,
"Round" text,
"Spectators" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is team 1 in group h?
### Query: SELECT "... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varcha... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostLinks (
Id number,
CreationDate ... |
### Context: CREATE TABLE teachers (
firstname VARCHAR,
classroom VARCHAR
)
CREATE TABLE list (
classroom VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the first names of the teachers that teach first grade.
### Query: SELECT DISTINCT T2.firstnam... |
### 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_75293 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What wrestling event was participated in during the 2008 Beijing games?
### Query: SELECT "Event" ... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_5385 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Before round 7, what is the greatest Pick # for a player that plays defens... |
### Context: CREATE TABLE device (
Device_ID int,
Device text,
Carrier text,
Package_Version text,
Applications text,
Software_Platform text
)
CREATE TABLE shop (
Shop_ID int,
Shop_Name text,
Location text,
Open_Date text,
Open_Year int
)
CREATE TABLE stock (
Shop_ID in... |
### 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 INVOICES (
payment_method_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the distinct payment method codes in all the invoices?
### Query: SELECT DISTINCT payment_method_code FROM INVOICES |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
C... |
### Context: CREATE TABLE table_name_25 (
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When does week 11 start?
### Query: SELECT date FROM table_name_25 WHERE week = "11" |
### 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 table_60307 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score points has an Event of og beijing, and Rank points of olympic gold meda... |
### 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_75 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When melbourne was the away team, what was the lowest crowd turnout they had?
### Query: SELECT MIN(crowd) FROM table_name_75 WHERE away_team =... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE PostHistory... |
### Context: CREATE TABLE table_11964263_13 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for april 29?
### Query: SELECT score FROM table_11964263_13 WHERE date = "April 29" |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE table_10584 (
"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.
-- Hawthorn played as an Away team in ... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_name_6 (
grid INTEGER,
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest grid with collision as the Time/Retired for pedro diniz?
### Query: SELECT MIN(grid) FROM table_name_... |
### Context: CREATE TABLE table_18477 (
"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 candidates ran in the race where the incumbent is ... |
### Context: CREATE TABLE table_54249 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Height for Years of Rock... |
### Context: CREATE TABLE teaches (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0)
)
CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeri... |
### 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 microlab... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresult... |
### Context: CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
market_value_billion text
)
CREATE TABLE office_locations (
building_id number,
company_id number,
move_in_year ... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_3493 (
"Institution" text,
"Nickname" text,
"Location (all in Minnesota)" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the enrollment fo... |
### Context: CREATE TABLE table_21321 (
"Rank" real,
"1-year peak" text,
"5-year peak" text,
"10-year peak" text,
"15-year peak" text,
"20-year peak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every 5-year peek with a when Anatoly Ka... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_15910 (
"Year" text,
"Typhus" real,
"Typhoid fever" real,
"Relapsing fever" real,
"Smallpox" real,
"Malaria" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the typhoid fever number for the year 1934
### Q... |
### Context: CREATE TABLE zyb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### 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 Activity (
actid INTEGER,
activity_name varchar(25)
)
CREATE TABLE Participates_in (
... |
### Context: CREATE TABLE table_name_36 (
award VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the award for the Choice TV: Breakout Star Female category?
### Query: SELECT award FROM table_name_36 WHERE category = "choice tv: brea... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_tr... |
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### 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 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_57 (
position VARCHAR,
years VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was played by the player during 1986 1991 1997 1999?
### Query: SELECT position FROM table_name_57 WHERE years = "1986 – 1991 1997... |
### Context: CREATE TABLE table_name_30 (
score VARCHAR,
player VARCHAR,
country VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for United States when the player was Mike Reid and the To par was e?
### Query: SELEC... |
### Context: CREATE TABLE table_63428 (
"Rank" real,
"Player" text,
"Goals" real,
"Apps" real,
"Rate" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When rank is more than 10, what is the total rate?
### Query: SELECT SUM("Rate") FROM table_63428 W... |
### Context: CREATE TABLE artist (
artist_id number,
name text,
country text,
year_join number,
age number
)
CREATE TABLE exhibition (
exhibition_id number,
year number,
theme text,
artist_id number,
ticket_price number
)
CREATE TABLE exhibition_record (
exhibition_id numbe... |
### Context: CREATE TABLE table_17311783_9 (
high_points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the high point total against cleveland?
### Query: SELECT high_points FROM table_17311783_9 WHERE team = "Cleveland" |
### 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 table_204_521 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time (hand)" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many ranks are there ?
### Query: SELECT COUNT("rank") FROM tabl... |
### Context: CREATE TABLE table_69018 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when Joseph is the decision and San ... |
### Context: CREATE TABLE table_45103 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year that nahete colles was named?
### Query: SELECT MAX("Year nam... |
### Context: CREATE TABLE table_14055 (
"Ship name" text,
"Year built" real,
"Last refurbished" real,
"Length" text,
"Crew" real,
"Guests" real,
"Staterooms" real,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ear... |
### Context: CREATE TABLE table_22916979_5 (
metropolitan_area VARCHAR,
densest_incorporated_place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the area for north bay village
### Query: SELECT metropolitan_area FROM table_22916979_5 WHERE densest_inc... |
### Context: CREATE TABLE table_18776 (
"Serial & Branch" real,
"Seaman" text,
"Mechanical" text,
"Secretariat" text,
"Supply" text,
"Electrical" text,
"Radio Electrical" text,
"Regulating" text,
"Medical" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### 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_8 (
date VARCHAR,
crowd INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date is the Crowd larger than 17,000?
### Query: SELECT date FROM table_name_8 WHERE crowd > 17 OFFSET 000 |
### 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 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_14 (
game INTEGER,
points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game is the lowest one that has Points smaller than 92?
### Query: SELECT MIN(game) FROM table_name_14 WHERE points < 92 |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE ta (
campus_job... |
### 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 jobs (
JO... |
### Context: CREATE TABLE table_name_12 (
code_name VARCHAR,
fsb___ht__mhz_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the code name when the FSB / HT (MHz) is 100 (fsb)?
### Query: SELECT code_name FROM table_name_12 WHERE fsb___ht__mhz_ = "100... |
### Context: CREATE TABLE table_13643320_2 (
gtp_winning_team VARCHAR,
circuit VARCHAR,
gtu_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GT... |
### 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_22511 (
"Year" real,
"1st Place Team" text,
"2nd Place Team" text,
"3rd Place Team" text,
"4th Place Team" text,
"Host Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 3rd place team for the ye... |
### 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_56247 (
"Locomotive" text,
"Name" text,
"Serial No" text,
"Entered service" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name for the locomotive n464?
### Query: SELECT "Name" FROM table_5... |
### Context: CREATE TABLE table_46029 (
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the one who ruled from 2007 BC?
### Query: SELECT "Title" FROM table_4602... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilege... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_name_31 (
position VARCHAR,
pick VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has a pick less than 41 from Ohio State?
### Query: SELECT position FROM table_name_31 WHERE pick < ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.