text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE diagnoses (
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,
reli... |
### Context: CREATE TABLE table_name_97 (
opponent VARCHAR,
week VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent of the game before week 11 on October 31, 1976?
### Query: SELECT opponent FROM table_name_97 WHERE week <... |
### Context: CREATE TABLE table_25519358_1 (
vertical_0_b VARCHAR,
horizontal_0_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the vertical for ys
### Query: SELECT vertical_0_b FROM table_25519358_1 WHERE horizontal_0_a = "明勾(YS月南)" |
### Context: CREATE TABLE table_name_48 (
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2nd leg of the Internacional Team 1?
### Query: SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" |
### Context: CREATE TABLE table_14028 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team of the Fullback Player?
### Query: SELECT "Team" FROM table_14028 WHERE "Pos... |
### Context: CREATE TABLE Transactions_Lots (
transaction_id INTEGER,
lot_id INTEGER
)
CREATE TABLE Lots (
lot_id INTEGER,
investor_id INTEGER,
lot_details VARCHAR(255)
)
CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Transactions (
... |
### 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_1682865_1 (
reverse VARCHAR,
£1_fraction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the reverse when the 1 fraction is 1/480?
### Query: SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" |
### Context: CREATE TABLE table_dev_34 (
"id" int,
"gender" string,
"heart_disease" bool,
"body_weight" float,
"hematocrit_hct" float,
"fasting_blood_glucose_fbg" float,
"hyperlipidemia" bool,
"systemic_illness" bool,
"angina" bool,
"serum_ldl" int,
"clinically_significant_at... |
### Context: CREATE TABLE table_45495 (
"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 table_1153898_1 (
hub_base_class VARCHAR,
comparisons VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is wireless combo keyboard and mouse support part of the hub base class?
### Query: SELECT hub_base_class FROM table_1153898_1 WHE... |
### Context: CREATE TABLE table_name_90 (
marriage VARCHAR,
death VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the marriage of the person who died on 17 December 1471?
### Query: SELECT marriage FROM table_name_90 WHERE death = "17 december 1471" |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
... |
### Context: CREATE TABLE table_name_66 (
points INTEGER,
against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Points when the against is less than 24 and played is less than 20?
### Query: SELECT SUM(points) FROM ta... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE offering_instructor (
... |
### Context: CREATE TABLE table_74754 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date is associated with the Spunk label?
### Query: SELECT "Date" FROM table_74754 WHERE ... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
a... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
customer_first_name VARCHAR(20),
customer_last_name VARCHAR(20),
customer_address VARCHAR(255),
customer_phone VARCHAR(255),
customer_email VARCHAR(255),
other_customer_details VARCHAR(255)
)
CREATE TABLE Customers_Cards (
card_... |
### Context: CREATE TABLE table_35322 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Opponent in the Auckland, New Zealand Tournament?
### Query: SELECT "Opponen... |
### Context: CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_president_vote number,
secretary_vote number,
treasurer_vote number,
class_president_vote number,
class_senator_vote number
)
CREATE TABLE student (
s... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
... |
### Context: CREATE TABLE table_11734041_11 (
position VARCHAR,
years_for_rockets VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position for the player that played in 2006?
### Query: SELECT position FROM table_11734041_11 WHERE years_for_rocke... |
### Context: CREATE TABLE customers (
customer_id number,
payment_method text,
customer_name text,
date_became_customer time,
other_customer_details text
)
CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE customer_orders (
order_id number,
customer_id ... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
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 Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_name_89 (
one_way VARCHAR,
miles_ INTEGER,
fans_took VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for miles [One Way] when the fans took 340?
### Query: SELECT AVG(miles_) AS "one_way" FROM table_name_89 WHER... |
### Context: CREATE TABLE table_26508 (
"Team" text,
"Location" text,
"Stadium" text,
"Capacity" real,
"Manager" text,
"Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum capacity for Sangre Grande Ground?
### Query: SE... |
### 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 book_club (
book_club_id int,
Year int,
Author_or_Editor text,
Book_Title text,
Publisher text,
Category text,
Result text
)
CREATE TABLE culture_company (
Company_name text,
Type text,
Incorporated_in text,
Group_Equity_Shareholding real,
book_... |
### 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 people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_261931_2 (
institution VARCHAR,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which institution's nickname is the Bobcats?
### Query: SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats" |
### Context: CREATE TABLE table_7647 (
"Week" real,
"Date" text,
"Opponent" text,
"Game Site" text,
"Final Score" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Attendance with a Week that is 18?... |
### Context: CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
... |
### Context: CREATE TABLE table_name_48 (
years VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the years for dannevirke south school
### Query: SELECT years FROM table_name_48 WHERE name = "dannevirke south school" |
### Context: CREATE TABLE office_locations (
building_id number,
company_id number,
move_in_year number
)
CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
market_value_billio... |
### Context: CREATE TABLE table_27631756_2 (
captain VARCHAR,
kitmaker VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many captains have the kitmaker as n/a?
### Query: SELECT COUNT(captain) FROM table_27631756_2 WHERE kitmaker = "N/A" |
### Context: CREATE TABLE driver (
Driver_ID int,
Name text,
Party text,
Home_city text,
Age int
)
CREATE TABLE school_bus (
School_ID int,
Driver_ID int,
Years_Working int,
If_full_time bool
)
CREATE TABLE school (
School_ID int,
Grade text,
School text,
Location t... |
### Context: CREATE TABLE table_name_94 (
lost VARCHAR,
drawn VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Lost, when Drawn is '2', and when Points is '36'?
### Query: SELECT lost FROM table_name_94 WHERE drawn = "2" AND points... |
### Context: CREATE TABLE table_21164 (
"Position" real,
"Driver / Passenger" text,
"Equipment" text,
"Bike No" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the driver passenger for 394 points
### Query: SELECT "Driver / Passe... |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_i... |
### Context: CREATE TABLE table_train_13 (
"id" int,
"active_infection" bool,
"procalcitonin" int,
"receiving_vasopressor" bool,
"sepsis" bool,
"septic_shock" bool,
"age" float,
"lactate" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE table_40332 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Attendance with a Result that is w 24-21?
### Query: SELECT MAX("Atten... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE re... |
### Context: CREATE TABLE table_name_96 (
location VARCHAR,
opponenent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the opponent Germany?
### Query: SELECT location FROM table_name_96 WHERE opponenent = "germany" |
### 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 status (
station_id number,
bikes_available number,
docks_available number,
time text
)
CREATE TABLE station (
id number,
name text,
lat number,
long number,
dock_count number,
city text,
installation_date text
)
CREATE TABLE trip (
id number,
... |
### Context: CREATE TABLE table_name_88 (
surplus_deficit_ VARCHAR,
_percentage_gdp VARCHAR,
expenditure VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than ... |
### Context: CREATE TABLE table_79798 (
"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.
-- Name the average cuts for top-25 more than 13 and t... |
### Context: CREATE TABLE table_28770 (
"Season #" real,
"Series #" real,
"Episode title" text,
"Original air date" text,
"Nick prod. #" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episode originally air with a nick production number... |
### Context: CREATE TABLE table_11207040_6 (
date_of_vacancy VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What days are vacant that were replaced by john brown?
### Query: SELECT date_of_vacancy FROM table_11207040_6 WHERE replaced_by... |
### Context: CREATE TABLE table_203_350 (
id number,
"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.
-- did the team larissa or the team panathinaikos score more total points ?
... |
### Context: CREATE TABLE table_39184 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Game of 4?
### Query: SELECT "Date" FROM table_39184 WHERE "Game" = '4' |
### Context: CREATE TABLE table_59239 (
"Team" text,
"P desc" real,
"P 2007" real,
"P Ap 2008" real,
"P Cl 2008" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of P desc with a P 2007 of 0,00 and a P, Ap 2008 less than 30,00, and a P... |
### 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_name_30 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a total of the Bronze less than 4, gold more than 0, and no silver?
### Query: SELECT SUM(bronze) FR... |
### Context: CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_64485 (
"interval name" text,
"size (steps)" real,
"size (cents)" real,
"just ratio" text,
"just (cents)" real,
"error" text,
"audio" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average size (ce... |
### Context: CREATE TABLE table_name_50 (
party VARCHAR,
results VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party is the person who was first elected in 2000 and was re-elected?
### Query: SELECT party FROM table_name_50 ... |
### 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_89 (
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for Jock Hutchison?
### Query: SELECT score FROM table_name_89 WHERE player = "jock hutchison" |
### Context: CREATE TABLE table_204_735 (
id number,
"rank" number,
"team" text,
"names" text,
"time" text,
"qualification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams had at least five players ?
### Query: SELECT COUNT("team"... |
### 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_49112 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" real,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date when the venue ... |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
se... |
### Context: CREATE TABLE table_57646 (
"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.
-- On what day did a home team score 8... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### 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_29 (
minor_seventh VARCHAR,
major_third VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A major third of C has what listed for the Minor seventh?
### Query: SELECT minor_seventh FROM table_name_29 WHERE major_third = "c" |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE city (
city_co... |
### Context: CREATE TABLE table_55028 (
"Year" real,
"Award" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years was Denis Lawson nominated for an award?
### Query: SELECT COUNT("Year") FROM tab... |
### Context: CREATE TABLE table_name_28 (
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Silver the Year Katie Curtis Unknown won the Bronze?
### Query: SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown... |
### Context: CREATE TABLE wdmzjzjlb (
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_12 (
record VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who holds the record time of 24.521 and where was it made?
### Query: SELECT record FROM table_name_12 WHERE time = "24.521" |
### Context: CREATE TABLE table_name_90 (
money___$__ VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Money for the T1 Player with a Score of 66-69-70-75=280?
### Query: SELECT money___$__ FROM table_name_90 WHER... |
### Context: CREATE TABLE table_9545 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the opponent for the game played on September 19, 1999?
### Query: SELECT "Op... |
### Context: CREATE TABLE furniture (
furniture_id number,
name text,
num_of_component number,
market_rate number
)
CREATE TABLE furniture_manufacte (
manufacturer_id number,
furniture_id number,
price_in_dollar number
)
CREATE TABLE manufacturer (
manufacturer_id number,
open_year... |
### Context: CREATE TABLE table_62855 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Transfer fee has a Moving from of you... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airport_service (
city_code... |
### 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_203_129 (
id number,
"finalist" text,
"age" number,
"from" text,
"dress colour" text,
"status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many finalists are under the age of 25 ?
### Query: SELECT COUNT("... |
### 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 Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Comments (
Id number,
Po... |
### Context: CREATE TABLE tracks (
name VARCHAR,
genre_id VARCHAR
)
CREATE TABLE genres (
id VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the name of tracks belongs to genre Rock or genre Jazz.
### Query: SELECT T2.name FROM ge... |
### Context: CREATE TABLE table_name_65 (
draw VARCHAR,
rank VARCHAR,
dance_styles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
### Query: SELECT COUNT(draw) FROM table_name_65 WHERE r... |
### Context: CREATE TABLE table_name_1 (
result VARCHAR,
week VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the Chiefs pre-Week 16 game that 69,362 people attended?
### Query: SELECT result FROM table_name_1 WH... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_16 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the away team at the MCG?
### Query: SELECT away_team AS score FROM table_name_16 WHERE venue = "mcg" |
### Context: CREATE TABLE ReviewTaskResultTypes (
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 FlagTy... |
### 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_32653 (
"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.
-- When the crowd was larger than 20,9... |
### Context: CREATE TABLE music_festival (
ID int,
Music_Festival text,
Date_of_ceremony text,
Category text,
Volume int,
Result text
)
CREATE TABLE artist (
Artist_ID int,
Artist text,
Age int,
Famous_Title text,
Famous_Release_date text
)
CREATE TABLE volume (
Volume_... |
### Context: CREATE TABLE table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- nick roach was signed the same day as what other player ... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE offering_instructor (
... |
### Context: CREATE TABLE table_name_30 (
recipient VARCHAR,
award VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the 2010 Kids' Choice Awards?
### Query: SELECT recipient FROM table_name_30 WHERE award = "2010 kids' choice award... |
### Context: CREATE TABLE table_name_11 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the away team when the home team is luton town?
### Query: SELECT away_team FROM table_name_11 WHERE home_team = "luton town" |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.