text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE grapes (
id number,
grape text,
color text
)
CREATE TABLE wine (
no number,
grape text,
winery text,
appelation text,
state text,
name text,
year number,
price number,
score number,
cases number,
drink text
)
CREATE TABLE appellations (... |
### Context: CREATE TABLE table_name_74 (
surface VARCHAR,
opponents_in_the_final VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas ,... |
### Context: CREATE TABLE table_221 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver won at the Sachsenring circuit?
### Query: SELE... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE Invoices (
invoice_number INTEGER,
order_id INTEGER,
invoice_date DATETIME
)
CREATE TABLE Customers (
customer_id INTEGER,
customer_first_name VARCHAR(50),
customer_middle_initial VARCHAR(1),
customer_last_name VARCHAR(50),
gender VARCHAR(1),
email_address ... |
### Context: CREATE TABLE table_65952 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is Germany?
### Query: SELECT "Rank" FROM table_65952 WHERE "Country" = 'germany' |
### Context: CREATE TABLE table_name_8 (
races INTEGER,
poles VARCHAR,
fastest_laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of races when there was more than 1 pole, and the fastest number of laps was less than 4?
### Que... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines... |
### Context: CREATE TABLE table_37041 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the class with call sign of k220cp
### Query: SEL... |
### Context: CREATE TABLE table_name_60 (
region VARCHAR,
catalog__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region for the album with a catalog number of 7567-83061-2?
### Query: SELECT region FROM table_name_60 WHERE catalog__numbe... |
### 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_76164 (
"Rank" real,
"Company" text,
"Headquarters" text,
"Industry" text,
"Sales (billion $)" real,
"Profits (billion $)" real,
"Assets (billion $)" real,
"Market Value (billion $)" real
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
Number_city_affected real
)
CREATE TABLE region (
Region_id int,
Region_code text,
Region_name text
)
CREATE TABLE storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number... |
### Context: CREATE TABLE table_65252 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Status with an Against larger than 15?
### Query: SELECT "Status" FROM table_6... |
### Context: CREATE TABLE table_25401874_1 (
games_played VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games played catagories are there for Lauren McGee?
### Query: SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lau... |
### 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_name_6 (
event VARCHAR,
year VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Event, when Year is 2002, and when Competition is European Indoor Championships?
### Query: SELECT event FROM ta... |
### Context: CREATE TABLE table_28433 (
"Specimen weight/size" text,
"Calculated activity ( Bq )" real,
"Calculated activity ( Ci )" text,
"Estimated activity GR(api)" text,
"Estimated exposure ( mRem )/hr*" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_13658 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Start has a Qual of 207.590?
### Query: SELECT "Start" FROM table_13658 WHER... |
### Context: CREATE TABLE table_28243691_1 (
team_nickname VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mascot for texas tech university?
### Query: SELECT team_nickname FROM table_28243691_1 WHERE institution = "Texas Tec... |
### Context: CREATE TABLE table_31630 (
"Species" text,
"Lived when ( mya )" text,
"Lived where" text,
"Fossil record" text,
"Discovery / publication of name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the fossil record for name of 1994/... |
### Context: CREATE TABLE table_5791 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponents in the final has a Partnering of tom ... |
### Context: CREATE TABLE table_64338 (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which play was done by the Radu Stanca National Theatre company?
### Query: SELECT "play" FROM... |
### Context: CREATE TABLE competition_record (
Competition_ID int,
Farm_ID int,
Rank int
)
CREATE TABLE farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
Total_Cattle real,
Oxen real,
Bulls real,
Cows real,
Pigs real,
Sheep_and_Goats real
)
CREAT... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden b... |
### Context: CREATE TABLE table_27533 (
"Round" text,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the fastest lap for round ... |
### Context: CREATE TABLE table_75631 (
"Year" text,
"Name" text,
"Political affiliation" text,
"Deputy" text,
"Deputy's affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Year was james mcclure Deputy, and the Name is robert mcphearso... |
### Context: CREATE TABLE table_1341453_32 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party is Frank Lobiondo a member of?
### Query: SELECT party FROM table_1341453_32 WHERE incumbent = "Frank LoBiondo" |
### Context: CREATE TABLE table_73246 (
"Round #" real,
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What NFL team was the player with pick number 28 drafted to?
### Qu... |
### Context: CREATE TABLE table_70672 (
"Volume:Issue" text,
"Issue Date(s)" text,
"Weeks on Top" real,
"Song" text,
"Artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Issue Date(s) of Volume:Issue of 32:18-19?
### Query: SELECT "I... |
### Context: CREATE TABLE table_52587 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average grid with brm and under 63 laps?
### Query: SELECT AVG("Grid") FR... |
### Context: CREATE TABLE table_47295 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner when the Philadelphia eagles were the losers after 1958 at... |
### Context: CREATE TABLE table_name_2 (
date VARCHAR,
partner VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date had Alexander Krasnorutskiy as a partner with a score of 6 3, 4 6, 6 2?
### Query: SELECT date FROM table_name_2 WHERE... |
### Context: CREATE TABLE table_10582 (
"Name" text,
"City" text,
"Height feet/m" text,
"Year" real,
"Period" text,
"Surpassed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the height which has a surpassed by of book tower
### Quer... |
### Context: CREATE TABLE table_5704 (
"Year" real,
"League" text,
"Wins" real,
"Losses" real,
"Draws" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest points that has w-2 (w-league) as the league, and draws great... |
### Context: CREATE TABLE table_23274514_7 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for 17-32
### Query: SELECT date FROM table_23274514_7 WHERE record = "17-32" |
### Context: CREATE TABLE table_train_160 (
"id" int,
"alt" float,
"systolic_blood_pressure_sbp" int,
"ast" float,
"platelet_count" float,
"diastolic_blood_pressure_dbp" int,
"serum_creatinine" float,
"triglyceride_tg" float,
"hypertension" bool,
"NOUSE" float
)
-- Using valid ... |
### Context: CREATE TABLE addresses (
address_id number,
address_content text,
city text,
zip_postcode text,
state_province_county text,
country text,
other_address_details text
)
CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE order_items (
order... |
### Context: CREATE TABLE table_69906 (
"Kanji" text,
"Name" text,
"Builder" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the completed date of ?
### Query: SELECT "Completed" FROM ... |
### Context: CREATE TABLE table_name_54 (
current_car VARCHAR,
number_of_cars VARCHAR,
year_started VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Current car has a Number of cars of 1, and a Year started of 1999?
### Query: SELECT current_car FRO... |
### 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_52 (
pos VARCHAR,
team VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the driver from Audi Sport North America finish in the race after 2008?
### Query: SELECT pos FROM table_name_52 W... |
### Context: CREATE TABLE document_types (
document_type_code text,
document_description text
)
CREATE TABLE tasks (
task_id number,
project_id number,
task_details text,
eg agree objectives text
)
CREATE TABLE research_staff (
staff_id number,
employer_organisation_id number,
staf... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid... |
### Context: CREATE TABLE table_28898974_3 (
date VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When edward shaw is the winner what is the date?
### Query: SELECT date FROM table_28898974_3 WHERE winner = "Edward Shaw" |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
item... |
### Context: CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr nume... |
### Context: CREATE TABLE table_26145 (
"Code name" text,
"Market name" text,
"Platform" text,
"Release date" text,
"Android version" text,
"System on chip" text,
"RAM" text,
"ROM" text,
"Display" text,
"Weight" text,
"Battery ( mAh )" real,
"Bluetooth" text,
"Wi-Fi" ... |
### Context: CREATE TABLE table_39091 (
"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_48335 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the players that placed t2?
### Query: SELECT "Player" FROM table_48335 WHERE "Place"... |
### Context: CREATE TABLE table_name_1 (
ofsted VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values for Ofsted occurr at Chowbent Primary School?
### Query: SELECT COUNT(ofsted) FROM table_name_1 WHERE school = "chowbent primary s... |
### Context: CREATE TABLE table_name_15 (
races VARCHAR,
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Races when there were more than 8 wins?
### Query: SELECT COUNT(races) FROM table_name_15 WHERE wins > 8 |
### 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_52413 (
"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 schedule (
title VARCHAR,
directed_by VARCHAR,
film_id VARCHAR
)
CREATE TABLE film (
title VARCHAR,
directed_by VARCHAR,
film_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the title and director of the ... |
### 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.
-- how long is the aspect ?
### Query: SELECT "length" FROM table_203_42 WH... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
... |
### Context: CREATE TABLE table_name_81 (
decision VARCHAR,
home VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who made the decision when detroit was the home team and boston was the visitor?
### Query: SELECT decision FROM table_name_... |
### Context: CREATE TABLE table_72789 (
"Morse Taper number" real,
"Taper" text,
"A" text,
"B (max)" text,
"C (max)" text,
"D (max)" text,
"E (max)" text,
"F" real,
"G" text,
"H" text,
"J" text,
"K" text
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE table_name_70 (
points INTEGER,
engine VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most points when Maserati made the engine, and a Entrant of owen racing organisation?
### Query: SELECT MAX(poin... |
### Context: CREATE TABLE table_name_94 (
home VARCHAR,
away VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home with an Away that is toronto rebels?
### Query: SELECT home FROM table_name_94 WHERE away = "toronto rebels" |
### 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 courses (
course_id number,
author_id number,
subject_id number,
course_name text,
course_description text
)
CREATE TABLE subjects (
subject_id number,
subject_name text
)
CREATE TABLE students (
student_id number,
date_of_registration time,
date_of_la... |
### Context: CREATE TABLE table_name_32 (
removal_treaty__year_signed_ VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which removal treaty covered the chickasaw nation?
### Query: SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE ... |
### Context: CREATE TABLE table_203_724 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many nations won at least 10 silver medals ?
##... |
### Context: CREATE TABLE table_203_699 (
id number,
"name" text,
"parentage" text,
"size" text,
"flower colour" text,
"flower type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- cornfish snow and cornfish spring are both what size ?
### Query... |
### Context: CREATE TABLE table_name_52 (
wins VARCHAR,
cuts_made VARCHAR,
top_10 VARCHAR,
events VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of wins that has a top-10 of 2, and more events than 8, more cuts than 6?
### Query: ... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
C... |
### Context: CREATE TABLE table_name_89 (
attendance VARCHAR,
guest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance of the game that had an away team of FK Mogren?
### Query: SELECT attendance FROM table_name_89 WHERE guest = "fk mogr... |
### 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_203_117 (
id number,
"region/country" text,
"1882-\n1918" number,
"1919-\n1948" number,
"1948-\n1951" number,
"1952-\n1960" number,
"1961-\n1971" number,
"1972-\n1979" number,
"1980-\n1989" number,
"1990-\n2001" number,
"2002-\n2010" number,
... |
### Context: CREATE TABLE table_204_487 (
id number,
"home team" text,
"score" text,
"visiting team" text,
"location" text,
"venue" text,
"door" text,
"surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the surface at most ... |
### Context: CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME varchar(20),
CLASS_ROOM varchar(8),
PROF_NUM int
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_D... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionRea... |
### Context: CREATE TABLE table_663 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What epi... |
### Context: CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INTEGER,
Planned_Destruction_Date DATETIME,
Actual_Destruction_Date DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE All_Documents (
Document... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
P... |
### Context: CREATE TABLE table_name_48 (
score VARCHAR,
venue VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of the Friendly Competition in Manama, Bahrain?
### Query: SELECT score FROM table_name_48 WHERE ... |
### Context: CREATE TABLE table_name_70 (
population INTEGER,
area_km_2 VARCHAR,
status VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2... |
### 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 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 Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
Creation... |
### Context: CREATE TABLE Office_locations (
building_id int,
company_id int,
move_in_year int
)
CREATE TABLE Companies (
id int,
name text,
Headquarters text,
Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_Value_billion text
)
CREATE T... |
### Context: CREATE TABLE table_25724294_2 (
field_goals INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many field goals did Walter Rheinschild have?
### Query: SELECT MAX(field_goals) FROM table_25724294_2 WHERE player = "Walter Rheinsc... |
### Context: CREATE TABLE table_34628 (
"Spacecraft" text,
"Destination" text,
"Launched" text,
"Closest approach" text,
"Time elapsed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With the Destination of Jupiter and the Closest approach of 4 Febr... |
### Context: CREATE TABLE table_name_63 (
gold INTEGER,
nation VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What average gold has China (chn) as the nation with a bronze greater than 1?
### Query: SELECT AVG(gold) FROM table_name_63 WH... |
### Context: CREATE TABLE table_22308881_2 (
in_county_tuition_per_credit_hour__fall_2009_ VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 200... |
### Context: CREATE TABLE table_15004 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nation when bronze is less than 4 and the total is more than 4
### Qu... |
### Context: CREATE TABLE table_64279 (
"Year" text,
"League" text,
"Position" text,
"Leading Scorer" text,
"FA Cup" text,
"FA Trophy" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the league when the fa cup is qr4 and the fa trophy is ... |
### Context: CREATE TABLE table_name_2 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the game with a Record of 5 4 3?
### Query: SELECT score FROM table_name_2 WHERE record = "5–4–3" |
### Context: CREATE TABLE table_203_789 (
id number,
"season" text,
"team" text,
"country" text,
"division" number,
"apps" number,
"goals" number,
"assists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team is in division 2 ?
#... |
### Context: CREATE TABLE table_name_20 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team of the Kidderminster Harriers Away game?
### Query: SELECT home_team FROM table_name_20 WHERE away_team = "kiddermins... |
### Context: CREATE TABLE table_8959 (
"Tournament" text,
"Country" text,
"Location" text,
"Began" real,
"Court surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tournament when the court surface is clay and began in 1892?
### Que... |
### Context: CREATE TABLE table_21690 (
"Athlete" text,
"Event" text,
"Round of 32" text,
"Round of 16" text,
"Quarterfinals" text,
"Semifinals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did Nabil Kassel face in the Round of 32?
### Qu... |
### 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 diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TAB... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE regions (
... |
### Context: CREATE TABLE table_19162 (
"School Name" text,
"City" text,
"Students" real,
"FTE Teachers" text,
"Pupil/Teacher Ratio" text,
"School Level" text,
"Low Grade" text,
"High Grade" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.