text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_204_644 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game site" text,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which game did they score more , week ... |
### Context: CREATE TABLE table_29112 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes are directed by ricardo mendez matta?
##... |
### Context: CREATE TABLE table_27421 (
"Year" real,
"Competition Description" text,
"Location" text,
"Apparatus" text,
"Rank-Final" real,
"Score-Final" text,
"Rank-Qualifying" real,
"Score-Qualifying" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE table_78818 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game with 57,234 people in attendance?
... |
### 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_17255 (
"Station Number" text,
"District" text,
"Location" text,
"Type" text,
"Appliances" text,
"Registrations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the location where station number is c11... |
### 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_70727 (
"Artist" text,
"Country of origin" text,
"Period active" text,
"Release-year of first charted record" real,
"Genre" text,
"Claimed sales" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Genre, w... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE cinema (
cinema_id number,
name text,
openning_year number,
capacity number,
location text
)
CREATE TABLE film (
film_id number,
rank_in_series number,
number_in_season number,
title text,
directed_by text,
original_air_date text,
production_cod... |
### Context: CREATE TABLE table_1061075_1 (
aggregate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of 2nd leg where aggregate is 7-2
### Query: SELECT COUNT(2 AS nd_leg) FROM table_1061075_1 WHERE aggregate = "7-2" |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid n... |
### Context: CREATE TABLE table_50715 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average bronze when the total is 2, silver is less than 1 and gold ... |
### Context: CREATE TABLE table_name_21 (
team_nickname VARCHAR,
enrollment INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team nickname for enrollment more than 42,326
### Query: SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OFFSET... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_name_24 (
time_retired VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the time/retired when the laps is 52?
### Query: SELECT time_retired FROM table_name_24 WHERE laps = 52 |
### Context: CREATE TABLE table_name_97 (
pct INTEGER,
years VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average percent for the coach from 1905 and more than 7 losses?
### Query: SELECT AVG(pct) FROM table_name_97 WHERE yea... |
### Context: CREATE TABLE table_51654 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_46857 (
"Sport" text,
"League" text,
"Club" text,
"Founded" real,
"Venue" text,
"League championships" real,
"Championship years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Founded has a League ch... |
### Context: CREATE TABLE table_17718 (
"Year" real,
"Total Region" real,
"Rockhampton" real,
"Livingstone" real,
"Fitzroy" real,
"Mt Morgan" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the livingstone with fitzroy being 9499
### Quer... |
### Context: CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision va... |
### Context: CREATE TABLE table_26914076_3 (
story_by VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the story viewed by 0.53 million viewers?
### Query: SELECT story_by FROM table_26914076_3 WHERE us_viewers__millio... |
### Context: CREATE TABLE table_name_14 (
year VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Year of Rio?
### Query: SELECT year FROM table_name_14 WHERE title = "rio" |
### Context: CREATE TABLE table_63629 (
"Rank" real,
"Canton" text,
"Highest point" text,
"Highest elevation" text,
"Lowest point" text,
"Lowest elevation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest elevation for the high... |
### Context: CREATE TABLE loan (
loan_id text,
loan_type text,
cust_id text,
branch_id text,
amount number
)
CREATE TABLE bank (
branch_id number,
bname text,
no_of_customers number,
city text,
state text
)
CREATE TABLE customer (
cust_id text,
cust_name text,
acc_t... |
### Context: CREATE TABLE Activity (
activity_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What activities do we have?
### Query: SELECT activity_name FROM Activity |
### Context: CREATE TABLE university (
school_id number,
school text,
location text,
founded number,
affiliation text,
enrollment number,
nickname text,
primary_conference text
)
CREATE TABLE basketball_match (
team_id number,
school_id number,
team_name text,
acc_regula... |
### Context: CREATE TABLE table_name_5 (
title VARCHAR,
pages VARCHAR,
vol__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the edition with more than 128 pages and a volume # of 5?
### Query: SELECT title FROM table_name_5 WH... |
### Context: CREATE TABLE table_31794 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest value for bronze with a total of 3 and a value for silver gr... |
### Context: CREATE TABLE table_name_59 (
campus VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What campus is in Brgy. Alangilan, Batangas City?
### Query: SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city" |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
... |
### Context: 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,
Time text
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year t... |
### Context: CREATE TABLE table_2582 (
"Position" text,
"Horse" text,
"Jockey" text,
"Age" real,
"Handicap (st-lb)" text,
"SP" text,
"Distance" text,
"Prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How old was the horse when... |
### Context: CREATE TABLE table_name_75 (
total INTEGER,
bronze VARCHAR,
silver VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a silver greater than 0, gold of 9 and a bronze less than 9, what is the lowest total listed?
### Query... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_I... |
### Context: CREATE TABLE Student (
Stuid VARCHAR,
Lname VARCHAR,
Fname VARCHAR
)
CREATE TABLE Video_games (
gameid VARCHAR
)
CREATE TABLE Plays_games (
gameid VARCHAR,
Stuid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all game name... |
### Context: CREATE TABLE table_2334 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Enrollment (2005)" text,
"Founded" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school had an enrollment in 2005 of 69?
### Query: SE... |
### Context: CREATE TABLE table_name_98 (
grid INTEGER,
driver VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid has a Driver of cristiano da matta, and Points smaller than 33?
### Query: SELECT SUM(grid) FROM table_name_98 WHERE... |
### Context: CREATE TABLE table_16800 (
"House Name" text,
"Composition" text,
"Named after" text,
"Founded" real,
"Colours" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the house named gongola made?
### Query: SELECT "Founded" FROM... |
### Context: CREATE TABLE table_14454 (
"Position" real,
"Club" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Points" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_204_164 (
id number,
"branding" text,
"callsign" text,
"frequency" text,
"power (kw)" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last location on this chart ?
### Query: SELECT "l... |
### Context: CREATE TABLE table_45631 (
"Year" real,
"Pick" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the player pick number 15 picked?
### Query: SELECT "Year" FROM table_45631 WHE... |
### Context: CREATE TABLE table_name_17 (
population INTEGER,
location VARCHAR,
island VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest population of Trondra Island in the Scalloway Islands?
### Query: SELECT MAX(population) FROM table... |
### Context: CREATE TABLE table_name_93 (
game_site VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the game with attendance of 63,336?
### Query: SELECT game_site FROM table_name_93 WHERE attendance = "63,336" |
### Context: CREATE TABLE table_name_76 (
date VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for pescara
### Query: SELECT date FROM table_name_76 WHERE circuit = "pescara" |
### Context: CREATE TABLE table_42260 (
"City" text,
"Municipality" text,
"County" text,
"Town status" text,
"Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest population within the municipality of Porsgrunn?
### Query:... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### 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 table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- total number of players that signed in march ?
### Quer... |
### Context: CREATE TABLE book_club (
book_club_id number,
year number,
author_or_editor text,
book_title text,
publisher text,
category text,
result text
)
CREATE TABLE movie (
movie_id number,
title text,
year number,
director text,
budget_million number,
gross_wor... |
### 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 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE labevents (
row_id number,
subject_id numb... |
### Context: CREATE TABLE table_name_46 (
week INTEGER,
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which December 4, 1976 week has an attendance less than 57,366?
### Query: SELECT MIN(week) FROM table_name_46 WHERE date = "... |
### Context: CREATE TABLE table_13018116_1 (
played VARCHAR,
pts_agst VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of played when points against 645?
### Query: SELECT COUNT(played) FROM table_13018116_1 WHERE pts_agst = 645 |
### Context: CREATE TABLE table_name_56 (
home_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the home team based at windy hill?
### Query: SELECT home_team FROM table_name_56 WHERE venue = "windy hill" |
### Context: 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_wardid number,
intime time,
outtime time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id... |
### 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 month (
month_number int,
month_name text
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
... |
### Context: CREATE TABLE table_52479 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest pick number for the Boston Celtics?
### Query: SELECT M... |
### Context: CREATE TABLE table_9417 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has fewer than 4 rounds for Jan Van Breda Kolff?
... |
### Context: CREATE TABLE view_unit_status (
apt_id number,
apt_booking_id number,
status_date time,
available_yn others
)
CREATE TABLE apartment_buildings (
building_id number,
building_short_name text,
building_full_name text,
building_description text,
building_address text,
... |
### Context: CREATE TABLE table_51562 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date was for Japan?
### Query: SELECT "Date" FROM table_51562 WHERE "Country" = 'ja... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ... |
### Context: CREATE TABLE table_59184 (
"Elimination" text,
"Wrestler" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Wrestler has an Elimination of 5?
### Query: SELECT "Wrestler" F... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)... |
### Context: CREATE TABLE table_12895 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Streak has a Record of 21 22?
### Quer... |
### Context: CREATE TABLE table_72554 (
"Rank" real,
"Place" text,
"County" text,
"Per Capita Income" text,
"Median House- hold Income" text,
"Population" real,
"Number of Households" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is th... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE 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 Artist (
ArtistId integer,
Name varchar(120)
)
CREATE TABLE Employee (
EmployeeId integer,
LastName varchar(20),
FirstName varchar(20),
Title varchar(30),
ReportsTo integer,
BirthDate datetime,
HireDate datetime,
Address varchar(70),
City varchar(40... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
J... |
### Context: CREATE TABLE table_name_97 (
country VARCHAR,
network VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Network of channel 1?
### Query: SELECT country FROM table_name_97 WHERE network = "channel 1" |
### Context: CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
... |
### Context: CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_dew_point_f INTEGER,
max_humidity INTEGER,
mean_humidity INTEGER,
min_humidity INTEGER,
max_... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedBy... |
### Context: CREATE TABLE table_name_43 (
bowling_figures_wickets_runs__overs_ VARCHAR,
venue VARCHAR,
versus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling... |
### 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_74685 (
"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 team was the away team when t... |
### Context: CREATE TABLE table_name_77 (
place VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place has a To par of +4 and a score of 74-70-74-74=292?
### Query: SELECT place FROM table_name_77 WHERE to_par = "+4" AN... |
### Context: CREATE TABLE table_203_216 (
id number,
"rank" number,
"hospital" text,
"city" text,
"county" text,
"# beds" number,
"type of hospital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what two hospitals holding consecutive rankin... |
### Context: CREATE TABLE table_17080868_6 (
location_attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of attendance where the date is december 29?
### Query: SELECT COUNT(location_attendance) FROM table_17080... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airport (
airport_code varc... |
### 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 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 days (
days_code varchar,
day_name ... |
### Context: CREATE TABLE table_name_10 (
to_par VARCHAR,
money___$__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which to par has a prize less than $800?
### Query: SELECT to_par FROM table_name_10 WHERE money___$__ = 800 |
### 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_56750 (
"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 largest Crowd number fo... |
### Context: CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,... |
### Context: CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many peaks are below 3200 feet ?
### Query: SELECT COUNT("peak n... |
### Context: CREATE TABLE table_24018430_3 (
written_by VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is writtenand directed by shannon flynn?
### Query: SELECT written_by FROM table_24018430_3 WHERE directed_by = "Shannon Flynn" |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_name_96 (
occ_championships INTEGER,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times have Central Crossing won the OCC Championship?
### Query: SELECT SUM(occ_championships) FROM table_name_96 WHERE schoo... |
### Context: CREATE TABLE table_22654073_13 (
game VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played on May 11?
### Query: SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11" |
### Context: CREATE TABLE table_204_496 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- at the 2006 gran... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
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_p... |
### Context: CREATE TABLE table_33717 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did they play the New Orleans Saints?
### Query: SELECT "Date" FROM table_33717 W... |
### Context: CREATE TABLE table_name_52 (
iata VARCHAR,
icao VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA when the ICAO is wipp?
### Query: SELECT iata FROM table_name_52 WHERE icao = "wipp" |
### Context: CREATE TABLE table_24966 (
"No." real,
"Season" text,
"Championship" real,
"No. of teams" real,
"Start (reg. season)" text,
"Finish (incl. championship)" text,
"Top record" text,
"National Champion" text
)
-- Using valid SQLite, answer the following questions for the table... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.