text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_40359 (
"Position" text,
"Jersey #" real,
"Name" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthdate" text,
"Birthplace" text,
"2008\u20132009 Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... |
### Context: CREATE TABLE Royal_Family (
Royal_Family_ID INTEGER,
Royal_Family_Details VARCHAR(255)
)
CREATE TABLE Visitors (
Tourist_ID INTEGER,
Tourist_Details VARCHAR(255)
)
CREATE TABLE Hotels (
hotel_id INTEGER,
star_rating_code CHAR(15),
pets_allowed_yn CHAR(1),
price_range real,... |
### Context: CREATE TABLE table_name_96 (
race VARCHAR,
nation VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the race in Kenya with a time of 30:27?
### Query: SELECT race FROM table_name_96 WHERE nation = "kenya" AND ... |
### Context: CREATE TABLE table_53494 (
"Year" real,
"Western champion" text,
"Result" text,
"Eastern champion" text,
"Finals MVP" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result from 2013?
### Query: SELECT "Result" FROM table_53... |
### Context: CREATE TABLE table_name_73 (
wins INTEGER,
top_10 INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of wins that is in the Top 10 and larger than 13?
### Query: SELECT SUM(wins) FROM table_name_73 WHERE top_10 > 13 |
### Context: CREATE TABLE table_16078390_2 (
founded INTEGER,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the university that is located in Ellensburg, Washington established?
### Query: SELECT MIN(founded) FROM table_16078390_2 WH... |
### Context: CREATE TABLE table_name_56 (
position VARCHAR,
lost VARCHAR,
points VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses?
### ... |
### 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_204_202 (
id number,
"year" number,
"tournament" text,
"venue" text,
"result" text,
"rank" text,
"event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which city did kaseorg attempt but not complete the de... |
### Context: CREATE TABLE table_2159547_3 (
date_successor_seated VARCHAR,
vacator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was James P. Buchanan (d)'s successor seated?
### Query: SELECT date_successor_seated FROM table_2159547_3 WHERE v... |
### Context: CREATE TABLE table_52208 (
"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.
-- Which date did richmond play as awa... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
disch... |
### Context: CREATE TABLE table_name_85 (
result VARCHAR,
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the result when the Washington Redskins were the opponents on a week after 8?
### Query: SELECT result FROM table_name... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_35671 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Team of crici... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program (
program_id int,
... |
### Context: CREATE TABLE table_16575609_1 (
cfl_team VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who picked a player from Weber State?
### Query: SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber State" |
### Context: CREATE TABLE table_54681 (
"Player" text,
"Tries" text,
"Conv" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tries took place on 06/07/1996?
### Query: SELECT "Tries" FROM table_54681 WHERE "Date" =... |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE table_78060 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the sum of tracks for raised on rock
### Query: SELECT... |
### Context: CREATE TABLE table_25368177_1 (
net_run_rate VARCHAR,
total_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different net run rates did the team with 19 total points have?
### Query: SELECT COUNT(net_run_rate) FROM table_25368177... |
### Context: CREATE TABLE table_name_31 (
city_of_license VARCHAR,
frequency_mhz VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has frequency under 106.5MHz and a callsign of w218ck?
### Query: SELECT city_of_license FROM t... |
### 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 table_39320 (
"Region served" text,
"ch 1" text,
"On-air date" text,
"Analogue Power" text,
"Digital Power" text,
"Analogue HAAT" text,
"Digital HAAT" text,
"Transmitter Location" text
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE table_25692955_1 (
route_number VARCHAR,
north_east_terminal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the route number for santa rosa avenue
### Query: SELECT route_number FROM table_25692955_1 WHERE north_east_terminal ... |
### Context: CREATE TABLE table_29240 (
"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_43071 (
"Year" real,
"Drivers" text,
"Races" real,
"Wins" real,
"Poles" real,
"F.L." real,
"Points" real,
"D.C." text,
"T.C." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of D.C. has Races ... |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id... |
### Context: CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair_assignment (
technician_id int,
repair_ID int,
Machine_ID in... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE shipment_items (
shipment_id number,
order_item_id number
)
CREATE TABLE products (
product_id number,
product_name text,
product_details text
)
CREATE TABLE order_items (
order_item_id number,
product_id number,
order_id number,
order_item_status text,
... |
### 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 table_37509 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Week number on November 30, 1958 with more than 33,240 in Attendance?
### Quer... |
### Context: CREATE TABLE table_name_41 (
years_for_rockets VARCHAR,
school_club_team_country VARCHAR,
height_in_ft VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what years did the Guard from Oklahoma with a height of 6-6 pl... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_c... |
### Context: CREATE TABLE table_name_60 (
no_in_series INTEGER,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number is the first episode of season 11 in Melrose Place?
### Query: SELECT MIN(no_in_series) FROM table_name_60 WHERE ... |
### Context: CREATE TABLE table_18569389_1 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the air date that chris long directed
### Query: SELECT original_air_date FROM table_18569389_1 WHERE directed_by = "Chri... |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE Votes (
Id number,
PostI... |
### Context: CREATE TABLE table_name_4 (
copa_conmebol_1999 VARCHAR,
copa_libertadores_1999 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertador... |
### Context: CREATE TABLE table_47713 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for Tie no. 6?
### Query: SELECT "Score" FROM table_47713 WHERE ... |
### Context: CREATE TABLE table_63399 (
"Tournament" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 result when the 2010 result was 2r, at the US Open?
### Query:... |
### Context: CREATE TABLE table_name_46 (
money___ VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the money won by Frank Nobilo?
### Query: SELECT COUNT(money___) AS £__ FROM table_name_46 WHERE player = "frank nobilo" |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_name_74 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team played against the away team Carlton?
### Query: SELECT home_team FROM table_name_74 WHERE away_team = "carlton" |
### 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 Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
Creation... |
### Context: CREATE TABLE table_name_9 (
event VARCHAR,
time VARCHAR,
round VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Event, when Round is '1', when Location is 'New Town, North Dakota , United States' and when Time is ... |
### 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_73230 (
"Sporting profession" text,
"First place(s)" real,
"Second place(s)" real,
"Third place(s)" real,
"Total placing(s)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many second place showings does snooker h... |
### Context: CREATE TABLE table_3025 (
"Conference" text,
"Regular Season Winner" text,
"Conference Player of the Year" text,
"Conference Tournament" text,
"Tournament Venue (City)" text,
"Tournament Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### 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_203_754 (
id number,
"no." number,
"player" text,
"position" text,
"career" text,
"date no. retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the only player that started his career in 1965
### Query: SELEC... |
### Context: CREATE TABLE table_name_54 (
team_1 VARCHAR,
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team 1 has team 2, Gomera?
### Query: SELECT team_1 FROM table_name_54 WHERE team_2 = "gomera" |
### Context: CREATE TABLE mountain (
id number,
name text,
height number,
prominence number,
range text,
country text
)
CREATE TABLE photos (
id number,
camera_lens_id number,
mountain_id number,
color text,
name text
)
CREATE TABLE camera_lens (
id number,
brand te... |
### 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_77256 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired of the honda manufacturer with a grid less than 26, 18 laps, ... |
### Context: CREATE TABLE table_29802 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_name_97 (
round INTEGER,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round of the match with a time of 0:57?
### Query: SELECT MAX(round) FROM table_name_97 WHERE time = "0:57" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime... |
### Context: CREATE TABLE table_44915 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place was Mark Carnevale in?
### Query: SELECT "Place" FROM table_44915 WHERE "Player" =... |
### Context: CREATE TABLE table_54460 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total audience on may 28?
### Query: SEL... |
### Context: CREATE TABLE table_61058 (
"Year" real,
"Domestic" real,
"International" real,
"Total" real,
"Change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number for the international with 669 domestic earlier than 2005?
### Quer... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
... |
### Context: CREATE TABLE table_28962227_1 (
winner VARCHAR,
runners_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the season for which Brendan Lynch is the runner-up?
### Query: SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Ly... |
### Context: CREATE TABLE table_23932 (
"County" text,
"Obama#" real,
"Obama%" text,
"McCain#" real,
"McCain%" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage did McCain get in Hamilton county?
### Query: SELECT "McCain%" FROM table_... |
### Context: CREATE TABLE table_name_35 (
team_a VARCHAR,
team_c VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is Team A when wilma hofschneider-david is team C?
### Query: SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david" |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE comment_instructor (
inst... |
### Context: CREATE TABLE table_27454 (
"Opponent" text,
"Played" real,
"Won" real,
"Lost" real,
"Drew" real,
"Premiership points" real,
"Points for" real,
"Points against" real,
"Percentage (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE table_41447 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silver have 4 as the total with a bronze less than 2?
### Query: SELE... |
### Context: CREATE TABLE table_name_70 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did home team liverpool play?
### Query: SELECT date FROM table_name_70 WHERE home_team = "liverpool" |
### 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 gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE table_203_268 (
id number,
"date" text,
"name" text,
"nationality" text,
"tonnage\n(grt)" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the only submarine from venezuela was named what ?
### Query: SELE... |
### 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 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 race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_203_156 (
id number,
"team" text,
"outgoing manager" text,
"manner of departure" text,
"date of vacancy" text,
"replaced by" text,
"date of appointment" text,
"position in table" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### 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 table_204_490 (
id number,
"position" text,
"name" text,
"height" text,
"weight" text,
"birthdate" text,
"birthplace" text,
"2009-10 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what player is next on th... |
### Context: CREATE TABLE table_name_40 (
november INTEGER,
game INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of November, when Game is greater than 23?
### Query: SELECT SUM(november) FROM table_name_40 WHERE game > 23 |
### Context: 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 int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost ... |
### Context: CREATE TABLE table_name_40 (
domari VARCHAR,
hindi VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Domari word has the same meaning as the Hindi word p c?
### Query: SELECT domari FROM table_name_40 WHERE hindi = "pāñc" |
### 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_14931 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent of the game that 31,293 people attended that had a f... |
### Context: CREATE TABLE SportsInfo (
StuID INTEGER,
SportName VARCHAR(32),
HoursPerWeek INTEGER,
GamesPlayed INTEGER,
OnScholarship VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advi... |
### Context: CREATE TABLE table_28577 (
"Country" text,
"Area (km\u00b2) 2010" real,
"Population 2011" real,
"GDP (PPP) ( Intl. $ ) 2011" text,
"GDP (PPP) per capita ( Intl. $ ) 2011" text,
"Income inequality 1992-2010 (latest available)" text,
"HDI 2012" text,
"FSI 2012" text,
"CPI ... |
### 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 fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers tex... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,... |
### 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 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 paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE writes (
... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number... |
### Context: CREATE TABLE table_204_561 (
id number,
"fence" number,
"name" text,
"jockey" text,
"age" number,
"handicap (st-lb)" text,
"starting price" text,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of ho... |
### Context: CREATE TABLE table_name_86 (
game INTEGER,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Game, when High Assists is 'Hedo T rko lu (7)'?
### Query: SELECT MAX(game) FROM table_name_86 WHERE high_assists = "hedo... |
### Context: CREATE TABLE table_16665 (
"Round" real,
"Grand Prix" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_67 (
caps INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean number of caps for Ryota Asano?
### Query: SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano" |
### Context: CREATE TABLE table_9631 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the 1 round fight in the Ultimate Fighter 2 Finale?
... |
### Context: CREATE TABLE table_1628607_5 (
points__percentage VARCHAR,
foursomes_w_l_h VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the foursome was w-l-h is 1 0 0 won w/ p. creamer 3&2, what was the points %?
### Query: SELECT points__percentage FR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.