text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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 jobs (
JO... |
### Context: CREATE TABLE table_1459 (
"Institution" text,
"Location" text,
"Nickname" text,
"Enrollment" real,
"Established" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the enrollment for the Cavaliers?
### Query: SELECT MAX("Enrollment... |
### Context: CREATE TABLE table_55510 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grids had more than 61 laps?
### Query: SELECT SUM("Grid") FROM table_55510 ... |
### Context: CREATE TABLE table_name_23 (
length VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the length of the race on August 15?
### Query: SELECT length FROM table_name_23 WHERE date = "august 15" |
### 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_55044 (
"Tournament" text,
"1980" text,
"1981" text,
"1982" text,
"1983" text,
"1984" text,
"1985" text,
"1986" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
... |
### Context: CREATE TABLE flight (
id int,
Vehicle_Flight_number text,
Date text,
Pilot text,
Velocity real,
Altitude real,
airport_id int,
company_id int
)
CREATE TABLE operate_company (
id int,
name text,
Type text,
Principal_activities text,
Incorporated_in text,
... |
### Context: CREATE TABLE aircraft (
aid number,
name text,
distance number
)
CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
salary number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance n... |
### Context: CREATE TABLE table_15417 (
"Season" text,
"Games" real,
"Lost" real,
"Tied" real,
"Points" real,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most games for stand... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
m... |
### Context: CREATE TABLE table_name_65 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for 2002 when 2006 is Grand Slam Tournaments?
### Query: SELECT 2002 FROM table_name_65 WHERE 2006 = "grand slam tournaments" |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icus... |
### 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_29494395_3 (
originalair_date VARCHAR,
director VARCHAR,
writer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original air date when the director is Rowan Woods and the writer is Peter Duncan?
### Query: SELE... |
### Context: CREATE TABLE table_17120964_7 (
man_of_the_match VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the man of the match when they lost 2-4?
### Query: SELECT man_of_the_match FROM table_17120964_7 WHERE result = "Lost 2-4" |
### Context: CREATE TABLE endowment (
endowment_id int,
School_id int,
donator_name text,
amount real
)
CREATE TABLE School (
School_id text,
School_name text,
Location text,
Mascot text,
Enrollment int,
IHSAA_Class text,
IHSAA_Football_Class text,
County text
)
CREATE ... |
### Context: CREATE TABLE table_name_13 (
leading_scorer VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the leading scorer for april 12, 2008
### Query: SELECT leading_scorer FROM table_name_13 WHERE date = "april 12, 2008" |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE table_name_44 (
game INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest game number with a record of 16-7-2?
### Query: SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-2" |
### Context: CREATE TABLE table_26943 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What positions correspond to the name Thierry M... |
### Context: CREATE TABLE table_204_828 (
id number,
"whitworth size (in)" number,
"core diameter (in)" number,
"threads per inch" number,
"pitch (in)" number,
"tapping drill size" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total... |
### Context: CREATE TABLE table_14003020_5 (
average INTEGER,
highest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum average with highest being 2363
### Query: SELECT MIN(average) FROM table_14003020_5 WHERE highest = 2363 |
### Context: CREATE TABLE table_72636 (
"Rank" real,
"Country/Territory" text,
"Miss World" real,
"1st Runner-up" real,
"2nd Runner-up" real,
"3rd Runner-up" real,
"4th Runner-up" real,
"5th Runner-up" real,
"6th Runner-up" real,
"Semifinalists" real,
"Total" real
)
-- Usin... |
### Context: CREATE TABLE table_name_44 (
industry INTEGER,
agriculture INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Industry, when Agriculture is greater than 11?
### Query: SELECT AVG(industry) FROM table_name_44 WHERE agriculture > ... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_204_940 (
id number,
"year" number,
"tournaments\nplayed" number,
"cuts\nmade" number,
"wins" number,
"2nd" number,
"3rd" number,
"top 10s" number,
"best\nfinish" text,
"earnings\n(\u20ac)" number,
"money\nlist rank" number,
"scoring\navera... |
### Context: CREATE TABLE diagnoses (
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 patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_75838 (
"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 highest Total with a Rank that is smaller than 4 and a Nation of tu... |
### Context: CREATE TABLE table_45187 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the match o... |
### Context: CREATE TABLE table_39806 (
"Airline" text,
"ICAO" text,
"IATA" text,
"Callsign" text,
"Commenced operations" real,
"Fleet size" real,
"Headquarters" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ICAO has a Commenced opera... |
### Context: CREATE TABLE table_204_652 (
id number,
"title" text,
"year" number,
"director" text,
"country" text,
"genre" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of lesbian , gay , bisexual , or... |
### Context: CREATE TABLE table_44018 (
"Team" text,
"Driver" text,
"Class" text,
"Chassis" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds did Nil Montserrat drive in?
### Query: SELECT "Rounds" FROM table_44018 WHERE... |
### Context: CREATE TABLE table_name_45 (
date VARCHAR,
winner VARCHAR,
competition_round VARCHAR,
venue VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did Universitario win the Torneo Apertura round after 2003 at Est... |
### Context: CREATE TABLE table_71104 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Set 3 has a Time of 10:00, and a Set 2 ... |
### Context: CREATE TABLE table_14961 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least attendance for 52-37 record
### Query: SELECT MIN("Attend... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE cost (
ro... |
### Context: CREATE TABLE table_name_88 (
total_goals INTEGER,
league_cup_goals VARCHAR,
playoff_apps VARCHAR,
fa_cup_apps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 Lea... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID ... |
### Context: CREATE TABLE table_2093995_1 (
stations VARCHAR,
parking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which station has park & ride lot parking?
### Query: SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot" |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased bool... |
### Context: CREATE TABLE table_45042 (
"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 country was the player with the score line 69-71-72-69=281 from?
... |
### Context: CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
wind_speed_mph int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE route (
trai... |
### Context: CREATE TABLE table_61573 (
"Name" text,
"Type" text,
"R.A. ( J2000 )" text,
"Dec. ( J2000 )" text,
"Redshift (km/ s )" text,
"Apparent Magnitude" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has Apparent Magnitude small... |
### Context: CREATE TABLE table_204_159 (
id number,
"name" text,
"nation" text,
"position" text,
"league apps" number,
"league goals" number,
"fa cup apps" number,
"fa cup goals" number,
"total apps" number,
"total goals" number
)
-- Using valid SQLite, answer the following qu... |
### Context: CREATE TABLE table_36599 (
"Date" text,
"Home Team" text,
"Score" text,
"Visiting Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on April 6, 2008?
### Query: SELECT "Score" FROM table_36599 WHER... |
### Context: CREATE TABLE table_11981 (
"Airing date" text,
"English title (Chinese title)" text,
"Number of episodes" real,
"HD format" text,
"Highest average point ratings" real,
"Genre" text,
"Official website" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_name_93 (
fis_nordic_world_ski_championships VARCHAR,
winter_olympics VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the FIS Nordic World Ski Championship years when the winter Olympics took place in 1968?
### Query: ... |
### Context: CREATE TABLE SECTION (
building VARCHAR,
room_number VARCHAR,
semester VARCHAR,
year VARCHAR,
course_id VARCHAR
)
CREATE TABLE course (
course_id VARCHAR,
dept_name VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
DEPT_EXTENSION varchar(4)
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CRE... |
### Context: CREATE TABLE table_49210 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### 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 Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give me a h... |
### Context: CREATE TABLE table_name_85 (
game VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was in 2005?
### Query: SELECT game FROM table_name_85 WHERE year = 2005 |
### Context: CREATE TABLE table_48969 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the high s... |
### Context: CREATE TABLE table_1341598_44 (
incumbent VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What incumbent won the district of texas 22?
### Query: SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22" |
### 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_name_51 (
lijsttrekker VARCHAR,
year VARCHAR,
chair VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Lijsttrekker, when Year is after 1990, and when Chair is 'Ingrid Van Engelshoven'?
### Query: SELECT lijsttrekker ... |
### Context: CREATE TABLE table_15630 (
"Season" text,
"Games" real,
"Lost" real,
"Tied" text,
"Points" real,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals have Lost larg... |
### Context: CREATE TABLE Department_Stores (
dept_store_id INTEGER,
dept_store_chain_id INTEGER,
store_name VARCHAR(80),
store_address VARCHAR(255),
store_phone VARCHAR(80),
store_email VARCHAR(80)
)
CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTEGER,
date_fr... |
### Context: CREATE TABLE train_station (
Train_ID int,
Station_ID int
)
CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Lo... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### Context: CREATE TABLE table_79309 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the notes in 2011?
### Query: SELECT "Notes" FROM table_79309 WHERE "Year" = '2... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE patient (
uniq... |
### 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 hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
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,
JZ... |
### Context: CREATE TABLE table_19851 (
"Category" text,
"Type" text,
"Attribute" text,
"Description" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the attributes when the type is 'DOMNodeRemoved'?
#... |
### Context: CREATE TABLE table_65238 (
"Title" text,
"Series" text,
"Characters" text,
"Production Num." real,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest production number for the LT series with the Dumb Patr... |
### Context: CREATE TABLE table_204_394 (
id number,
"year" number,
"album" text,
"label" text,
"peak chart\npositions\nus" number,
"peak chart\npositions\nus r&b" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- first album released
### 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_22666 (
"Doctor" text,
"Season" text,
"Story no." text,
"Serial" text,
"Number of episodes" text,
"Total footage remaining from missing episodes (mm:ss)" text,
"Missing episodes with recovered footage" text,
"Country/Territory" text,
"Source" text,
... |
### Context: CREATE TABLE table_204_420 (
id number,
"month" text,
"song" text,
"artist" text,
"aggregate points" number,
"total downloads" number,
"year-end chart" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what artist previous to jul... |
### Context: CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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,
... |
### Context: CREATE TABLE table_34625 (
"Award" text,
"Year" real,
"Category" text,
"Work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have an Award of press award?
### Query: SELECT COUNT("Year") FROM table_34625 W... |
### 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 jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_name_1 (
morse_taper_number INTEGER,
d__max_ VARCHAR,
b__max_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94?
### Query: SE... |
### Context: CREATE TABLE table_58824 (
"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 player has t7 as the place, with tje United States as the country... |
### 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 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 person_info_hz_info (
... |
### Context: CREATE TABLE table_name_44 (
results VARCHAR,
choreographer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Result of the dance Choreographed by Kelly Aykers?
### Query: SELECT results FROM table_name_44 WHERE choreographer = "kelly ... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_i... |
### Context: CREATE TABLE table_name_57 (
winning_score VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Winning score in 1956?
### Query: SELECT winning_score FROM table_name_57 WHERE year = 1956 |
### Context: CREATE TABLE trust (
source_u_id integer,
target_u_id integer,
trust integer
)
CREATE TABLE review (
a_id integer,
u_id integer,
i_id integer,
rating integer,
rank integer
)
CREATE TABLE useracct (
u_id integer,
name varchar(128)
)
CREATE TABLE item (
i_id int... |
### Context: CREATE TABLE table_14047 (
"Polling firm" text,
"Dates" text,
"Prog. Cons." text,
"New Democratic" text,
"Liberal" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which firm conducted a poll in August 2006?
### Query: SELECT "Polling fi... |
### Context: CREATE TABLE table_33994 (
"Artist" text,
"Title" text,
"Release date" text,
"Format" text,
"Cat. #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the category number that was released in November 2007?
### Query: SELECT "Cat.... |
### Context: CREATE TABLE table_name_80 (
declination___j2000__ VARCHAR,
ngc_number INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the declination with NGC number larger than 5750
### Query: SELECT declination___j2000__ FROM table_name_80 WHERE ngc_... |
### Context: CREATE TABLE table_name_21 (
round INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest round for Paul Hubbard?
### Query: SELECT MIN(round) FROM table_name_21 WHERE name = "paul hubbard" |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int... |
### Context: CREATE TABLE table_24725 (
"Year" real,
"Film" text,
"Budget" text,
"Domestic Box Office" text,
"Foreign Box Office" text,
"Total" text,
"US DVD sales" text,
"Total (with DVD sales)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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 regions ... |
### Context: CREATE TABLE table_1342149_11 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election when Tic Forrester ran as an incumbent?
### Query: SELECT result FROM table_1342149_11 WHERE incumbent ... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_42428 (
"Year" real,
"Venue" text,
"Winning team" text,
"Score" text,
"USA Captain" text,
"Europe Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the USA's captain was Beth Daniel, who was the winning... |
### Context: CREATE TABLE table_61864 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"Hometown/School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT PLAYER HAS THE OAKLAND ATHLETICS?
### Query: SELECT "Player" FROM table_61864 WH... |
### Context: CREATE TABLE mzb (
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 table_59661 (
"Name" text,
"Residence" text,
"Party" text,
"Years in Assembly" text,
"Years in Senate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Party has Years in Senate of , and Years in Assembly of 2012 presen... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE icustays (
ro... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.