text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_42 (
losses VARCHAR,
against VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total losses that has more than 12 wins and 1017 against?
### Query: SELECT COUNT(losses) FROM table_name_42 WHERE ... |
### 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_name_87 (
money___$__ VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the money ($) for the t3 place and the score of 74-74-71-69=288?
### Query: SELECT money___$__ FROM table_name_87 W... |
### Context: CREATE TABLE table_24341 (
"Type of Record" text,
"Attendance" real,
"Date/Year" text,
"Stadium" text,
"Result/Games" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result/games for 54530
### Query: SELECT "Result/Games" FROM ... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
... |
### Context: CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME varchar(20),
CLASS_ROOM varchar(8),
PROF_NUM int
)
CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
CREATE TABLE DEPARTMENT (
... |
### Context: CREATE TABLE music_festival (
Date_of_ceremony VARCHAR,
Volume VARCHAR
)
CREATE TABLE volume (
Volume_ID VARCHAR,
Weeks_on_Top INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Please show the date of ceremony of the volumes that last more... |
### 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_21029 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number location of georgia perimeter college
### Q... |
### Context: CREATE TABLE table_name_54 (
grid VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grid has 78 laps, and Ronnie Bremer as driver?
### Query: SELECT grid FROM table_name_54 WHERE laps = 78 AND driver = "ronni... |
### Context: CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_80 (
time_retired VARCHAR,
constructor VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time/Retired for the BMW Sauber, and Nick Heidfeld?
### Query: SELECT time_retired FROM table_name_80 ... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
Markdo... |
### Context: CREATE TABLE table_name_7 (
frequency_mhz VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Frequency MHz has a Call Sign of K218BE?
### Query: SELECT frequency_mhz FROM table_name_7 WHERE call_sign = "k218be" |
### Context: CREATE TABLE storm (
storm_id number,
name text,
dates_active text,
max_speed number,
damage_millions_usd number,
number_deaths number
)
CREATE TABLE affected_region (
region_id number,
storm_id number,
number_city_affected number
)
CREATE TABLE region (
region_id ... |
### Context: CREATE TABLE table_31152 (
"Name/ designation" text,
"Year of intro" real,
"Country of origin" text,
"Primary cartridge" text,
"Major users" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the major users from Australia?
### Que... |
### Context: CREATE TABLE table_name_4 (
attendance INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest Attendance when the Opponent was Maryland?
### Query: SELECT MIN(attendance) FROM table_name_4 WHERE opponent = "marylan... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Bod... |
### Context: CREATE TABLE table_name_51 (
points_difference VARCHAR,
lost VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the difference related to 2 losses and fewer than 10 points?
### Query: SELECT points_difference FROM table_... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime... |
### Context: CREATE TABLE table_name_23 (
height_metres___ft VARCHAR,
town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height in Rouen?
### Query: SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen" |
### Context: CREATE TABLE table_12113 (
"Team" text,
"Average" real,
"Points" real,
"Played" real,
"1988-89" text,
"1989-90" text,
"1990-1991" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points were there when the average was 0.7... |
### Context: CREATE TABLE publication_keyword (
kid int,
pid int
)
CREATE TABLE domain_author (
aid int,
did int
)
CREATE TABLE writes (
aid int,
pid int
)
CREATE TABLE domain_conference (
cid int,
did int
)
CREATE TABLE conference (
cid int,
homepage varchar,
name varcha... |
### 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_name_83 (
elevator VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the elevator from crema?
### Query: SELECT elevator FROM table_name_83 WHERE nationality = "crema" |
### Context: CREATE TABLE table_name_20 (
bike VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What bike has 26 as the grid?
### Query: SELECT bike FROM table_name_20 WHERE grid = 26 |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_48817 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when Boston is the road team in game 4?
### Query: SELECT "Home Team... |
### Context: CREATE TABLE table_name_15 (
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Footscray's score as the home team?
### Query: SELECT home_team AS score FROM table_name_15 WHERE home_team = "footscray" |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime ... |
### Context: CREATE TABLE table_name_27 (
time VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time when the opponent is stephanie palmer?
### Query: SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer" |
### Context: CREATE TABLE table_17788 (
"Day (see Irregularities )" text,
"Sunday Day One" text,
"Monday Day Two" text,
"Tuesday Day Three" text,
"Wednesday Day Four" text,
"Thursday Day Five" text,
"Friday Day Six" text,
"Saturday Day Seven" text
)
-- Using valid SQLite, answer the fo... |
### Context: CREATE TABLE table_name_42 (
sio_2 INTEGER,
na_2_o VARCHAR,
al_2_o_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is average SiO 2, when Na 2 O is 7.53, and when Al 2 O 3 is less than 2.13?
### Query: SELECT AVG(sio_2) FROM table_nam... |
### Context: CREATE TABLE zyb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_203_502 (
id number,
"team" text,
"titles" number,
"runner-up" number,
"third place" number,
"fourth place" number,
"years participated" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what two teams only hav... |
### Context: CREATE TABLE table_name_64 (
verb_meaning VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verb meaning for class 4?
### Query: SELECT verb_meaning FROM table_name_64 WHERE class = "4" |
### 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_77174 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result on october 8, 1961?
### Query: SELECT "Result" FROM table_77174 WHERE ... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE Comments (
Id number,
... |
### Context: CREATE TABLE table_22075 (
"Position" real,
"Club" text,
"Games played" real,
"Wins" real,
"Draws" real,
"Loses" real,
"Goals scored" real,
"Goals conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- H... |
### 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 t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_3824 (
"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 provided above.
... |
### 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 record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
... |
### Context: CREATE TABLE table_name_97 (
heat INTEGER,
rank VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Heat of the 34 Rank swimmer with a Time of 49.49 or less?
### Query: SELECT AVG(heat) FROM table_name_97 WHERE rank = 3... |
### 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_name_46 (
result VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the match against Pat Lawlor?
### Query: SELECT result FROM table_name_46 WHERE opponent = "pat lawlor" |
### Context: CREATE TABLE table_50 (
"Star (Pismis24-#)" text,
"Spectral type" text,
"Magnitude (M bol )" text,
"Temperature (K)" real,
"Radius (R \u2609 )" real,
"Mass (M \u2609 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If a radius is 1... |
### Context: CREATE TABLE table_name_80 (
goals_conceded__gc_ INTEGER,
draw__pe_ VARCHAR,
goals_scored__gf_ VARCHAR,
points__pts_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of goals conceded where more than 19 goals wer... |
### Context: CREATE TABLE table_name_3 (
venue VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has Footscray as it's Home team?
### Query: SELECT venue FROM table_name_3 WHERE home_team = "footscray" |
### Context: CREATE TABLE table_48559 (
"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 least laps when the driver is rubens barrichello and the grid is less than... |
### Context: CREATE TABLE Has_allergy (
Allergy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many students have cat allergies?
### Query: SELECT COUNT(*) FROM Has_allergy WHERE Allergy = "Cat" |
### Context: CREATE TABLE table_58967 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is moving to Triestina?
### Query: SELECT "Name" FROM table_58967 WHERE "Moving to... |
### Context: CREATE TABLE table_49422 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2007\u201308 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club came in 14th in Serie c1/a in the 2007-08 season?
### Query: SELECT "... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_74 (
package_version VARCHAR,
carrier VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY?
### Query: SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility" |
### Context: CREATE TABLE table_32542 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which host university is based in Missoula?
### Query: SELECT "Host" FROM table_32542 WHERE "City"... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE table_1908 (
"Elimination number" real,
"Wrestler" text,
"Entered" real,
"Eliminated by" text,
"Method of elimination" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the elimination number of the f... |
### Context: 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,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_45648 (
"Game" real,
"Date" text,
"Opponent" 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 ... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_25154 (
"Outcome" text,
"Year" real,
"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 provided above.
-- Who were the opponen... |
### Context: CREATE TABLE table_71558 (
"D 48" text,
"D 47" text,
"D 46" text,
"D 45" text,
"D 44" text,
"D 43" text,
"D 42" text,
"D 41" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D45 associated with a D42 of r 22?
### ... |
### Context: CREATE TABLE table_67809 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del san... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JZZTMC te... |
### Context: CREATE TABLE table_name_65 (
sales__billion_ INTEGER,
headquarters VARCHAR,
assets__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average sales in billions of the company headquartered in France with more than 2,539.1... |
### Context: CREATE TABLE allergy_type (
allergy text,
allergytype text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE has_allergy (
stuid number,
allergy text
)
-- Using... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLM... |
### Context: CREATE TABLE table_38758 (
"Couple" text,
"Score" text,
"Style" text,
"Music" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Result of third place, and a Style of cha-cha-cha?
### Query: SELECT "Score" ... |
### Context: CREATE TABLE Customers_cards (
card_type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all card type codes and the number of cards in each type.
### Query: SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code |
### Context: CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
... |
### Context: CREATE TABLE table_66991 (
"Riding" text,
"Candidate's Name" text,
"Gender" text,
"Residence" text,
"Occupation" text,
"Votes" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the gender of Ron Gray, ranked 5t... |
### Context: CREATE TABLE Third_Party_Companies (
company_id INTEGER,
company_type VARCHAR(5),
company_name VARCHAR(255),
company_address VARCHAR(255),
other_company_details VARCHAR(255)
)
CREATE TABLE Maintenance_Contracts (
maintenance_contract_id INTEGER,
maintenance_contract_company_id ... |
### Context: CREATE TABLE table_name_38 (
opponent VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent is friendly and played on 15-08-2012?
### Query: SELECT opponent FROM table_name_38 WHERE competition = "... |
### Context: CREATE TABLE table_17795 (
"Year" real,
"Road Opened" text,
"Road Closed" text,
"Freight Carried s Tonne" real,
"Super B Capacity Reached [ citation needed ]" text,
"Number of Truck Loads North" real
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### 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_name_55 (
institution VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What institution is located in athens, ga, us?
### Query: SELECT institution FROM table_name_55 WHERE location = "athens, ga, us" |
### Context: CREATE TABLE Accounts (
account_id INTEGER,
customer_id INTEGER,
date_account_opened DATETIME,
account_name VARCHAR(50),
other_account_details VARCHAR(255)
)
CREATE TABLE Product_Categories (
production_type_code VARCHAR(15),
product_type_description VARCHAR(80),
vat_rating... |
### Context: CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_13 (
to_par VARCHAR,
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the to par for Hale Irwin of the United States?
### Query: SELECT to_par FROM table_name_13 WHERE country = "united s... |
### Context: CREATE TABLE table_1936 (
"Athlete" text,
"Class" text,
"Event" text,
"Round 1" text,
"Round 2" text,
"Round 3" text,
"1/8 Finals" text,
"Quarterfinals" text,
"Semifinals" text,
"Final/ Bronze medal contest" text
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_name_48 (
heat VARCHAR,
nationality VARCHAR,
lane VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?
### Query: SELECT COUNT(heat) ... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE products (
color_code VARCHAR
)
CREATE TABLE ref_colors (
color_description VARCHAR,
color_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the description of the color for most products?
### Query: SELECT t2.color_... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
... |
### Context: CREATE TABLE table_403 (
"Name" text,
"Position" text,
"Height" text,
"Weight(lbs)" real,
"Born" text,
"College" text,
"Drafted" text,
"Pro Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position when draft... |
### Context: CREATE TABLE table_13762472_4 (
record VARCHAR,
high_points VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the record with high points being dwyane wade (27) and location attendance being arco arena
### Q... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id i... |
### Context: CREATE TABLE table_11483 (
"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.
-- Which partners were runner-up in the tournament ... |
### Context: CREATE TABLE table_name_95 (
college VARCHAR,
pick VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college did the player picked larger than 130 by the New York Jets go to?
### Query: SELECT college FROM table_name_95 WHE... |
### Context: CREATE TABLE employee (
emp_lname VARCHAR,
emp_hiredate VARCHAR,
emp_num VARCHAR
)
CREATE TABLE professor (
emp_num VARCHAR,
prof_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the last name and hire date of the professo... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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_21988 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the film Milagros submitted?
### Que... |
### Context: CREATE TABLE table_name_56 (
pick INTEGER,
name VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pick has a Name of ed hickerson, and a Round smaller than 10?
### Query: SELECT SUM(pick) FROM table_name_56 WHERE name = "e... |
### 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_74761 (
"Event" text,
"Time" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where were the 2008 championships with a time of 7:56.90 held?
### Query:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.