text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_80103 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What chassis has smaller than 9 points by Equipe Rosier?
### Query: SELECT "Chassis" FROM ta... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE semester (
semest... |
### Context: CREATE TABLE table_203_341 (
id number,
"season" text,
"champion" text,
"runner-up" text,
"score" text,
"third place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many different champions were there in the 2000 - 2005 seasons ... |
### 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_name_52 (
programming_language_used VARCHAR,
first_public_release VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Programming language used has a First public release of 1997?
### Query: SELECT programming_language_used ... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_name_33 (
opponent VARCHAR,
result VARCHAR,
week VARCHAR,
tv_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and t... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
... |
### Context: CREATE TABLE table_name_72 (
record VARCHAR,
arena VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record after the game against the Sharks at Arrowhead Pond of Anaheim?
### Query: SELECT record FROM table_name... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE time_interval (
period text,
... |
### Context: CREATE TABLE table_name_78 (
team VARCHAR,
day_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team was 3:47.761 on day 2?
### Query: SELECT team FROM table_name_78 WHERE day_2 = "3:47.761" |
### 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 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_name_79 (
pts INTEGER,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest pts after 1952 with connaught type a?
### Query: SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND cha... |
### Context: CREATE TABLE table_78817 (
"Week" real,
"Team" text,
"Carries" real,
"Yards" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Average has Yards larger than 167, and a Team of at tb, and a Week larger than 7?
### Que... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airp... |
### Context: CREATE TABLE table_name_66 (
reign INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest reign on march 10, 2007?
### Query: SELECT MAX(reign) FROM table_name_66 WHERE date = "march 10, 2007" |
### Context: CREATE TABLE table_77570 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"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 pr... |
### Context: CREATE TABLE table_name_84 (
rank VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank has canada as the country?
### Query: SELECT rank FROM table_name_84 WHERE country = "canada" |
### Context: CREATE TABLE table_23090 (
"Country" text,
"Area km\u00b2" real,
"Population" real,
"Population density per km\u00b2" real,
"HDI (2011)" text,
"Capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of capi... |
### Context: CREATE TABLE table_name_45 (
position VARCHAR,
overall VARCHAR,
mlb_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position was more than 421 overall for the St. Louis Cardinals?
### Query: SELECT position FROM table_name_45 WHER... |
### Context: CREATE TABLE table_11167610_1 (
engine VARCHAR,
turbo VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the engine with turbo being yes (mitsubishi td04-15g )
### Query: SELECT engine FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD... |
### Context: CREATE TABLE table_4473 (
"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 is the home team score when the... |
### Context: CREATE TABLE table_26952 (
"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.
-- Name the most goals for algeria
### Query: SEL... |
### Context: CREATE TABLE table_19866 (
"Stage" real,
"Stage winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Malaysian rider classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABL... |
### Context: CREATE TABLE table_name_44 (
long INTEGER,
name VARCHAR,
loss VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Rock Cartwright's highest long with more than 11 losses?
### Query: SELECT AVG(long) FROM table_name_44 WHERE name = "rock... |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
s... |
### Context: CREATE TABLE table_name_38 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2002 result when 2006 is A and 2010 is Q1?
### Query: SELECT 2002 FROM table_name_38 WHERE 2006 = "a" AND 2010 = "q1" |
### Context: CREATE TABLE table_14940 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of points before 1954?
### Query: SELECT MAX("Points") FROM table... |
### 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE table_name_56 (
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game when 45,943 attended?
### Query: SELECT date FROM table_name_56 WHERE attendance = "45,943" |
### 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 d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_t... |
### 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 lab (
... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Ad... |
### 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 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_19179465_1 (
played VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Featherstone Rovers club played a total of how many games?
### Query: SELECT COUNT(played) FROM table_19179465_1 WHERE club = "Featherstone Rove... |
### Context: CREATE TABLE table_name_76 (
attendance INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
### Query: SELECT MAX(attendance) FROM table_name_76 WHERE opponent = "phoenix coyo... |
### Context: CREATE TABLE table_2374338_2 (
serbs VARCHAR,
hungarians VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every value for Serbs if value for Hungarians is 9.26%?
### Query: SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%" |
### Context: CREATE TABLE table_2780146_6 (
standard VARCHAR,
pm__g_kwh_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different standards have a PM of 0.02 g/kWh?
### Query: SELECT COUNT(standard) FROM table_2780146_6 WHERE pm__g_kwh_ = "0.02" |
### Context: CREATE TABLE student (
stuid VARCHAR,
major VARCHAR
)
CREATE TABLE member_of_club (
clubid VARCHAR,
stuid VARCHAR
)
CREATE TABLE club (
clubname VARCHAR,
clubid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club has the ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquep... |
### Context: CREATE TABLE table_61217 (
"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.
-- What is the Outcome of the match with Partner Ma... |
### Context: CREATE TABLE table_name_94 (
player VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Player than won in 2003?
### Query: SELECT player FROM table_name_94 WHERE year_s__won = "2003" |
### Context: CREATE TABLE table_204_571 (
id number,
"athlete" text,
"event" text,
"race 1\ntime" text,
"race 2\ntime" text,
"total\ntime" text,
"total\nrank" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which men 's alpine skiing event ... |
### Context: CREATE TABLE Faculty (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many faculty do we have?
### Query: SELECT COUNT(*) FROM Faculty |
### Context: CREATE TABLE table_64520 (
"Country" text,
"Athlete" text,
"Technical" real,
"Free" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger tha... |
### Context: CREATE TABLE table_27733258_6 (
high_points VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high points for l 110 112 (ot)
### Query: SELECT high_points FROM table_27733258_6 WHERE score = "L 110–112 (OT)" |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
... |
### Context: CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Activity (
actid INTE... |
### Context: CREATE TABLE Teachers (
address_id VARCHAR
)
CREATE TABLE Students (
address_id VARCHAR
)
CREATE TABLE Addresses (
line_1 VARCHAR,
address_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the line 1 of addresses shared by som... |
### Context: CREATE TABLE table_7127 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release date" text,
"Chart peak" text,
"Song title" text,
"Writer(s)" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Track has a ... |
### Context: CREATE TABLE table_33897 (
"Position" real,
"Name" text,
"Country" text,
"Win-Loss" text,
"Spread" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has chunkath, mohan verghese as the name?
### Query: SELECT "Country" FROM t... |
### Context: CREATE TABLE table_name_56 (
city___state VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the City / State, when Series is ATCC Round 3?
### Query: SELECT city___state FROM table_name_56 WHERE series = "atcc round 3" |
### Context: CREATE TABLE table_name_43 (
points VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points for games of 16 16
### Query: SELECT points FROM table_name_43 WHERE games = "16 16" |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wa... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int... |
### Context: CREATE TABLE table_3368 (
"Date (YYYY-MM-DD)" text,
"Time (UTC)" text,
"Latitude" text,
"Longitude" text,
"Depth" text,
"Magnitude" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the latitude is 08.979 s, what is the depth?
### ... |
### Context: CREATE TABLE table_name_17 (
year_s__won VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The To par of +14 was won in what year(s)?
### Query: SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_57792 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest numbered grid for piercarlo ghinzani with over 3 laps?
### Query:... |
### Context: CREATE TABLE table_3697 (
"Position" text,
"Nationality" text,
"Name" text,
"League apps" real,
"League goals" real,
"FA Cup apps" real,
"FA Cup goals" real,
"Total apps" real,
"Total goals" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### 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_19070 (
"District" text,
"Counties Represented" text,
"Delegate" text,
"Party" text,
"First Elected" real,
"Committee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the counties represented in District 1... |
### 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_203_211 (
id number,
"pos." number,
"time" text,
"athlete" text,
"country" text,
"venue" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the position number of gail devers ?
### Query: SE... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE... |
### Context: CREATE TABLE manager (
LEVEL INTEGER,
Country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum level of managers in countries that are not 'Australia'?
### Query: SELECT MAX(LEVEL) FROM manager WHERE Country <> "Australia " |
### 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 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_23968 (
"Round" real,
"Choice" real,
"Player" text,
"Position" text,
"Height" text,
"Weight" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what round did the player who weights 192lb (87kg)... |
### 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 lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquep... |
### Context: CREATE TABLE table_name_95 (
rank INTEGER,
total VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the team with 11 total medals and more than 4 silver medals has?
### Query: SELECT SUM(rank) FROM table_name... |
### 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_50791 (
"Event" text,
"Long Course/Short Course" text,
"Year Set" real,
"Time" text,
"Meet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event had a short course in 2010?
### Query: SELECT "Event" FROM table_5... |
### Context: CREATE TABLE table_60653 (
"Mission" text,
"Location" text,
"Type" text,
"Head of Mission" text,
"Position" text,
"List" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the location when the type is embassy and the mission is... |
### Context: CREATE TABLE table_57802 (
"Annual ridership (2012)" real,
"Rider. per mile" real,
"Opened" real,
"Stations" real,
"Lines" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the station with the most riders that has an annaul riders... |
### 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_24951872_2 (
opponent VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponents played Waldstadion in a game?
### Query: SELECT opponent FROM table_24951872_2 WHERE game_site = "Waldstadion" |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_11 (
record VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record in the competition in which the home team was the Mavericks?
### Query: SELECT record FROM table_name_11 WHERE home = "maverick... |
### Context: CREATE TABLE table_name_13 (
tournament VARCHAR,
date VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament is in 1993 with a Score in the final of 6 2, 2 6, 7 5?
### Query: SELECT tournament FROM table... |
### Context: CREATE TABLE table_name_95 (
premiere VARCHAR,
chinese_title VARCHAR,
average VARCHAR,
finale VARCHAR,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What premiere has a finale of less than 41, peak less than 40, average above 3... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
... |
### Context: CREATE TABLE table_69867 (
"Season" text,
"Games" real,
"Lost" real,
"Points" real,
"Pct %" real,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Goals have a Pct % ... |
### Context: CREATE TABLE table_name_95 (
attendance VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were watching when Livingston was the runner-up?
### Query: SELECT attendance FROM table_name_95 WHERE runner_up = "living... |
### Context: CREATE TABLE table_69946 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were in attendance on may 2?
### Query: SELECT MIN("Atte... |
### Context: CREATE TABLE table_746 (
"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 party did Frank J. Becker represent?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_81 (
winning_constructor VARCHAR,
winning_drivers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What brand of vehicle won a race driven by Tazio Nuvolari?
### Query: SELECT winning_constructor FROM table_name_81 WHERE w... |
### Context: CREATE TABLE enzyme (
OMIM INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?
### Query: SELECT MAX(OMIM) FROM enzyme |
### Context: CREATE TABLE table_name_60 (
competition VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Result of france 46-16 scotland?
### Query: SELECT competition FROM table_name_60 WHERE result = "france 46-16 scotl... |
### Context: CREATE TABLE table_204_607 (
id number,
"season" number,
"date" text,
"location" text,
"discipline" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- aspen and lienz in 2009 are the only races where this racer got what po... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop... |
### Context: CREATE TABLE table_47246 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_44 (
genre VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the genre for the year 2012 (16th)?
### Query: SELECT genre FROM table_name_44 WHERE year = "2012 (16th)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.