text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE order_items (
order_item_id number,
product_id number,
order_id number,
order_item_status text,
order_item_details text
)
CREATE TABLE shipment_items (
shipment_id number,
order_item_id number
)
CREATE TABLE shipments (
shipment_id number,
order_id number,... |
### Context: CREATE TABLE city (
city_id SMALLINT UNSIGNED,
city VARCHAR(50),
country_id SMALLINT UNSIGNED,
last_update TIMESTAMP
)
CREATE TABLE rental (
rental_id INT,
rental_date DATETIME,
inventory_id MEDIUMINT UNSIGNED,
customer_id SMALLINT UNSIGNED,
return_date DATETIME,
st... |
### Context: CREATE TABLE table_name_83 (
city___state VARCHAR,
circuit VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is City / State, when Circuit is Eastern Creek Raceway, and when Winner is Michael Donaher?
### Query: SELECT cit... |
### Context: CREATE TABLE regular_order_products (
regular_order_id number,
product_id number
)
CREATE TABLE employees (
employee_id number,
employee_address_id number,
employee_name text,
employee_phone text
)
CREATE TABLE delivery_route_locations (
location_code text,
route_id number... |
### Context: CREATE TABLE table_45145 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had a time of 2:34?
### Q... |
### Context: CREATE TABLE table_36648 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_26681728_1 (
rank_final INTEGER,
apparatus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the maximum rank-final score on the floor exercise?
### Query: SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = ... |
### Context: CREATE TABLE table_203_42 (
id number,
"model" text,
"class" text,
"length" text,
"fuel" text,
"starting price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which model is at the top of the list with the highest starting price ?
... |
### Context: CREATE TABLE table_6291 (
"Player" text,
"Result" text,
"Appeared" real,
"RR W\u2013L" text,
"RR W Rate" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For Angelique Kerber who had an RR Rate of less than 0.33, what's the appeared?
###... |
### Context: CREATE TABLE table_name_33 (
acquisition_via VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Acquisition via for Dennis Miranda?
### Query: SELECT acquisition_via FROM table_name_33 WHERE name = "dennis miranda" |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_name_2 (
total VARCHAR,
gold VARCHAR,
silver VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total of rank 8 when Silver medals are 0 and gold is more than 1?
### Query: SELECT COUNT(total) FRO... |
### 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_10 (
goals_conceded INTEGER,
points VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Goals conceded has Points of 6 and Draws larger than 0?
### Query: SELECT MAX(goals_conceded) FROM table_name_10... |
### 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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
... |
### Context: CREATE TABLE table_35154 (
"Season" text,
"Record" text,
"Pct." real,
"Games" real,
"Attendance" real,
"Average" real,
"Sellouts" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the full amount of averages when the sellou... |
### Context: CREATE TABLE table_36670 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Home of pittsburgh, and a Record of 3 ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id... |
### Context: CREATE TABLE management (
department_id number,
head_id number,
temporary_acting text
)
CREATE TABLE head (
head_id number,
name text,
born_state text,
age number
)
CREATE TABLE department (
department_id number,
name text,
creation text,
ranking number,
bu... |
### Context: CREATE TABLE table_19420 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the class a for pearland
### Query: SELECT "Clas... |
### Context: CREATE TABLE table_26866205_1 (
original_airdate VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every original air date for series# of 26?
### Query: SELECT original_airdate FROM table_26866205_1 WHERE series__nu... |
### 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_18712423_3 (
series_episode INTEGER,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the show episode number of the episode that reached 1.215 millions views?
### Query: SELECT MIN(series_episode) FR... |
### 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 table_204_469 (
id number,
"coach" text,
"years" text,
"seasons" number,
"wins" number,
"losses" number,
"ties" number,
"pct" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which coach has the least number of ... |
### Context: CREATE TABLE table_37085 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country does Round 4 come from?
### Query: SELECT "Nat... |
### Context: CREATE TABLE table_name_58 (
lost INTEGER,
points VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number lost with more than 29 points and an against less than 19?
### Query: SELECT MAX(lost) FROM table_n... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE proc... |
### Context: CREATE TABLE table_12668 (
"Rank" real,
"Result" text,
"Wind" text,
"Athlete" text,
"Date" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Wind has a Result of 21.69?
### Query: SELECT "Wind" FROM table... |
### 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_69615 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total of Gay Brewer from the United States with a to par of 9?
### ... |
### Context: CREATE TABLE table_50328 (
"Season" text,
"North" text,
"South" text,
"East" text,
"West" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was west when ev f rstenfeldbruck was south?
### Query: SELECT "West" FROM table_50328 WHERE ... |
### Context: CREATE TABLE table_name_25 (
score VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the 1998 FIFA World Cup qualification competition?
### Query: SELECT score FROM table_name_25 WHERE competition = "1998... |
### Context: CREATE TABLE table_31144 (
"Season" real,
"Winner" text,
"Runner-up" text,
"Third place" text,
"Fourth place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons did Otsuka Pharmaceuticals come in third?
### Query: SELECT C... |
### 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_33041 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance of the game on December 11, 2005?
### Query: SELECT "Attendance" F... |
### Context: CREATE TABLE table_name_42 (
author VARCHAR,
language VARCHAR,
book_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which author wrote Sironia, Texas in English?
### Query: SELECT author FROM table_name_42 WHERE language = "english" AN... |
### Context: CREATE TABLE table_69025 (
"Appearances" real,
"Team" text,
"Wins" real,
"Losses" real,
"Winning percentage" real,
"Season(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With Appearances larger than 1, what is the Wins for the R... |
### Context: CREATE TABLE organization_contact_individuals (
individual_id number,
organization_id number,
date_contact_from time,
date_contact_to time
)
CREATE TABLE services (
service_id number,
service_type_code text,
service_name text,
service_descriptio text
)
CREATE TABLE forms (... |
### Context: CREATE TABLE table_36176 (
"Character" text,
"Actor" text,
"Duration" text,
"Role" text,
"Appearances" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the duration for nickolas grace as the actor?
### Query: SELECT "Duration" FR... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE gwyjzb (
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 PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Te... |
### Context: CREATE TABLE table_45673 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?
... |
### Context: CREATE TABLE club (
club_id number,
name text,
region text,
start_year text
)
CREATE TABLE competition_result (
competition_id number,
club_id_1 number,
club_id_2 number,
score text
)
CREATE TABLE player (
player_id number,
name text,
position text,
club_id... |
### Context: CREATE TABLE table_name_22 (
to_par VARCHAR,
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of the player from the United States with a t6 place and a score of 70-73-68-73=284?
##... |
### Context: CREATE TABLE bridge (
architect_id int,
id int,
name text,
location text,
length_meters real,
length_feet real
)
CREATE TABLE architect (
id text,
name text,
nationality text,
gender text
)
CREATE TABLE mill (
architect_id int,
id int,
location text,
... |
### Context: CREATE TABLE table_name_65 (
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did carlton score while away?
### Query: SELECT away_team AS score FROM table_name_65 WHERE away_team = "carlton" |
### 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 locations (
LOCATION_ID ... |
### Context: CREATE TABLE table_48355 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the Results for 25,000 Attendance?
### Query: SELECT "Result" FROM table_48355 W... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE table_22660 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_14316 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the parter against Marin ili lovro Zo... |
### Context: CREATE TABLE table_203_308 (
id number,
"athlete" text,
"nation" text,
"olympics" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who has earned the most medals... |
### Context: CREATE TABLE table_29590 (
"Players" text,
"Games Won" real,
"Games Lost" real,
"Total points" real,
"Grand Average" text,
"Best Winning Average" text,
"Best Run" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- if the best run wa... |
### Context: CREATE TABLE table_name_30 (
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round's position is according to official website?
### Query: SELECT round FROM table_name_30 WHERE position = "according to official webs... |
### Context: CREATE TABLE table_28441 (
"Name" text,
"Original Club" text,
"Stadium" text,
"City" text,
"Country" text,
"Sport" text,
"Founded" real,
"Reason for foundation with source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ... |
### Context: CREATE TABLE table_name_51 (
laps VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps have a time/retired of +23.080?
### Query: SELECT laps FROM table_name_51 WHERE time_retired = "+23.080" |
### Context: CREATE TABLE table_39250 (
"Rank" real,
"Town" text,
"Population" real,
"Year" real,
"Borough" text,
"Definition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year is the highest one that has a Population larger than 13,012,... |
### Context: CREATE TABLE table_47315 (
"Title" text,
"Parent magazine" text,
"Magazine type" text,
"Frequency" text,
"First published" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency that the magazine issues that was first publ... |
### Context: CREATE TABLE table_47471 (
"Subclass" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the part 4 with *heguldun *febungun in part 3?
### Query:... |
### Context: CREATE TABLE school_performance (
School_Id int,
School_Year text,
Class_A text,
Class_AA text
)
CREATE TABLE school (
School_ID int,
School text,
Location text,
Enrollment real,
Founded real,
Denomination text,
Boys_or_Girls text,
Day_or_Boarding text,
... |
### 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 table_name_53 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Home Team is 'Luton Town'?
### Query: SELECT date FROM table_name_53 WHERE home_team = "luton town" |
### 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 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_name_86 (
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team score for South Melbourne?
### Query: SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne" |
### 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_19611 (
"Hand" text,
"1 credit" real,
"2 credits" real,
"3 credits" real,
"4 credits" real,
"5 credits" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least 2 credits for straight hand
### Query: SELECT ... |
### Context: CREATE TABLE table_name_14 (
location VARCHAR,
year VARCHAR,
second VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In years after 1999, what was the location where Anja Huber finished 2nd?
### Query: SELECT location FROM table_name_14 WHERE... |
### Context: CREATE TABLE table_18288 (
"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.
-- Who were the candidates in the Louisiana 4 district?
### Q... |
### Context: CREATE TABLE table_39245 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the leading scorer when the... |
### Context: CREATE TABLE table_60687 (
"Golden Rivers" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of wins for Quambatook when Against is less ... |
### Context: CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Faculty_Participates_in (
... |
### Context: CREATE TABLE table_11536 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player who went to Stanford?
### Query: SELECT "Player" ... |
### 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_9130 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of surface was played at the tournament in berlin?
#... |
### Context: CREATE TABLE table_72361 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many candidates were elected first in 1980?
### Query... |
### Context: CREATE TABLE film (
film_id number,
title text,
studio text,
director text,
gross_in_dollar number
)
CREATE TABLE market (
market_id number,
country text,
number_cities number
)
CREATE TABLE film_market_estimation (
estimation_id number,
low_estimate number,
hi... |
### Context: CREATE TABLE table_name_25 (
chassis VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chassis when the rank is 3rd?
### Query: SELECT chassis FROM table_name_25 WHERE rank = "3rd" |
### Context: CREATE TABLE table_name_65 (
tournament VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament has a Partner of tom gorman?
### Query: SELECT tournament FROM table_name_65 WHERE partner = "tom gorman" |
### Context: CREATE TABLE table_72711 (
"Season" real,
"Date" text,
"Location" text,
"Driver" text,
"Chassis" text,
"Engine" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine does Galles Racing use?
### Query: SELECT "... |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREAT... |
### 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 chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
... |
### Context: CREATE TABLE table_13780 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st leg when team 2 is Asil Lysi?
### Query: SELECT "1st leg" FROM table_13780 W... |
### Context: CREATE TABLE table_name_71 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for game number 30?
### Query: SELECT score FROM table_name_71 WHERE game = 30 |
### Context: CREATE TABLE table_55011 (
"Date" text,
"Ship" text,
"Type" text,
"Nationality" text,
"Tonnage GRT" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Ship of hallbjorg?
### Query: SELECT "Date" FROM table_55011 WHERE "Shi... |
### Context: CREATE TABLE table_67034 (
"Name" text,
"Species/Authority" text,
"Order" text,
"Family" text,
"Red List" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which family has a Name of humpback whale?
### Query: SELECT "Family" FROM table_6... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_42954 (
"Member state" text,
"Population millions" real,
"MEPs" real,
"Inhabitants per MEP" real,
"Influence" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest population in millions that has inhabitan... |
### 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 employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER va... |
### Context: CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE advisor (
s_ID varchar(5),
i_ID varchar(5)
)
CREATE ... |
### Context: CREATE TABLE table_59618 (
"Combined" text,
"50 yard Freestyle" text,
"100 yard Freestyle" text,
"200 yard Freestyle" text,
"500 yard Freestyle" text,
"100 yard Backstroke" text,
"100 yard Butterfly" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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(1... |
### Context: CREATE TABLE table_51500 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does gerald carter play?
### Query: SELECT "Position" FROM table_51500 WHERE "P... |
### Context: CREATE TABLE table_name_92 (
district VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district has an incumbent of Sanford Bishop?
### Query: SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop" |
### 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_203_835 (
id number,
"season" text,
"club" text,
"country" text,
"competition" text,
"apps." number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country has the least amount of total goals ?... |
### Context: CREATE TABLE table_1341663_33 (
district VARCHAR,
incumbent VARCHAR,
party VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1... |
### Context: CREATE TABLE party (
party_id number,
year number,
party text,
governor text,
lieutenant_governor text,
comptroller text,
attorney_general text,
us_senate text
)
CREATE TABLE election (
election_id number,
counties_represented text,
district number,
delegate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.