text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
... |
### Context: CREATE TABLE table_name_78 (
player VARCHAR,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who scored 69-74=143 for Colombia?
### Query: SELECT player FROM table_name_78 WHERE score = 69 - 74 = 143 AND country = "col... |
### Context: CREATE TABLE table_name_15 (
release_date VARCHAR,
product VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Glassfish released?
### Query: SELECT release_date FROM table_name_15 WHERE product = "glassfish" |
### Context: CREATE TABLE table_name_56 (
date VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what day was game 2 played?
### Query: SELECT date FROM table_name_56 WHERE game = 2 |
### Context: CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE class_of_service (
booking_class varcha... |
### Context: CREATE TABLE table_name_45 (
total INTEGER,
league_cup VARCHAR,
fa_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total when the league cup is less than 1, and the fa cup is less than 1?
### Query: SELECT SUM(total) FROM tab... |
### Context: CREATE TABLE table_15584199_3 (
award_name VARCHAR,
team_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the award name for black ocean current
### Query: SELECT award_name FROM table_15584199_3 WHERE team_name = "BLACK OCEAN CURRENT" |
### Context: CREATE TABLE table_name_16 (
built VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was the bridge in Clarkdale built?
### Query: SELECT built FROM table_name_16 WHERE location = "clarkdale" |
### Context: CREATE TABLE table_53709 (
"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.
-- On which date was the venue of vfl ... |
### Context: CREATE TABLE table_name_6 (
buddhism VARCHAR,
christianity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of Buddhists associated with a Christianity percentage of 52.32%?
### Query: SELECT buddhism FROM table_name_6 WHER... |
### Context: CREATE TABLE table_37063 (
"Driver" text,
"Entries" real,
"Points" real,
"Average points per race entered" real,
"Average pre-2010" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest average points per race of the driver... |
### 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 person_info_hz_info (
... |
### Context: CREATE TABLE table_1342256_40 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the candidate for south carolina 4?
### Query: SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 4" |
### Context: CREATE TABLE table_name_90 (
season VARCHAR,
apps VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Season does the Internazionale Club have more than 2 Apps?
### Query: SELECT season FROM table_name_90 WHERE apps > 2 AND... |
### 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 allergy ... |
### Context: CREATE TABLE table_61074 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many strokes off par was the player who scored 157?
### Query: SELECT COUNT("To par... |
### Context: CREATE TABLE table_75971 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date with a Time that is 18:45?
### Query: SELECT "Date" FROM table_75... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTas... |
### Context: CREATE TABLE table_name_23 (
stop_no VARCHAR,
destination VARCHAR,
line VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Stop No., when Destination is Perth, and when Line is Midland?
### Query: SELECT stop_no FROM table_name_23 WHERE... |
### Context: CREATE TABLE table_78671 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did Ra'fat Ali play on August 17, 1999?
### Query: SELECT "Venue" FROM table_78671 WH... |
### Context: CREATE TABLE table_name_88 (
points INTEGER,
difference VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high point total associated with a difference of 1 and 0 draws?
### Query: SELECT MAX(points) FROM table_name_... |
### Context: CREATE TABLE apartment_facilities (
apt_id number,
facility_code text
)
CREATE TABLE apartment_buildings (
building_id number,
building_short_name text,
building_full_name text,
building_description text,
building_address text,
building_manager text,
building_phone text... |
### 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 CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_name_45 (
venue VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has a Home team of geelong?
### Query: SELECT venue FROM table_name_45 WHERE home_team = "geelong" |
### Context: CREATE TABLE table_11169 (
"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 Hawtho... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admissi... |
### Context: 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,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE table_55335 (
"State" text,
"Born/Died" text,
"Active service" text,
"Chief Judge" text,
"Senior status" text,
"Appointed by" text,
"Reason for termination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the... |
### Context: CREATE TABLE employee (
fname VARCHAR,
lname VARCHAR,
address VARCHAR,
Bdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- list the first and last names, and the addresses of all employees in the ascending order of their birth date.
##... |
### Context: CREATE TABLE table_31079 (
"Week of" text,
"Tournament" text,
"Champion" text,
"Runner-up" text,
"Semifinalists" text,
"Quarterfinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the semifinalists in the tournament wh... |
### Context: CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Investors (
investor_id INTEGER,
Investor_details VARCHAR(255)
)
CREATE TABLE Lots (
lot_id INTEGER,
investor_id INTEGER,
lot_details VARCHAR(255)
)
CREATE TABLE Transaction... |
### Context: CREATE TABLE table_70873 (
"Year" real,
"Stage" real,
"Category" real,
"Start" text,
"Finish" text,
"Leader at the summit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the leader at the summit when the stage was larger tha... |
### 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 jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE 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 semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thu... |
### 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 state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant... |
### Context: CREATE TABLE table_10748727_1 (
points VARCHAR,
series VARCHAR,
team_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how much did the british formula three called 'fortec motorsport' score?
### Query: SELECT points FROM table_10748727_1... |
### Context: CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
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... |
### Context: CREATE TABLE table_203_742 (
id number,
"rnd" number,
"date" text,
"race name" text,
"circuit" text,
"city/location" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"winning team" text,
"report" text
)
-- Using valid SQLite, answer the fo... |
### Context: CREATE TABLE table_62476 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has a Result of l 10 30, and an Attenda... |
### 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 PostsWithDeleted (
Id number... |
### Context: CREATE TABLE table_64181 (
"Position" real,
"Gymnast" text,
"A Score" real,
"B Score" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?
###... |
### Context: CREATE TABLE table_7478 (
"LastDays begin" text,
"Startof Christ's Presence" text,
"Christ madeKing" text,
"Resurrection of144,000" text,
"Judgmentof Religion" text,
"Separating Sheep &Goats" text,
"Great Tribulation" text
)
-- Using valid SQLite, answer the following question... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_57968 (
"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 day does the home side score 1... |
### Context: CREATE TABLE table_25453 (
"Date" text,
"Location" text,
"Opponent" text,
"Terps Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where were games played when the record was 9-1?
### Query: ... |
### Context: CREATE TABLE table_11677760_31 (
height VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height of the player that went to ohio state?
### Query: SELECT height FROM table_11677760_31 WHERE college = "Ohio State" |
### Context: CREATE TABLE table_38103 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College/Junior/Club Team (League) has a Position of ri... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTasks (
Id number,
... |
### Context: CREATE TABLE table_17766232_7 (
year_s_ INTEGER,
final_television_commentator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year that the final television commentator was David Jacobs?
### Query: SELECT MAX(year_s_) FROM tab... |
### Context: CREATE TABLE table_18494 (
"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 the candidates for fred e. busbey?
### Query: SELE... |
### Context: CREATE TABLE table_1342233_6 (
first_elected VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the first elected with incumbent being clair engle
### Query: SELECT first_elected FROM table_1342233_6 WHERE incumbent = "Cla... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score... |
### Context: CREATE TABLE table_4904 (
"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 of the Hawth... |
### Context: CREATE TABLE table_name_27 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on the date of november 10, 1968?
### Query: SELECT record FROM table_name_27 WHERE date = "november 10, 1968" |
### Context: CREATE TABLE table_62033 (
"Year" text,
"Car number" text,
"Start" text,
"Qual. speed" text,
"Speed rank" text,
"Finish" text,
"Laps completed" real,
"Laps led" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the finis... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decim... |
### Context: CREATE TABLE table_12341 (
"17th c." text,
"American" text,
"British" text,
"Australian" text,
"Examples" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Australian, when Examples is 'am ba, anemone, ascesis'?
### Query: SELECT ... |
### Context: CREATE TABLE table_204_196 (
id number,
"outcome" text,
"no." number,
"date" number,
"championship" text,
"surface" text,
"partner" text,
"opponents in the final" text,
"score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE driver (
Driver_ID int,
Name text,
Party text,
Home_city text,
Age int
)
CREATE TABLE school_bus (
School_ID int,
Driver_ID int,
Years_Working int,
If_full_time bool
)
CREATE TABLE school (
School_ID int,
Grade text,
School text,
Location t... |
### Context: CREATE TABLE table_name_68 (
character VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Character has a Category of favourite naya sadasya?
### Query: SELECT character FROM table_name_68 WHERE category = "favourite naya sa... |
### Context: CREATE TABLE table_42484 (
"Milepost" real,
"Name of the tunnel" text,
"Length" text,
"Maximum Height" text,
"Minimum Height" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Milepost of the Twin Tunnel #1 North?
### Query: S... |
### Context: CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE table_10086 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor?
### Que... |
### Context: CREATE TABLE table_name_76 (
opponent VARCHAR,
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent played on the 28th with a venue of away?
### Query: SELECT opponent FROM table_name_76 WHERE venue = "away" AND ... |
### Context: CREATE TABLE table_26715 (
"Legion no. and title" text,
"Main legionary base" text,
"Emblem" text,
"Date founded/ founder" text,
"Date disband" text,
"Castra legionaria (legion bases) * = main base. Start date 31BC if unspecified" text,
"Notes" text
)
-- Using valid SQLite, an... |
### 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 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_name_68 (
record VARCHAR,
location VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record?
### Query: SELECT reco... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE patients (
row_id num... |
### Context: CREATE TABLE txmzjzjlb (
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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_26789 (
"Contestant" text,
"Starting Weight (kg)" text,
"Final Weight (kg)" text,
"Weight Lost (kg)" text,
"Percentage Lost" text,
"Position (out of Eliminated Contestants)" text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_203_339 (
id number,
"year" text,
"car" number,
"start" number,
"qual" number,
"rank" number,
"finish" number,
"laps" number,
"led" number,
"retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_36899 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Record of 92 70 had what date?
### Query: SELECT "Date" FROM table_36899... |
### Context: CREATE TABLE table_name_29 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the match as corio oval, who was the away team?
### Query: SELECT away_team FROM table_name_29 WHERE venue = "corio oval" |
### Context: CREATE TABLE table_53962 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the right ascension (J2000) with a ... |
### Context: CREATE TABLE table_50982 (
"Poll Year" text,
"Winner" text,
"Second" text,
"Third" text,
"Fourth" text,
"Fifth" text,
"Sixth" text,
"Seventh" text,
"Eighth" text,
"Ninth" text,
"Tenth" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_name_77 (
date VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when the result was l 37-3?
### Query: SELECT date FROM table_name_77 WHERE result = "l 37-3" |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_59174 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Country has a 67 score by Phil Mickelson?
### Query: SELECT "Country" FROM table_59174 W... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE table_12558 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position was in 2009?
### Query: SELECT "Position" FROM table_12558 WHERE "Year" = ... |
### 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 PostTags (
PostId number,
TagId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,... |
### Context: CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return a histo... |
### 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_name_46 (
final_score VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score in week 3 ?
### Query: SELECT final_score FROM table_name_46 WHERE week = 3 |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename va... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
### 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_81 (
total VARCHAR,
rank VARCHAR,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is '4'?
### Query: ... |
### Context: CREATE TABLE table_2153 (
"Country" text,
"1948/49 ($ millions)" real,
"1949/50 ($ millions)" real,
"1950/51 ($ millions)" real,
"Cumulative ($ millions)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of $ were spent ... |
### Context: CREATE TABLE table_35580 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on July 1?
### Query: SELECT "Record" FROM table_355... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.