text stringlengths 197 8.39k |
|---|
### 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 table_69559 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Qual listed on the Year of 1954?
### Query: SELECT "Qual" FROM table_6... |
### Context: CREATE TABLE member (
member_id number,
member_name text,
party_id text,
in_office text
)
CREATE TABLE party_events (
event_id number,
event_name text,
party_id number,
member_in_charge_id number
)
CREATE TABLE region (
region_id number,
region_name text,
date ... |
### Context: CREATE TABLE table_8224 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most elevated Played that has a Lost smaller than 12, and a Name o... |
### Context: CREATE TABLE table_48609 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Position, when School/Club Team is McMaster?
### Query: SELECT "Position" F... |
### Context: CREATE TABLE table_68137 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for april 28
### Query: SELECT "Score" FROM table_68137 W... |
### Context: CREATE TABLE table_75801 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Location" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the dinosaur, whose notes are, 'n ornithischia of unc... |
### Context: CREATE TABLE table_203_359 (
id number,
"outcome" text,
"year" number,
"championship" text,
"surface" text,
"opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was roddick a runner up or winner more ?
### Qu... |
### Context: CREATE TABLE zyb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_name_20 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the score 5-31?
### Query: SELECT date FROM table_name_20 WHERE record = "5-31" |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback in... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### Context: CREATE TABLE table_name_63 (
bush_number INTEGER,
bush_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Bush#, when Bush% is '65.4%'?
### Query: SELECT MIN(bush_number) FROM table_name_63 WHERE bush_percentage = "65.... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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 te... |
### Context: CREATE TABLE table_49163 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jerry Barber's To par?
### Query: SELECT "To par" FROM table_49163 WHERE "Player" = '... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_1425 (
"#" real,
"Series Sorted" text,
"Title" text,
"Author" text,
"Doctor" text,
"Featuring" text,
"Released" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series was sorted at number 3?
### Query: SE... |
### Context: CREATE TABLE table_name_2 (
event VARCHAR,
snatch VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event has a 122.5 snatch rate?
### Query: SELECT event FROM table_name_2 WHERE snatch = 122.5 |
### Context: CREATE TABLE table_name_41 (
date VARCHAR,
surface VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the grass surface final against Nathan Healey?
### Query: SELECT date FROM table_name_41 W... |
### 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 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 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_54512 (
"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 attendance when Fitzro... |
### 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 aircraft (
aircraft_code varchar,
aircraft_description varchar... |
### Context: CREATE TABLE table_26282750_1 (
participants_recipients VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the participant or recipient for the Best Female Actor?
### Query: SELECT participants_recipients FROM table_262827... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### 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 table_22331 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Di Drew is the director, what was the ... |
### Context: CREATE TABLE table_61441 (
"Goalkeeper" text,
"Goals" real,
"Matches" real,
"Average" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest match for goals larger than 36?
### Query: SELECT MIN("Matches") FROM ... |
### 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_23717 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real,
"Others%" text,
"Others" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the county where McCain got... |
### Context: CREATE TABLE table_name_49 (
home_team VARCHAR,
date VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Home Team, when Date is '6 December 1986', and when Tie No is '4'?
### Query: SELECT home_team FROM table_name_49 WH... |
### Context: CREATE TABLE table_68347 (
"Round" text,
"Kick Off" text,
"Opponents" text,
"H / A" text,
"Result" text,
"Attendance" real,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for an H/A of H and a round v... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POS... |
### Context: CREATE TABLE table_name_33 (
opponent VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Game of 63?
### Query: SELECT opponent FROM table_name_33 WHERE game = 63 |
### Context: CREATE TABLE Department (
DepartmentID INTEGER,
Name VARCHAR(30),
Head INTEGER
)
CREATE TABLE Block (
BlockFloor INTEGER,
BlockCode INTEGER
)
CREATE TABLE Room (
RoomNumber INTEGER,
RoomType VARCHAR(30),
BlockFloor INTEGER,
BlockCode INTEGER,
Unavailable BOOLEAN
)
... |
### Context: CREATE TABLE table_57920 (
"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.
-- What driver won in the xv grand prix de l'albigeois in a ve... |
### Context: CREATE TABLE table_78021 (
"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 venue had footscray play at it... |
### Context: CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT... |
### Context: CREATE TABLE table_29196086_4 (
no_in_series VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes originally aired january19,2013
### Query: SELECT COUNT(no_in_series) FROM table_29196086_4 WHERE original_... |
### Context: CREATE TABLE table_58269 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series score of the game on April 16?
### Query: SELECT "Series" FROM table_58269 WH... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime tim... |
### Context: CREATE TABLE table_22867 (
"Position" real,
"Club" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Pts For" real,
"Pts Agst" real,
"Pts Diff" real,
"B.P." real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_98 (
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did fitzroy score at their home game?
### Query: SELECT home_team AS score FROM table_name_98 WHERE home_team = "fitzroy" |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
l... |
### Context: CREATE TABLE table_39991 (
"Gill" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Diameter (mi)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Diameter (mi) when the Longitude is 79.8 e?
### Query: SELECT "... |
### Context: CREATE TABLE table_63205 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when york city was the home team?
### Query: SELECT "Score" FROM table_... |
### Context: 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE buildings (
id number,
name text,
city text,
height number,
stories number,
status text
)
CREATE TABLE office_locations (
building_id number,
company_id number,
move_in_year number
)
CREATE TABLE companies (
id number,
name text,
headquarters t... |
### Context: CREATE TABLE table_name_33 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
### Query: SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments" |
### Context: CREATE TABLE table_18237 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the candidate in the Virginia 3 district election?
... |
### Context: CREATE TABLE table_203_407 (
id number,
"name" text,
"party" text,
"province" text,
"term expires" number,
"years in office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of people in the liberal party ?
### Que... |
### Context: CREATE TABLE table_3198 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the candidates for first elected being 1976
### Query:... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_name_24 (
year__ceremony_ VARCHAR,
result VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year when not nominated was the result, and In the Navel of the Sea was the film t... |
### Context: CREATE TABLE table_72252 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_72552 (
"Rank" real,
"Place" text,
"County" text,
"Per Capita Income" text,
"Median House- hold Income" text,
"Population" real,
"Number of Households" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which plac... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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),
... |
### Context: CREATE TABLE instructor (
id text,
name text,
dept_name text,
salary number
)
CREATE TABLE section (
course_id text,
sec_id text,
semester text,
year number,
building text,
room_number text,
time_slot_id text
)
CREATE TABLE classroom (
building text,
ro... |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE club (
clubid number,
clubname text,
clubdesc text,
clublocation text
)
CREATE TABLE member_of_club (
stuid nu... |
### Context: CREATE TABLE table_name_93 (
year INTEGER,
competition VARCHAR,
category VARCHAR,
beer_name VARCHAR,
prize VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did maggs magnificent mild win a gold medal in the mild and porter ca... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME ... |
### Context: CREATE TABLE table_name_93 (
year INTEGER,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year that has far cry vengeance as the title?
### Query: SELECT AVG(year) FROM table_name_93 WHERE title = "far cry vengeance" |
### Context: CREATE TABLE table_name_33 (
wins INTEGER,
losses VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the wins when there are 5 losses, and against is more than 1205?
### Query: SELECT MAX(wins) FROM table_name_33 WHERE ... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
Ta... |
### Context: CREATE TABLE table_7349 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which final score had a surface of hard (i) ... |
### 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 patient ... |
### Context: CREATE TABLE table_27137 (
"Round" text,
"Circuit" text,
"Date" text,
"Class A Winner" text,
"Class B Winner" text,
"Class C Winner" text,
"Class D Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the circuit in r... |
### Context: CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
)
CREATE TABLE election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_name_67 (
driver_s VARCHAR,
race_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the III Coppa Acerbo title?
### Query: SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo" |
### Context: CREATE TABLE table_62072 (
"Tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_55296 (
"Grid" real,
"Driver" text,
"Constructor" text,
"Qual" real,
"Rank" real,
"Laps" real,
"Time/Retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the total number of rank for Grid less than 2... |
### Context: CREATE TABLE table_16168849_1 (
enrollment INTEGER,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the maximum enrollment for st. andrews university
### Query: SELECT MAX(enrollment) FROM table_16168849_1 WHERE institution = "S... |
### Context: CREATE TABLE table_name_71 (
host_team VARCHAR,
visiting_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Host team that has indianapolis colts as a Visiting team?
### Query: SELECT host_team FROM table_name_71 WHERE visiting_tea... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
payment_method VARCHAR(15),
customer_name VARCHAR(80),
customer_phone VARCHAR(80),
customer_email VARCHAR(80),
customer_address VARCHAR(255),
customer_login VARCHAR(80),
customer_password VARCHAR(10)
)
CREATE TABLE Mailshot_Camp... |
### Context: CREATE TABLE table_name_90 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has todd hamilton as the player?
### Query: SELECT country FROM table_name_90 WHERE player = "todd hamilton" |
### Context: CREATE TABLE table_24638867_6 (
score VARCHAR,
outcome VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for winner and julie halard-decugis ai sugiyama
### Query: SELECT score FROM table_24638867_6 WHERE outc... |
### Context: CREATE TABLE table_name_3 (
death VARCHAR,
birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the person die who was born on 18 november 1630?
### Query: SELECT death FROM table_name_3 WHERE birth = "18 november 1630" |
### 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 time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
a... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDura... |
### Context: CREATE TABLE table_12159115_2 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of episodes with production code 2T6705?
### Query: SELECT COUNT(title) FROM table_12159115_2 WHERE production... |
### Context: CREATE TABLE table_name_83 (
d_41_√ VARCHAR,
d_47_√ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 41 when the D 47 is d 34?
### Query: SELECT d_41_√ FROM table_name_83 WHERE d_47_√ = "d 34" |
### Context: CREATE TABLE table_27743641_2 (
lmp2_winning_driver VARCHAR,
lmp1_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?
### Query: SELECT lmp2_winning_driver... |
### Context: CREATE TABLE table_9153 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of the T5 Place Player with a Score of 71-68-76=215?
### Query: SELECT "To ... |
### Context: CREATE TABLE table_67410 (
"Date" text,
"Opponent" text,
"Result" text,
"Game Site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does CF Pachuca play?
### Query: SELECT "Game Site" FROM table_67410 WHERE "Opp... |
### Context: CREATE TABLE table_17980 (
"Member countries" text,
"Population" real,
"Area (km\u00b2)" real,
"GDP (billion US$)" text,
"GDP per capita (US$)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gdp of the country with an area o... |
### Context: CREATE TABLE table_725 (
"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.
-- What is Phil Crane, democrat or republican
### Query: SELECT... |
### Context: CREATE TABLE table_2626564_2 (
starts VARCHAR,
winnings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many starts did Pearson have when his winnings were $101,438?
### Query: SELECT starts FROM table_2626564_2 WHERE winnings = "$101,438" |
### Context: CREATE TABLE table_204_886 (
id number,
"rank" number,
"swimmer" text,
"country" text,
"time" text,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many swimmers are from mexico ?
### Query: SELECT COUNT("swimmer") FROM t... |
### Context: CREATE TABLE table_40772 (
"Rank" real,
"Goalkeeper" text,
"Club" text,
"MINS" real,
"SHTS" real,
"W\u2013L\u2013T" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Goalkeeper has MINS less than 2160
### Query: SELECT "Goalkeepe... |
### Context: CREATE TABLE table_name_80 (
against INTEGER,
draws INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average entry in the against column with draws smaller than 0?
### Query: SELECT AVG(against) FROM table_name_80 WHERE draws < 0 |
### 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_4720 (
"Player" text,
"Nationality" text,
"Position" text,
"From" real,
"School/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player played center, is from the United States, and entered before 2012?
... |
### Context: CREATE TABLE table_73029 (
"Engine" text,
"Production" text,
"Transmission" text,
"Power" text,
"Torque" text,
"Acceleration 0\u2013100km/h (0\u201362mph)" text,
"Top Speed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is... |
### Context: CREATE TABLE table_name_51 (
round VARCHAR,
clubs_involved VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round has 4 clubs involved?
### Query: SELECT round FROM table_name_51 WHERE clubs_involved = 4 |
### 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_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.