text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_9 (
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Date of december 29 has what visitor?
### Query: SELECT visitor FROM table_name_9 WHERE date = "december 29" |
### Context: CREATE TABLE table_name_59 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the away team score at Arden Street Oval?
### Query: SELECT away_team AS score FROM table_name_59 WHERE venue = "arden stre... |
### 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_7034 (
"Year" real,
"Production" text,
"Composer" text,
"Conductor" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Director John Ramster's Composer?
### Query: SELECT "Composer" FROM table_70... |
### 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_name_19 (
snatch INTEGER,
total__kg_ VARCHAR,
bodyweight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHTA IS THE SNATCH WITH A TOTAL OF LARGER THAN 318 KG AND BODY WEIGHT OF 84.15?
### Query: SELECT AVG(snatch) FROM ta... |
### Context: CREATE TABLE table_name_35 (
partial_failures INTEGER,
failures VARCHAR,
successes VARCHAR,
launches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of ... |
### Context: CREATE TABLE table_76528 (
"Poll Source" text,
"Sample Size" real,
"Margin of Error" real,
"Date" text,
"Democrat" text,
"Republican" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Democrat was selected in the poll with a samp... |
### Context: CREATE TABLE table_name_92 (
finish VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the player who won in 1965 finish?
### Query: SELECT finish FROM table_name_92 WHERE year_s__won = "1965" |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_73 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game when the record was 50-85?
### Query: SELECT score FROM table_name_73 WHERE record = "50-85" |
### Context: CREATE TABLE table_name_76 (
name VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name for 1997 99?
### Query: SELECT name FROM table_name_76 WHERE year = "1997–99" |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDat... |
### Context: CREATE TABLE table_name_85 (
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid has a Driver of johnny dumfries?
### Query: SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries" |
### Context: CREATE TABLE table_204_246 (
id number,
"department" text,
"total deputies" number,
"uninominal deputies" number,
"plurinominal deputies" number,
"special indigenous\nor campesino deputies" number,
"senators" number
)
-- Using valid SQLite, answer the following questions for t... |
### 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 jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_58525 (
"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 date was the venue at VFL park... |
### Context: CREATE TABLE table_204_550 (
id number,
"event" text,
"record" text,
"athlete" text,
"date" text,
"meet" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first athlete in teh 100m event ?
### Query: SELE... |
### Context: CREATE TABLE Staff (
staff_id INTEGER,
staff_name VARCHAR(255),
gender VARCHAR(1),
other_staff_details VARCHAR(255)
)
CREATE TABLE Part_Faults (
part_fault_id INTEGER,
part_id INTEGER,
fault_short_name VARCHAR(20),
fault_description VARCHAR(255),
other_fault_details VAR... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year t... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### Context: CREATE TABLE table_name_31 (
round VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the round when nueza silva played against greece?
### Query: SELECT round FROM table_name_31 WHERE against = "greece" |
### 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_56 (
hanja VARCHAR,
mccune_reischauer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hanja for McCune-Reischauer of ch n?
### Query: SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn" |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_95 (
high_points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the High points with a Team with boston?
### Query: SELECT high_points FROM table_name_95 WHERE team = "boston" |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes numb... |
### Context: CREATE TABLE table_28785738_1 (
director VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed episode 11 of the season?
### Query: SELECT director FROM table_28785738_1 WHERE no_in_season = 11 |
### Context: CREATE TABLE table_1342013_34 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the result with incumbent being william h. ayres
### Query: SELECT result FROM table_1342013_34 WHERE incumbent = "William H. Ayres" |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE microlab... |
### Context: CREATE TABLE table_name_98 (
label VARCHAR,
date VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label from 1973 that has a catalog number of l 35023?
### Query: SELECT label FROM table_name_98 WHERE date = "1973... |
### Context: CREATE TABLE table_name_11 (
winner VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner of the European Poker Tour Grand Final?
### Query: SELECT winner FROM table_name_11 WHERE event = "european poker tour grand fin... |
### Context: CREATE TABLE table_name_10 (
visiting_team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the visiting team on october 23?
### Query: SELECT visiting_team FROM table_name_10 WHERE date = "october 23" |
### 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 job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_204_343 (
id number,
"nation" text,
"model" text,
"length" text,
"barrel length" text,
"weight" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country had the least number of models ?
### Query: SELECT "nat... |
### Context: CREATE TABLE table_21337 (
"Department" text,
"Projects" real,
"Municipalities" real,
"Farmers" real,
"Irrigated Ha" real,
"BID/PRONAR Investment (US$)" text,
"Local Investment (US$)" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE table_74004 (
"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.
-- Name the first elected for hosea moffitt (f) 57.9% josiah m... |
### Context: CREATE TABLE table_19930660_3 (
winner VARCHAR,
rufus_guest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the resulting score for the episodes where Rufus's guest is Sean Lock?
### Query: SELECT winner FROM table_19930660_3 WHERE rufus... |
### Context: CREATE TABLE Participants (
Participant_ID INTEGER,
Participant_Type_Code CHAR(15),
Participant_Details VARCHAR(255)
)
CREATE TABLE Events (
Event_ID INTEGER,
Service_ID INTEGER,
Event_Details VARCHAR(255)
)
CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHA... |
### Context: CREATE TABLE table_72681 (
"Player" text,
"G" real,
"Tackles" real,
"Solo" real,
"Assts" real,
"Sacks" text,
"Int" real,
"Int yards" real,
"Int avg." text,
"Int TD" real,
"Fum. rec" real,
"Fum. rec TD" real
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_49 (
year INTEGER,
quantity VARCHAR,
gwr_numbers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317 321, 324, 333?
### Query: SE... |
### Context: CREATE TABLE table_204_401 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"react" number,
"time" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the difference between yelizaveta b... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE table_5223 (
"Team" text,
"Copa Libertadores 1992" text,
"Supercopa Sudamericana 1992" text,
"Copa CONMEBOL 1992" text,
"Recopa Sudamericana 1992" text,
"Intercontinental Cup 1992" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE c... |
### Context: CREATE TABLE table_75047 (
"Stage" text,
"Time" text,
"Name" text,
"Length" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the stage with S. Loeb as the Winner with a Length of 13.04km and a Stage of S... |
### Context: CREATE TABLE table_14078 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the school located that has mustangs as a mascot?
... |
### Context: CREATE TABLE table_42818 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Away captain that played on 11,12,13 Aug 1902?
### Query: SELECT "Away c... |
### Context: CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_55249 (
"Year" text,
"President" text,
"Vice President" text,
"Gen.-Secretary" text,
"Treasurer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Vice President has a President of daniel masny, and a Treasurer of ... |
### Context: CREATE TABLE table_11019212_1 (
thursday VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the thursday time with location being hawthorne
### Query: SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne" |
### Context: CREATE TABLE supplier_addresses (
supplier_id number,
address_id number,
date_from time,
date_to time
)
CREATE TABLE department_store_chain (
dept_store_chain_id number,
dept_store_chain_name text
)
CREATE TABLE products (
product_id number,
product_type_code text,
pro... |
### Context: CREATE TABLE table_50547 (
"Team" text,
"Chassis" text,
"Engine" text,
"Tire" text,
"Sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Chassis of the Honda Engine with a Motorola sponsor?
### Query: SELECT "Chassis" F... |
### Context: CREATE TABLE table_1510519_1 (
number_of_seasons_in_top_division VARCHAR,
position_in_2012_13 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons in the top division for the team that finished 005 5th in 2012-2013
### Query: SELECT ... |
### Context: CREATE TABLE table_67986 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A ferrari flat-12 engine with more than 1 point has what kind of chassis?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_15 (
lost INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of losses for Quetta Zorawar?
### Query: SELECT MAX(lost) FROM table_name_15 WHERE team = "quetta zorawar" |
### Context: CREATE TABLE table_name_67 (
description VARCHAR,
year_of_issue VARCHAR,
weight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?
### Query: SELECT description FROM tabl... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE... |
### Context: CREATE TABLE table_1708014_1 (
top_5 INTEGER,
top_10 VARCHAR,
team_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For team #40 chip ganassi racing which top 5 is the highest where top 10 is 5?
### Query: SELECT MAX(top_5) FROM table_1708... |
### Context: CREATE TABLE table_75627 (
"County" text,
"Per capita income" text,
"Median household income" text,
"Median family income" text,
"Population" real,
"Number of households" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What County ha... |
### Context: CREATE TABLE ROLES (
role_description VARCHAR,
role_code VARCHAR
)
CREATE TABLE Employees (
role_code VARCHAR,
employee_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the role of the employee named Koby?
### Query: SELECT ... |
### Context: CREATE TABLE Documents_with_expenses (
document_id VARCHAR,
budget_type_code VARCHAR
)
CREATE TABLE Ref_budget_codes (
budget_type_code VARCHAR,
budget_type_description VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the budget type... |
### Context: CREATE TABLE table_60743 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the Izmir Cup in which lhan played against Somdev Devva... |
### Context: CREATE TABLE table_204_724 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents in the final" text,
"score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
... |
### Context: CREATE TABLE table_54954 (
"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 score for the home tea... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_36299 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has 63 points?
### Query: SELECT "Opponent" FROM table_36299... |
### Context: CREATE TABLE table_name_33 (
visitor VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visiting team when Winnipeg was the home team?
### Query: SELECT visitor FROM table_name_33 WHERE home = "winnipeg" |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE cost (
... |
### 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 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 music_festival (
ID int,
Music_Festival text,
Date_of_ceremony text,
Category text,
Volume int,
Result text
)
CREATE TABLE artist (
Artist_ID int,
Artist text,
Age int,
Famous_Title text,
Famous_Release_date text
)
CREATE TABLE volume (
Volume_... |
### Context: CREATE TABLE table_29228 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was pick # 54?
### Query: SELECT "Position" FROM table_29228 WHERE "Pick ... |
### 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_jyjgzbb (
JYZB... |
### 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 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 university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE table_1342359_15 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are the candidates with district being kansas 4
### Query: SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 4" |
### Context: CREATE TABLE table_65353 (
"Draw" real,
"Language" text,
"Artist" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average draw when the place is 5 and points more than 15?
### Query: SELECT AVG("... |
### Context: CREATE TABLE table_name_72 (
score VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total score for the 36 arrow finals event?
### Query: SELECT COUNT(score) FROM table_name_72 WHERE event = "36 arrow finals" |
### 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 table_name_30 (
royal_house VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Royal house has a name of ding?
### Query: SELECT royal_house FROM table_name_30 WHERE name = "ding" |
### Context: CREATE TABLE table_204_570 (
id number,
"rank" number,
"mountain" text,
"height (m)" number,
"height (ft)" number,
"range" text,
"coordinates" text,
"prominence (m)" number,
"parent mountain" text,
"first ascent" number,
"ascents (failed attempts) bef.2004" text
... |
### Context: CREATE TABLE table_name_4 (
glyph INTEGER,
hexadecimal VARCHAR,
binary VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000?
### Query: SELECT SUM(glyph) FROM table_... |
### Context: CREATE TABLE table_13170 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHat status had an against larger than 6 and a date of 01/02/1975?
### Query: SELECT "... |
### Context: CREATE TABLE table_75061 (
"Team" text,
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text,
"Week 6" text,
"Week 7" text,
"Week 8 Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team... |
### Context: CREATE TABLE county_public_safety (
County_ID int,
Name text,
Population int,
Police_officers int,
Residents_per_officer int,
Case_burden int,
Crime_rate real,
Police_force text,
Location text
)
CREATE TABLE city (
City_ID int,
County_ID int,
Name text,
... |
### Context: CREATE TABLE table_name_89 (
loser VARCHAR,
date VARCHAR,
location VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?
### Query... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE comment_instructor (
instruct... |
### Context: CREATE TABLE table_31230 (
"Seed" real,
"Rank" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed in new ... |
### 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_5969 (
"Round" real,
"Club" text,
"Home" text,
"Away" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is NK Rijeka's away score?
### Query: SELECT "Away" FROM table_5969 WHERE "Club" = 'nk rijek... |
### 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 table_75977 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Tries For" text,
"Tries Against" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_name_19 (
time VARCHAR,
name VARCHAR,
lane VARCHAR,
heat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
### Query: SELECT time FROM tab... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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,
JZZ... |
### Context: CREATE TABLE table_15617 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record has an Attendance larger than 12,552, and a Score of 7-0?
#... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.