text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_203_190 (
id number,
"name" text,
"type" text,
"circle" text,
"bench" text,
"formed" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was ulm or unterwalden founded in 1115 ?
### Query: SELECT "... |
### Context: CREATE TABLE table_name_78 (
number_of_electorates__2009_ INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of electorates (2009) for Hingna?
### Query: SELECT AVG(number_of_electorates__2009_) FROM table_name_78 W... |
### 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 table_54116 (
"Gymnast" text,
"Floor Exercise" real,
"Pommel Horse" real,
"Rings" real,
"Vault" real,
"Parallel Bars" real,
"Horizontal Bar" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was ... |
### Context: CREATE TABLE table_name_97 (
score_in_final VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the final in $10,000 tarakan , indonesia f2?
### Query: SELECT score_in_final FROM table_name_97 WHERE tournamen... |
### Context: CREATE TABLE table_1676 (
"Series #" real,
"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.
-- Name who directed the episode by joe sachs and david... |
### Context: CREATE TABLE table_name_53 (
date VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the golden slipper race?
### Query: SELECT date FROM table_name_53 WHERE race = "golden slipper" |
### Context: CREATE TABLE table_name_67 (
fixtures INTEGER,
round VARCHAR,
clubs_involved VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?
### Query: SELECT SUM(f... |
### Context: CREATE TABLE table_66850 (
"Runs (Balls)" text,
"Wicket" text,
"Partnerships" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which wicket had a 100 (45) Runs (balls) amount?
### Query: SELECT "Wicket" FROM ta... |
### Context: CREATE TABLE table_203_652 (
id number,
"goal" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what type of competition was played... |
### Context: CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant ... |
### Context: CREATE TABLE table_32068 (
"Place" real,
"Team" text,
"Wins" real,
"Ties" real,
"Losses" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most wins for losses more than 2 and points of two with place larger tha... |
### Context: CREATE TABLE customers (
customer_id number,
customer_type_code text,
address_line_1 text,
address_line_2 text,
town_city text,
state text,
email_address text,
phone_number text
)
CREATE TABLE staff (
staff_id number,
gender text,
first_name text,
last_name ... |
### Context: CREATE TABLE temperature (
City_ID int,
Jan real,
Feb real,
Mar real,
Apr real,
Jun real,
Jul real,
Aug real,
Sep real,
Oct real,
Nov real,
Dec real
)
CREATE TABLE hosting_city (
Year int,
Match_ID int,
Host_City text
)
CREATE TABLE city (
C... |
### Context: CREATE TABLE table_26953 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest score.
### Query: SELECT M... |
### 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_15427 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is team one that has tp englebert for team 2?
### Query: SELECT "Team 1" FROM table_154... |
### Context: CREATE TABLE table_33881 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
### Query: SELECT "Record"... |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id i... |
### Context: CREATE TABLE table_name_97 (
nhl_team VARCHAR,
team_from VARCHAR,
league_from VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which NHL team has a League from of western hockey league and a Pick # smaller than 23 and... |
### 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 table_204_675 (
id number,
"year" number,
"game of the year" text,
"abstract strategy" text,
"advanced strategy" text,
"family" text,
"family card" text,
"family strategy" text,
"party" text,
"puzzle" text,
"word" text,
"historical simulation" te... |
### 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_27501971_2 (
premio VARCHAR,
categoría VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many premio are there when 'Artist of the Year' was the categoria?
### Query: SELECT COUNT(premio) FROM table_27501971_2 WHERE categorí... |
### Context: CREATE TABLE table_name_9 (
player VARCHAR,
position VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player is from Argentina and whose position is a guard-forward?
### Query: SELECT player FROM table_name_9 WHERE p... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Dorm_amenity ... |
### Context: CREATE TABLE table_name_79 (
constructor VARCHAR,
tyre VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who constructed Mike Sparken's car with a tyre of E?
### Query: SELECT constructor FROM table_name_79 WHERE tyre = "e" AND... |
### Context: CREATE TABLE table_824 (
"Aircraft type" text,
"National Origin" text,
"1st Flight" real,
"In Service" text,
"Retired" text,
"# built" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Airspeed Fleet Shadower aircraft are reti... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_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_61430 (
"County" text,
"Precincts" text,
"C. Abate" text,
"R. Bacon" text,
"D. Shulman" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which County has Precincts of 90/90?
### Query: SELECT "County" FROM table_61430 ... |
### Context: CREATE TABLE table_61745 (
"Conflicts prior to Israel's independence" text,
"Military deaths" text,
"Civilian deaths" text,
"Total deaths" text,
"Military and/or Civilian wounded" text,
"Total casualties" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### 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 txmzjzjlb (
HXPLC nu... |
### Context: CREATE TABLE table_1341663_10 (
district VARCHAR,
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the district where the result is re-elected and the incumbent is richard kelly?
### Query: SELECT district FR... |
### Context: 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,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outti... |
### Context: CREATE TABLE table_75334 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game had Philadelphia as its home team and was played on April 23?
### Query: SELECT... |
### Context: CREATE TABLE table_53942 (
"Track" real,
"Title" text,
"Translation" text,
"Composer" text,
"Recorded" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the recorded for translation of sleep my love, good night
### Query: SELECT "Rec... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDR... |
### Context: CREATE TABLE table_name_57 (
lost VARCHAR,
played VARCHAR,
tries_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tries against is 88, played is 22, what is the lost?
### Query: SELECT lost FROM table_name_57 WHERE played = "22" AND 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 hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CY... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### 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 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 editor (
editor_id number,
name text,
age number
)
CREATE TABLE journal_committee (
editor_id number,
journal_id number,
work_type text
)
CREATE TABLE journal (
journal_id number,
date text,
theme text,
sales number
)
-- Using valid SQLite, answer th... |
### Context: CREATE TABLE table_26597 (
"County" text,
"Coakley %" text,
"Coakley votes" real,
"Brown %" text,
"Brown votes" real,
"Kennedy %" text,
"Kennedy votes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes did kennedy wi... |
### Context: CREATE TABLE table_name_55 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Opponent played on the Date May 21?
### Query: SELECT opponent FROM table_name_55 WHERE date = "may 21" |
### Context: CREATE TABLE zzmzjzjlb (
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 text... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE Comments (
Id number,
PostId number,
... |
### Context: CREATE TABLE table_23937 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of the votes did McCain get in Hinds?
### Query: SELECT "McCain%" FROM tab... |
### Context: CREATE TABLE table_51316 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tournament for clay surface and outcome... |
### Context: CREATE TABLE table_61729 (
"Result" text,
"Record" text,
"Opponent" text,
"Method" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which method has a record of 4-0?
### Query: SELECT "Method" FROM table_61729 WHERE "Rec... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_... |
### 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 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 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_20981 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Falcons points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many opponents were... |
### Context: CREATE TABLE table_name_88 (
points INTEGER,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the point low with 2 grids?
### Query: SELECT MIN(points) FROM table_name_88 WHERE grid = "2" |
### 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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respi... |
### Context: CREATE TABLE table_2002 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Year Joined" real,
"Nickname" text,
"Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is ... |
### 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 table_27978 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... |
### Context: CREATE TABLE table_name_4 (
country VARCHAR,
total VARCHAR,
day_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the country when the total is 111 and the day 1 is 69?
### Query: SELECT country FROM table_name_4 WHERE total = 111 AN... |
### 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 patient (
... |
### Context: CREATE TABLE table_31055 (
"Episode" real,
"Airdate" text,
"Iron Chef" text,
"Challenger" text,
"Theme Ingredient" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the challenger when guillaume brahimi was the i... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,... |
### Context: CREATE TABLE table_name_47 (
overall VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is John Cole's overall pick number?
### Query: SELECT COUNT(overall) FROM table_name_47 WHERE name = "john cole" |
### Context: CREATE TABLE table_31539 (
"Year" real,
"Competition" text,
"Date" text,
"Location" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date in 1986?
### Query: SELECT "Date" FROM table_31539 WHE... |
### 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 flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE... |
### 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 election (
Delegate VARCHAR,
District VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the delegate from district 1 in election.
### Query: SELECT Delegate FROM election WHERE District = 1 |
### Context: CREATE TABLE table_19517621_4 (
original_airdate VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date for the episode Calle, The Transit of Venus?
### Query: SELECT original_airdate FROM table_19517621_4 ... |
### Context: CREATE TABLE table_29248 (
"City" text,
"Population" real,
"Registered voters" text,
"Democratic" text,
"Republican" text,
"D\u2013R spread" text,
"Other" text,
"No party preference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_39090 (
"Election" real,
"Labour" real,
"Conservative" real,
"Liberal" real,
"Social Democratic Party" real,
"Social and Liberal Democrats/ Liberal Democrats" real,
"Independent" real,
"Green" real,
"Other" text,
"Control" text
)
-- Using valid S... |
### Context: CREATE TABLE table_name_34 (
rank INTEGER,
loss VARCHAR,
sets_lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least rank with more than 3 losses and less than 25 sets lost?
### Query: SELECT MIN(rank) FROM table_name_34 WHER... |
### Context: CREATE TABLE Supplier_Addresses (
supplier_id INTEGER,
address_id INTEGER,
date_from DATETIME,
date_to DATETIME
)
CREATE TABLE Staff_Department_Assignments (
staff_id INTEGER,
department_id INTEGER,
date_assigned_from DATETIME,
job_title_code VARCHAR(10),
date_assigned_... |
### Context: CREATE TABLE table_39593 (
"Season" real,
"Overall" real,
"Slalom" text,
"Giant Slalom" real,
"Super G" real,
"Downhill" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was her Giant Slalom score when her Ov... |
### Context: CREATE TABLE table_name_27 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team that played luton town?
### Query: SELECT away_team FROM table_name_27 WHERE home_team = "luton town" |
### Context: CREATE TABLE table_name_2 (
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue has eng by 10 runs as the result?
### Query: SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" |
### 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_27792 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Sprint Classification" text,
"Young Rider Classification" text,
"Team Classification" text,
"Aggressive Rider" 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug t... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
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_tes... |
### Context: CREATE TABLE table_45215 (
"Tournament" text,
"2002" text,
"2004" text,
"2005" text,
"2006" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for 2006 when 2002 is Grand Slam Tournaments?
### Query: SELECT "2006" FROM table_452... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
... |
### Context: CREATE TABLE table_name_28 (
dance VARCHAR,
visual_arts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Dance has the Visual Arts of Bryon Kim?
### Query: SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim" |
### Context: CREATE TABLE table_name_98 (
team VARCHAR,
opposition VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team opposed Tipperary in the Munster Final game?
### Query: SELECT team FROM table_name_98 WHERE opposition = "tipperar... |
### Context: CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHAR(15)
)
CREATE TABLE Events (
Event_ID INTEGER,
Service_ID INTEGER,
Event_Details VARCHAR(255)
)
CREATE TABLE Participants_in_Events (
Event_ID INTEGER,
Participant_ID INTEGER
)
CREATE TABLE Participants (
P... |
### Context: CREATE TABLE table_23195_5 (
present_share VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most 10 3 bbl/d (2008) for present share being 1.7%
### Query: SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%" |
### Context: 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,
Number_of_hosts int
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_M... |
### Context: CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE writes (
paperid... |
### 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_name_6 (
date VARCHAR,
time VARCHAR,
game VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5?
### Query: SELECT... |
### 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 hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id 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 t... |
### Context: CREATE TABLE table_55843 (
"Year" real,
"MRHMA" text,
"USCA" text,
"RTHK" text,
"Joint Music Award" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Joint Music Awards are there when the Total is larger than 18,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.