text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_50 (
score VARCHAR,
december INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- after december 29 what is the score?
### Query: SELECT score FROM table_name_50 WHERE december > 29 |
### 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 captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_59139 (
"Statistic" text,
"Name" text,
"Total" text,
"School" text,
"Opponent" text,
"Stage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a statistic of most points, what is the stage?
### Query: SELECT "S... |
### 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 table_2361911_2 (
regular_season VARCHAR,
playoffs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the regular season for final playoffs
### Query: SELECT regular_season FROM table_2361911_2 WHERE playoffs = "Final" |
### 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 PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS v... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUs... |
### Context: CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
)
CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
... |
### Context: CREATE TABLE county (
County_name VARCHAR,
Population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return the names of all counties sorted by population in ascending order.
### Query: SELECT County_name FROM county ORDER BY Population |
### Context: CREATE TABLE table_2764267_2 (
country VARCHAR,
currency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the country for the us dollar
### Query: SELECT country FROM table_2764267_2 WHERE currency = "US dollar" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_26748252_1 (
written_by VARCHAR,
us_viewers__in_millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people wrote the episode with 3.40 million U.S viewers?
### Query: SELECT COUNT(written_by) FROM table_26748252... |
### Context: CREATE TABLE film_text (
film_id number,
title text,
description text
)
CREATE TABLE language (
language_id number,
name text,
last_update time
)
CREATE TABLE film_category (
film_id number,
category_id number,
last_update time
)
CREATE TABLE payment (
payment_id ... |
### Context: CREATE TABLE table_name_19 (
film VARCHAR,
winner_nominee_s_ VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film was Eddie Murphy nominated for?
### Query: SELECT film FROM table_name_19 WHERE winner_nominee_s_ = "eddi... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_203_775 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games had at least 10,000 people in att... |
### Context: CREATE TABLE table_49380 (
"Result" text,
"Race" text,
"Distance" text,
"Weight" real,
"Winner or 2nd" text,
"Pos'n" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winner or 2nd of the race with a 2nd pos'n and a weight ... |
### Context: CREATE TABLE table_38649 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2010 has a Tournament of australian open... |
### 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 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 Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_41 (
votes VARCHAR,
candidate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Candidate of riikka manner has how many votes?
### Query: SELECT votes FROM table_name_41 WHERE candidate = "riikka manner" |
### Context: CREATE TABLE table_37847 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has boston as the visitor?
### Query: SELECT "Date" FROM table_37847 WHERE "Visitor" =... |
### Context: CREATE TABLE table_66278 (
"Date Released" text,
"Polling institute" text,
"Social Democratic" text,
"Socialist" text,
"Green-Communist" text,
"People's Party" text,
"Left Bloc" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### 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_25708 (
"Date" text,
"Location" text,
"Opponent" text,
"Cardinal Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the cardinal points for 19-4 record
### Query: SELEC... |
### Context: CREATE TABLE table_name_8 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place had a score of 71-70=141?
### Query: SELECT place FROM table_name_8 WHERE score = 71 - 70 = 141 |
### 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_20332 (
"No." real,
"Name" text,
"Livery" text,
"Locomotive type" text,
"Wheel Arrangement" text,
"Builder" text,
"Year built" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which locomotive... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGui... |
### Context: CREATE TABLE table_19833 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_87 (
date VARCHAR,
opponent VARCHAR,
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game held at the A venue with a result of 0-1 against the Rangers?
### Query: SEL... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE payments (
payment_date VARCHAR,
amount_paid VARCHAR,
payment_type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check
###... |
### Context: CREATE TABLE table_name_38 (
college_junior_club_team__league_ VARCHAR,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What League's Round is Sup and Position is Right Wing?
### Query: SELECT college_junior_club_team... |
### Context: CREATE TABLE table_39607 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a 2007 of wta premier 5 t... |
### Context: CREATE TABLE table_21977704_1 (
constructor VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the constructor for alberto ascari
### Query: SELECT constructor FROM table_21977704_1 WHERE driver = "Alberto Ascari" |
### Context: CREATE TABLE table_1990460_1 (
year VARCHAR,
regular_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the 4th, Midwest season happen?
### Query: SELECT year FROM table_1990460_1 WHERE regular_season = "4th, Midwest" |
### Context: CREATE TABLE table_59411 (
"Date" text,
"Opponent" text,
"Score" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score on April 5?
### Query: SELECT "Score" FROM table_5... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_78 (
year VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have a Title of Magia Nuda?
### Query: SELECT COUNT(year) FROM table_name_78 WHERE title = "magia nuda" |
### Context: CREATE TABLE table_204_223 (
id number,
"party" text,
"previous council" number,
"staying councillors" number,
"seats up for election" number,
"election result" number,
"new council" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_73 (
points INTEGER,
game VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have a Game smaller than 8, and a Record of 1 0 0?
### Query: SELECT SUM(points) FROM table_name_73 WHERE game < 8... |
### Context: CREATE TABLE table_23406 (
"Season" text,
"Player" text,
"Junior college" text,
"State" text,
"Position" text,
"Class" text,
"University" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which class is the position forward
###... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_name_1 (
last_aired INTEGER,
returning VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest aired show that's returning on September 13?
### Query: SELECT MIN(last_aired) FROM table_name_1 WHERE returning = "s... |
### Context: CREATE TABLE table_804 (
"Game" real,
"Date" text,
"Team" 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 above.... |
### 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_65208 (
"Period" text,
"Team" text,
"Player" text,
"Penalty" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time does Dustin Byfuglien have in 1st period?
### Query: SELECT "Time" FROM table_65208 W... |
### Context: CREATE TABLE table_72714 (
"City/town" text,
"Municipality" text,
"County" text,
"City/town status" real,
"Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which municipalities located in the county of Finnmark have population... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
even... |
### 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_items (
row_id number,
itemid number,
label text,
linksto text
)
CRE... |
### Context: CREATE TABLE table_67450 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in week 12?
### Query: SELECT "Opponent" FROM table_67450 WHERE "Week... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_39901 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did they play at Candlestick Park?
### Query... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
... |
### Context: CREATE TABLE table_37841 (
"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
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_name_90 (
wins INTEGER,
starts VARCHAR,
avg_finish VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in 1990, how many wins had an avg finish of 35 and a start less than 1?
### Query: SELECT MAX(wins) FROM ... |
### Context: CREATE TABLE table_34815 (
"Office" text,
"Republican ticket" text,
"Democratic ticket" text,
"Liberal ticket" text,
"Independent-Socialist ticket" text,
"Socialist Labor ticket" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wa... |
### Context: CREATE TABLE table_14095 (
"Club" text,
"League/Division" text,
"Home Ground" text,
"Location" text,
"Position in 2012-13" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location for a club of telecom?
### Query: SELECT "Lo... |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description 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_cos... |
### Context: CREATE TABLE table_39861 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Scott Hoch (2) win?
### Query:... |
### Context: CREATE TABLE table_name_16 (
record VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record of the game where the Rockets were the visiting team?
### Query: SELECT record FROM table_name_16 WHERE visitor = "rockets" |
### Context: CREATE TABLE table_24887326_6 (
away_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the away team for tie no 11?
### Query: SELECT away_team FROM table_24887326_6 WHERE tie_no = 11 |
### Context: CREATE TABLE table_21411 (
"Season" real,
"TV season" text,
"Regular Timeslot (EDT)" text,
"Episode count" real,
"Season premiere" text,
"Season finale" text,
"Rank" text,
"Rating" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### 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 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 table_49080 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the Final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament did Pemra zgen play against julia kimmel... |
### 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 Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
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 Has_Allergy (
... |
### 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 staff (
staff_id number,
staff_address_id number,
nickname text,
first_name text,
middle_name text,
last_name text,
date_of_birth time,
date_joined_staff time,
date_left_staff time
)
CREATE TABLE vehicles (
vehicle_id number,
vehicle_details text
)
... |
### Context: CREATE TABLE table_75991 (
"Source" text,
"Date" text,
"Goberman" text,
"Loera" text,
"Merkley" text,
"Neville" text,
"Novick" text,
"Obrist" text,
"Other/ Undecided" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ... |
### Context: CREATE TABLE table_74820 (
"Rank" real,
"Name" text,
"Location" text,
"Height Metres / feet" text,
"Floors" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Floors have a Location of ljubljana, and a Name of tr3?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_38 (
school_club_team VARCHAR,
round VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?
### Query... |
### Context: CREATE TABLE table_203_471 (
id number,
"#" number,
"date" text,
"opponent" text,
"score" text,
"site/stadium" text,
"win" text,
"loss" text,
"save" text,
"attendance" number,
"overall record" text,
"ncaat record" text
)
-- Using valid SQLite, answer the fo... |
### 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_48153 (
"!Simple Present/Future" text,
"Probable Future" text,
"Simple Past" text,
"Past Habitual" text,
"Injunctive" text,
"Imperative" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the injunctive for th... |
### Context: CREATE TABLE table_72123 (
"Region" text,
"Operator" text,
"Licence award date" text,
"On air date" text,
"Closure date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the license award date for North East England?
### Query: S... |
### Context: CREATE TABLE table_250230_2 (
gearbox VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gearbox when the torque is torque?
### Query: SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque" |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
Creatio... |
### Context: CREATE TABLE table_19789597_6 (
game INTEGER,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest number of a game where S. Johnson (3) did the most high assists?
### Query: SELECT MIN(game) FROM table_19789597_6 WHERE... |
### Context: CREATE TABLE table_name_94 (
competition_description VARCHAR,
rank_qualifying VARCHAR,
apparatus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition had a Rank-Qualifying of 1st and a ball apparatus?
### Query: SELECT competitio... |
### Context: CREATE TABLE table_73097 (
"District" text,
"Location" text,
"Representative" text,
"Cook PVI" text,
"2012 election results" text,
"Median household income (2011)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location ... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRS... |
### Context: CREATE TABLE table_name_42 (
winning_team VARCHAR,
site VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which winning team has Iowa city as the site, and december 3, 2006 as the date?
### Query: SELECT winning_team FROM table_n... |
### Context: CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
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,
XL... |
### 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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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,
I... |
### 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_80378 (
"Rank" text,
"Goals" text,
"Player" text,
"Club/Clubs" text,
"Career" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has 1299 goals?
### Query: SELECT "Player" FROM table_80378 WHERE "Goals" = '1... |
### Context: CREATE TABLE table_2402209_1 (
no_of_barangays VARCHAR,
population__2010_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?
### Query:... |
### 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 table_38523 (
"Round" text,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a nationality of Czech Republic and a position of ri... |
### Context: CREATE TABLE table_name_23 (
grand_prix VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Grand Prix for pole position of kimi r ikk nen
### Query: SELECT grand_prix FROM table_name_23 WHERE pole_position = "kimi rä... |
### Context: CREATE TABLE table_40967 (
"Average population (x 1000)" real,
"Live births" real,
"Deaths" real,
"Natural change" real,
"Crude birth rate (per 1000)" real,
"Crude death rate (per 1000)" real,
"Natural change (per 1000)" real
)
-- Using valid SQLite, answer the following quest... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.