text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_29 (
dots VARCHAR,
ellipsis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the dot value when the ellipsis is 0.012345679 ?
### Query: SELECT dots FROM table_name_29 WHERE ellipsis = "0.012345679…" |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_7 (
monarch VARCHAR,
left_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the monarch that left office circa 1886?
### Query: SELECT monarch FROM table_name_7 WHERE left_office = "circa 1886" |
### Context: CREATE TABLE Products (
product_id INTEGER,
product_type_code VARCHAR(10),
product_name VARCHAR(80),
product_price DECIMAL(19,4)
)
CREATE TABLE Departments (
department_id INTEGER,
dept_store_id INTEGER,
department_name VARCHAR(80)
)
CREATE TABLE Customer_Orders (
order_id... |
### Context: CREATE TABLE table_dev_23 (
"id" int,
"anemia" bool,
"gender" string,
"thyroid_disease" bool,
"hemoglobin_a1c_hba1c" float,
"tsh" int,
"renal_disease" bool,
"estimated_glomerular_filtration_rate_egfr" int,
"hba1c" float,
"insulin_requirement" float,
"body_mass_in... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
... |
### Context: CREATE TABLE table_name_7 (
player VARCHAR,
to_par VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a To par of 2, and a Country of wales?
### Query: SELECT player FROM table_name_7 WHERE to_par = "–2" AND co... |
### 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 table_5808 (
"Date" text,
"Venue" text,
"Opponent" text,
"Score" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition had an opponent of Police at the Selayang Stadium?
### Query: SELECT "Co... |
### Context: CREATE TABLE table_456 (
"Episode" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the song choice when the theme is not aired?
### Que... |
### Context: CREATE TABLE table_11449 (
"Date" text,
"Opponents" text,
"Result" text,
"Score" text,
"Competition" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When were scottish football league xi the opponents with a score of 1-... |
### 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_9906 (
"Generation" text,
"Birthday" text,
"Birthplace" text,
"Blood Type" text,
"Agency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What generation is the member born on 1992.12.23 in?
### Query: SELECT "Generat... |
### Context: CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREA... |
### Context: CREATE TABLE genre (
g_name varchar2(20),
rating varchar2(10),
most_popular_in varchar2(50)
)
CREATE TABLE artist (
artist_name varchar2(50),
country varchar2(20),
gender varchar2(20),
preferred_genre varchar2(50)
)
CREATE TABLE song (
song_name varchar2(50),
artist_na... |
### Context: CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM 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 numbe... |
### Context: CREATE TABLE table_15383 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_17 (
played INTEGER,
goals_for VARCHAR,
goals_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest games played for teams with 73 goals for and more than 69 goals against?
### Query: SELECT MIN(p... |
### Context: CREATE TABLE table_name_28 (
power VARCHAR,
model VARCHAR,
years VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power for model 2.0 tdi (cr) dpf, and a Years of 2010 2011?
### Query: SELECT power FROM table_name_28 WHERE model =... |
### Context: CREATE TABLE table_name_27 (
matches VARCHAR,
goals INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals/matches have 153 as the goals with matches greater than 352?
### Query: SELECT SUM(goals) / matches FROM table_name_27 WHERE goals... |
### 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_62261 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"Facility ID" real,
"ERP W" real,
"Height m ( ft )" text,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whi... |
### Context: CREATE TABLE table_76087 (
"engine model" text,
"engine displacement" text,
"valvetrain" text,
"max. power : kW ( PS )" text,
"rpm for max. power" text,
"max. torque : Nm ( ft\u00b7lbf )" text,
"rpm for max. torque" text
)
-- Using valid SQLite, answer the following questions ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodi... |
### 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_17346 (
"#" real,
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the le... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
C... |
### Context: CREATE TABLE table_name_78 (
against INTEGER,
lost INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which average against has a lost less than 1?
### Query: SELECT AVG(against) FROM table_name_78 WHERE lost < 1 |
### Context: CREATE TABLE table_name_46 (
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place did Paul McGinley finish in?
### Query: SELECT place FROM table_name_46 WHERE player = "paul mcginley" |
### Context: CREATE TABLE table_34300 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average pick number of Pennsylvania?
### Query: SELECT AVG("Pick") F... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTyp... |
### Context: CREATE TABLE table_name_24 (
laps VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were ridden in the race that had a Time/Retired of +37.351?
### Query: SELECT COUNT(laps) FROM table_name_24 WHERE time_retired... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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... |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name V... |
### Context: CREATE TABLE table_204_778 (
id number,
"code" number,
"county" text,
"former province" text,
"area (km2)" number,
"population\ncensus 2009" number,
"capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the top count... |
### Context: CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
-- Using valid SQLite, answer the following quest... |
### 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_name_62 (
jersey__number INTEGER,
birthplace VARCHAR,
weight__kg_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest jersey # that has evergreen park, illinois as the birthplace, with a weight (km) greater t... |
### Context: CREATE TABLE table_name_6 (
brilliance_grade VARCHAR,
crown_angle VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Brilliance Grade has a Crown angle of 41.1 ?
### Query: SELECT brilliance_grade FROM table_name_6 WHERE crown_angle = "41.1°" |
### Context: CREATE TABLE table_name_99 (
numeric_decline_from_peak_population VARCHAR,
percent_decline_from_peak_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the numeric decline from peak population when the perfect decline from peak po... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### 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 table_15824796_3 (
title VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes aired on february 13, 1954?
### Query: SELECT COUNT(title) FROM table_15824796_3 WHERE original_air_date = "Februa... |
### Context: CREATE TABLE table_37553 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on March 23?
### Query: SELECT "Score" FROM table_37553 WHERE "Date" = 'march... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_84 (
hdtv VARCHAR,
content VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the HDTV when documentaries are the content?
### Query: SELECT hdtv FROM table_name_84 WHERE content = "documentaries" |
### Context: CREATE TABLE table_name_97 (
year VARCHAR,
supplier VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Year for Supplier Kooga?
### Query: SELECT year FROM table_name_97 WHERE supplier = "kooga" |
### Context: CREATE TABLE table_name_82 (
death VARCHAR,
image VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the death date of elisabeth of lorraine?
### Query: SELECT death FROM table_name_82 WHERE image = "elisabeth of lorraine" |
### Context: CREATE TABLE table_49220 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for the Detroit Pistons on March 7?
### Query: SELECT "Record" FROM table_4... |
### Context: CREATE TABLE table_72537 (
"Celebrity" text,
"Famous for" text,
"Entered" text,
"Exited" text,
"Finished" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the finished for exited day 13
### Query: SELECT "Finished" FROM table_72537 ... |
### Context: CREATE TABLE table_203_38 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is longer , fire or die 4 ?
### Query: SELECT "title" FROM tabl... |
### Context: CREATE TABLE table_name_93 (
decile INTEGER,
name VARCHAR,
gender VARCHAR,
authority VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many deciles have a Gender of coed, an Authority of state, and a Name of mount maunganui school?
###... |
### Context: CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE Apartment_Bookings (
... |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
lon... |
### Context: CREATE TABLE table_name_47 (
loss VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What loss has october 1 as the date?
### Query: SELECT loss FROM table_name_47 WHERE date = "october 1" |
### 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 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_name_55 (
team VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team did the Heat play against at the TD Waterhouse Centre?
### Query: SELECT team FROM table_name_55 WHERE location_attendance =... |
### Context: CREATE TABLE order_items (
product_id VARCHAR,
order_id VARCHAR
)
CREATE TABLE orders (
customer_id VARCHAR,
order_id VARCHAR
)
CREATE TABLE products (
product_name VARCHAR,
product_id VARCHAR
)
CREATE TABLE customers (
customer_name VARCHAR,
customer_id VARCHAR
)
-- Us... |
### Context: CREATE TABLE table_name_67 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the away team that played home team Footscray?
### Query: SELECT away_team FROM table_name_67 WHERE home_team = "footscray" |
### Context: CREATE TABLE Employees (
employee_name VARCHAR,
employee_id VARCHAR
)
CREATE TABLE Documents_to_be_destroyed (
Destruction_Authorised_by_Employee_ID VARCHAR,
Destroyed_by_Employee_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What a... |
### Context: CREATE TABLE table_name_58 (
additional_major_sponsor_s_ VARCHAR,
additional_colour_s_ VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the additional major sponsors which correspond to the additional color black and a y... |
### Context: CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_21317 (
"Game" real,
"Date" text,
"Opponent" 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 ... |
### Context: CREATE TABLE table_name_53 (
place VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Place has a To par of 2, and a Player of bernhard langer?
### Query: SELECT place FROM table_name_53 WHERE to_par = "–2"... |
### Context: CREATE TABLE table_4864 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the away team wi... |
### Context: CREATE TABLE table_name_83 (
seat_order__right_to_left_ VARCHAR,
series_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Seat Orders (Right to Left) have a Series 3 of deborah meaden?
### Query: SELECT COUNT(seat_order__right_to_left_)... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE finrev_fed_key_17 (
state_code number,
state text,
#_records text
)
CREATE TABLE finrev_fed_17 (
state_code number,
idcensus number,
school_district text,
nces_id text,
yr_data number,
t_fed_rev number,
c14 number,
c25 number
)
CREATE TABLE ndecore... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit ... |
### Context: CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### 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_76568 (
"Edition" text,
"Round" text,
"Date" text,
"Partnering" text,
"Against" text,
"Surface" text,
"Opponents" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Edition had a Result of ... |
### Context: CREATE TABLE table_name_60 (
non__stop VARCHAR,
aspirated_stop VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Non- stop has an Aspirated stop of ?
### Query: SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ" |
### Context: CREATE TABLE furniture (
furniture_id number,
name text,
num_of_component number,
market_rate number
)
CREATE TABLE manufacturer (
manufacturer_id number,
open_year number,
name text,
num_of_factories number,
num_of_shops number
)
CREATE TABLE furniture_manufacte (
... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### 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 ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTyp... |
### Context: CREATE TABLE table_63393 (
"Year" real,
"Competition Description" text,
"Location" text,
"Apparatus" text,
"Rank-Final" real,
"Score-Final" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score-Final has an Apparatus of floor e... |
### 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_34742 (
"Year" text,
"Regular Season Champion(s)" text,
"Record" text,
"Tournament Champion" text,
"Tournament venue" text,
"Tournament city" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Tournament venue h... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
adm... |
### Context: CREATE TABLE table_name_18 (
pos VARCHAR,
date_to VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pos., when Date To is '30 June 2009', and when Name is 'Eddie Johnson'?
### Query: SELECT pos FROM table_name_18 WHERE da... |
### 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_81 (
town VARCHAR,
population_rank VARCHAR,
municipality VARCHAR,
population__2001_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What town is from the mol tai district municipality and has a population rank of 1... |
### 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 Customers (
customer_id INTEGER,
customer_type_code VARCHAR(20),
address_line_1 VARCHAR(80),
address_line_2 VARCHAR(80),
town_city VARCHAR(80),
state VARCHAR(80),
email_address VARCHAR(255),
phone_number VARCHAR(80)
)
CREATE TABLE Complaints (
complaint_id ... |
### Context: CREATE TABLE assessment_notes (
notes_id number,
student_id number,
teacher_id number,
date_of_notes time,
text_of_notes text,
other_details text
)
CREATE TABLE behavior_incident (
incident_id number,
incident_type_code text,
student_id number,
date_incident_start t... |
### Context: CREATE TABLE table_64510 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class wi... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
... |
### Context: CREATE TABLE table_52618 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the home team... |
### Context: CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision va... |
### 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_27821 (
"Position" real,
"Sail Number" text,
"Yacht" text,
"State/Country" text,
"Yacht Type" text,
"LOA (Metres)" text,
"Skipper" text,
"Elapsed Time d:hh:mm:ss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE airport (
airport_code varchar,
airport_na... |
### Context: CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS nume... |
### 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_22795 (
"Year" real,
"Host" text,
"1st Place" text,
"2nd Place" text,
"3rd Place" text,
"4th Place" text,
"5th Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in 4th place when Missouri finished ... |
### Context: CREATE TABLE table_32525 (
"Year" real,
"Name" text,
"Date" text,
"Stages" text,
"Distance" text,
"Winner" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Fedex tour of Calabarzon?
### Query: SELECT "Win... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.