text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_7858 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"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 pro... |
### Context: CREATE TABLE table_65133 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's China's heat for Zhang Lin in a lane after 6?
### Query: SELECT SUM("Heat") FROM table_6... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE instructor (
... |
### Context: CREATE TABLE table_16225511_2 (
wins INTEGER,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the largest amount of wins Texas has?
### Query: SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas" |
### Context: CREATE TABLE table_10082596_1 (
founded VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many schools are in Bloomington, IN?
### Query: SELECT COUNT(founded) FROM table_10082596_1 WHERE location = "Bloomington, IN" |
### Context: CREATE TABLE table_name_31 (
venue VARCHAR,
founded VARCHAR,
sport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue was fouded before 2000 for basketball?
### Query: SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport =... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE gyb (
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_87 (
frequency INTEGER,
type VARCHAR,
brand VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Frequency, when Type is 'Norte o', and when Brand is 'La Cotorra'?
### Query: SELECT AVG(frequency) FROM ... |
### Context: CREATE TABLE table_22495 (
"Athlete" text,
"Class" text,
"Event" text,
"Round of 64" text,
"Round of 32" text,
"Round of 16" text,
"Quarterfinals" text,
"Semifinals" text,
"Final/ Bronze medal match" text
)
-- Using valid SQLite, answer the following questions for the ... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_51046 (
"Team" text,
"City" text,
"Total Seasons" real,
"Seasons" text,
"Highest League" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest league of the Nova Scotia Clippers with a total season of less... |
### Context: CREATE TABLE table_name_13 (
year INTEGER,
points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year with more than 0 points?
### Query: SELECT MAX(year) FROM table_name_13 WHERE points > 0 |
### Context: CREATE TABLE table_204_433 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who came in last ?
### Query: SELECT "name" FROM table_204_433 ORDER BY id DESC LIMIT 1 |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
A... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
K... |
### Context: CREATE TABLE review (
rid int,
business_id varchar,
user_id varchar,
rating float,
text longtext,
year int,
month varchar
)
CREATE TABLE neighborhood (
id int,
business_id varchar,
neighborhood_name varchar
)
CREATE TABLE user (
uid int,
user_id varchar,
... |
### Context: CREATE TABLE table_44301 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game that resulted in L 30-27?
### Query: SELECT "Date" FROM table_44301... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Users (
Id number,
Reputation number,
... |
### Context: CREATE TABLE table_name_46 (
country VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country in Kunlong in?
### Query: SELECT country FROM table_name_46 WHERE location = "kunlong" |
### Context: CREATE TABLE table_25557 (
"Engine" text,
"Crankshaft" text,
"Ignition timing" text,
"Graphical" text,
"Example" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When shinya nakano's kawasaki ninja zx-rr is the example what is the graphic... |
### Context: CREATE TABLE table_name_65 (
date VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Runner(s)-Up is 'Bo-Mee Lee'?
### Query: SELECT date FROM table_name_65 WHERE runner_s__up = "bo-mee lee" |
### Context: CREATE TABLE table_17071 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT POSITION DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY?
### Query: SELECT "Po... |
### 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_name_1 (
local_networked VARCHAR,
ad_freq VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the local/network with an Ad frequency of 15 minutes?
### Query: SELECT local_networked FROM table_name_1 WHERE ad_freq = "15 mi... |
### Context: CREATE TABLE table_33147 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team when the hom... |
### Context: CREATE TABLE table_66362 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Draws has Po... |
### Context: CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
Party int,
First_Elected real,
Committee text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE party (
Par... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_46305 (
"Season" text,
"Timeslot" text,
"Premiere" text,
"Finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people tuned in to the ... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel te... |
### Context: CREATE TABLE table_242785_3 (
main_legion_base VARCHAR,
date_disband VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the main legion base that disbanded 70 xx?
### Query: SELECT main_legion_base FROM table_242785_3 WHERE date_disband = "... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE table_25229283_4 (
points_for VARCHAR,
percentage___percentage_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many data are on points for if the percentage is 94.29?
### Query: SELECT COUNT(points_for) FROM table_25229283_4 WH... |
### Context: CREATE TABLE table_name_47 (
attendance VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the game of a.f.c. totton?
### Query: SELECT attendance FROM table_name_47 WHERE home_team = "a.f.c. totton" |
### 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_153 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Lowest" real,
"Highest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum capacity of Dundee United's stadium?
### Query: SELE... |
### Context: CREATE TABLE table_1341930_40 (
result VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for south carolina 4
### Query: SELECT result FROM table_1341930_40 WHERE district = "South Carolina 4" |
### Context: CREATE TABLE table_69706 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what date was giulia casoni the partner?
### Query: SELECT "Date" FRO... |
### Context: CREATE TABLE table_74134 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least amount of points?
### ... |
### Context: 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(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE countries (
... |
### Context: CREATE TABLE restaurant_type (
restypeid number,
restypename text,
restypedescription text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE type_of_restaurant (
... |
### Context: CREATE TABLE table_68761 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Surface of hardcourt, an Outcome of runner-up, a... |
### Context: CREATE TABLE table_71821 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the game in which the Jacksonville Jaguars were hosts, what was the name of ... |
### Context: CREATE TABLE table_68100 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year is that has a Entrant of belond equa-flow / calif. muffler?
### Query: SELECT "Ye... |
### Context: CREATE TABLE table_27441210_13 (
year VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the country Belgium?
### Query: SELECT COUNT(year) FROM table_27441210_13 WHERE country = "Belgium" |
### Context: CREATE TABLE table_32077 (
"Series #" real,
"Season #" real,
"Title" text,
"Original air date" text,
"Tape date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the highest series # for september 22, 1976
### Query: SELECT MAX("... |
### 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 table_name_9 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record for the game on April 9, 2008?
### Query: SELECT record FROM table_name_9 WHERE date = "april 9, 2008" |
### 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 table_name_12 (
gold INTEGER,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold have a silver of 1 and a bronze of 0?
### Query: SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze ... |
### Context: CREATE TABLE table_name_58 (
time VARCHAR,
ground VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time has humber college north as the ground, and toronto downtown dingos as the home?
### Query: SELECT time FROM table_name... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROV... |
### 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 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 ftxmzjzjlb (
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 tex... |
### Context: CREATE TABLE table_204_279 (
id number,
"name of place" text,
"number\nof\ncounties" number,
"principal\ncounty" text,
"zip code\nlower" number,
"zip code\nupper" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of ... |
### Context: CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE prescriptions (
row_id number,
subje... |
### Context: CREATE TABLE table_name_43 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which match had the largest crowd size where the away team was North Melbourne?
### Query: SELECT MAX(crowd) FROM table_name_43 WHERE away_team... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE... |
### Context: CREATE TABLE table_name_43 (
birth_state VARCHAR,
election_year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state was the president who was elected earlier than 1848 born in?
### Query: SELECT birth_state FROM table_name_43 WHERE electi... |
### Context: CREATE TABLE table_name_61 (
venue VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Venue which has a Score of 8 1?
### Query: SELECT venue FROM table_name_61 WHERE score = "8 – 1" |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2... |
### Context: CREATE TABLE table_name_46 (
agricultural_panel INTEGER,
industrial_and_commercial_panel INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Agricultural panels that have an Industrial and Commercial Panel smaller than 0?
### Quer... |
### Context: CREATE TABLE table_57597 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grid with a Toyota constructor and +1:09.718 as time/retired?
### Query: ... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE table_33384 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"2012 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2012 club for the Billy Miller Category:Articles with hcards (Name)?
### Query: S... |
### Context: CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
N... |
### 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 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_67494 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the draw in the 2005 FIFA Confederations Cup?
### Query: SELECT "Scor... |
### Context: CREATE TABLE team (
Team_id int,
Name text
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team int,
Draft_Pick_Number int,
Draft_Class text,
College text
)
CREATE TABLE player (
Player_ID int,
Player text,
Years_Play... |
### Context: CREATE TABLE table_20009 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"For" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ho... |
### Context: CREATE TABLE table_35177 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game before week 15 with the result of bye?
### Query: SELECT "Date" FROM tab... |
### Context: CREATE TABLE table_5830 (
"Week" text,
"Song choice" text,
"Theme" text,
"Performance Order" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the theme for week 3?
### Query: SELECT "Theme" FROM table_5830 WHERE "... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_45531 (
"Rank" real,
"City" text,
"Province" text,
"Date of Official Foundation of Municipality" real,
"2006" real,
"1996" real,
"1986" real,
"1976" real,
"1966" real,
"1956" real
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE table_35075 (
"Player" text,
"Played" real,
"Sets Won" real,
"Sets Lost" real,
"Legs Won" real,
"Legs Lost" real,
"100+" real,
"140+" real,
"180s" real,
"High Checkout" real,
"3-dart Average" real
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_73690 (
"Series #" real,
"Season #" text,
"Episode" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the amo... |
### Context: CREATE TABLE table_name_14 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of Game #4?
### Query: SELECT score FROM table_name_14 WHERE game = 4 |
### Context: CREATE TABLE table_name_41 (
proto_germanic VARCHAR,
german VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Proto Germanic when then German is /s/ or /ts/?
### Query: SELECT proto_germanic FROM table_name_41 WHERE german = "/s/ or /ts... |
### Context: CREATE TABLE table_name_40 (
gold INTEGER,
rank VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most gold when the rank is 7 and bronze is less than 0?
### Query: SELECT MAX(gold) FROM table_name_40 WHERE rank = "... |
### 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_68050 (
"Name" text,
"Years" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years does Kakahi school, with a decile of 3, have?
### Query: SELECT "Y... |
### Context: CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE author (
authorid int,
... |
### Context: CREATE TABLE table_38061 (
"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.
-- Which FCC info has a ERP W smaller than 222, and a Call... |
### Context: CREATE TABLE table_33909 (
"Tournament" text,
"2002" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_name_89 (
tongan VARCHAR,
north_marquesan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Tongan has a North Marquesan of /ha e/?
### Query: SELECT tongan FROM table_name_89 WHERE north_marquesan = "/haʔe/" |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
... |
### Context: CREATE TABLE table_name_87 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did Rich Manning play?
### Query: SELECT position FROM table_name_87 WHERE player = "rich manning" |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE transfers (... |
### Context: CREATE TABLE table_name_61 (
react INTEGER,
mark VARCHAR,
lane VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?
### Query: SELECT MIN(react) FROM table_name_61 ... |
### Context: CREATE TABLE table_42314 (
"Country" text,
"Automobile Name" text,
"Manufacturer" text,
"Engine Make/Capacity" text,
"Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the car that was made in the years 1956-1958?... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_name_76 (
game INTEGER,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a Score of 3 4?
### Query: SELECT MIN(game) FROM table_name_76 WHERE score = "3–4" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_1924975_1 (
q1_pos INTEGER,
q1_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the q1 time is 1:16.218 what is the highest q1 pos?
### Query: SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gende... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.