text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_12413 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 7:30 has tout le monde en parle as the 8:00?
### Query: SELECT... |
### Context: CREATE TABLE table_31388 (
"Season" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season was the finale that aired o... |
### Context: CREATE TABLE table_68462 (
"Series 1" text,
"Series 2" text,
"Series 3" text,
"Series 5" text,
"Series 9" text,
"Series 11" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who in series 5 corresponds to Deborah Meaden in series 3?
#... |
### 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 table_name_45 (
location_attendance VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance during the game against Philadelphia?
### Query: SELECT location_attendance FROM table_name_45 WHERE team = "p... |
### Context: CREATE TABLE table_62951 (
"Team" text,
"Tries for" real,
"Tries against" real,
"Try diff" text,
"Points for" real,
"Points against" real,
"Points diff" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points for has Points ... |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9... |
### 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_name_94 (
col__m_ INTEGER,
prominence__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum Col (m) when 3,046 is the Prominence (m)?
### Query: SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_labitems ... |
### Context: CREATE TABLE table_21398 (
"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.
-- How many years was the original title was (swopnoda... |
### Context: CREATE TABLE table_train_252 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"fasting_plasma_glucose_fpg" float,
"hemoglobin_a1c_hba1c" float,
"hba1c" float,
"serum_creatinine" float,
"metformin" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite,... |
### Context: CREATE TABLE table_59773 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode has 7.8 million viewers?
### Query: SELECT "Episode"... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locati... |
### Context: CREATE TABLE table_name_51 (
driver VARCHAR,
date VARCHAR,
position VARCHAR,
team VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what driver has a team of officine alfieri maserati and belongs to the class of non-champ... |
### Context: CREATE TABLE ref_budget_codes (
budget_type_code text,
budget_type_description text
)
CREATE TABLE documents_with_expenses (
document_id number,
budget_type_code text,
document_details text
)
CREATE TABLE ref_document_types (
document_type_code text,
document_type_name text,
... |
### Context: CREATE TABLE table_55395 (
"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 time or retired time for timo glock with under 70 laps and a grid number g... |
### Context: CREATE TABLE table_49108 (
"Week" real,
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponent, when Result is Win, and when Date is... |
### 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_37346 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the game on 2007-04-0... |
### 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 student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_presiden... |
### Context: CREATE TABLE table_name_52 (
poles INTEGER,
fastest_laps INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of poles when the fastest laps are less than 0?
### Query: SELECT MIN(poles) FROM table_name_52 WHERE fastest_la... |
### Context: CREATE TABLE table_203_118 (
id number,
"game" number,
"date" text,
"opponent" text,
"location" text,
"score" text,
"ot" text,
"attendance" number,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tota... |
### Context: CREATE TABLE table_name_91 (
position VARCHAR,
pick__number VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does a Keith Shologan, who was picked higher than 6, play?
### Query: SELECT position FROM table_name_9... |
### Context: CREATE TABLE table_41313 (
"Album" text,
"Release date" text,
"Label" text,
"Format" text,
"Covered Song" text,
"Original Song" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Covered Song when the Album shows... |
### Context: CREATE TABLE Draft_Copies (
document_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draft copies does the document with id 2 have?
### Query: SELECT COUNT(*) FROM Draft_Copies WHERE document_id = 2 |
### Context: CREATE TABLE table_22905641_2 (
race_1_winner VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the race 1 winner at the race held at Winton Motor Raceway?
### Query: SELECT race_1_winner FROM table_22905641_2 WHERE circui... |
### Context: CREATE TABLE table_name_43 (
season INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most recent season with a date of 27 October 1957?
### Query: SELECT MAX(season) FROM table_name_43 WHERE date = "27 october 1957" |
### Context: CREATE TABLE table_name_26 (
conference VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What conference has the Wichita State school?
### Query: SELECT conference FROM table_name_26 WHERE school = "wichita state" |
### 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_203_720 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the 1987 syracuse orangemen football team scored their largest number of point... |
### Context: CREATE TABLE table_17323092_8 (
date VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What dates did Chris Bosh (18) score the high points?
### Query: SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (18)" |
### Context: CREATE TABLE table_73778 (
"Driver Unit Model No." text,
"Release Year" real,
"Output Voltage (RMS)" text,
"Inputs" text,
"Outputs" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many outputs are there for solid st... |
### Context: CREATE TABLE table_name_20 (
attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance at the game when the record was 35-46?
### Query: SELECT attendance FROM table_name_20 WHERE record = "35-46" |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_prerequisite (
p... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum numb... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### Context: CREATE TABLE table_616 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people live in the district wh... |
### Context: CREATE TABLE table_58783 (
"Name" text,
"Bodyweight" real,
"Snatch" text,
"Clean & Jerk" text,
"Total (kg)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total bodyweight of everyone that has a Snatch of 153.0?
### Query: ... |
### 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_69780 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"10:00" text,
"10:30" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- for the 7:30 of access hollywood what is the 10:00?
### Query: SEL... |
### Context: CREATE TABLE table_name_8 (
gold INTEGER,
nation VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What amount of Gold does Russia have and have a rank larger than 1?
### Query: SELECT SUM(gold) FROM table_name_8 WHERE nation = "... |
### Context: CREATE TABLE table_27675 (
"Position" text,
"Number" real,
"Horse" text,
"Jockey" text,
"Age" real,
"Handicap" text,
"SP" text,
"Distance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who isthe jockey in 10th position?
##... |
### Context: CREATE TABLE table_47323 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TOTAL NUMBER WITH A ROUND BIGGER THAN 7 AND PICK OF 21?
### Qu... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_I... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid numb... |
### Context: CREATE TABLE table_24099916_1 (
model__list_ VARCHAR,
tdp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the model of the processor with a 5.5 w TDP?
### Query: SELECT model__list_ FROM table_24099916_1 WHERE tdp = "5.5 W" |
### Context: CREATE TABLE table_name_45 (
rank INTEGER,
nation VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of a rank whose nation is West Germany and has bronze larger than 0?
### Query: SELECT SUM(rank) FROM table_nam... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
Suggested... |
### Context: CREATE TABLE table_70781 (
"Name" text,
"Born" text,
"Age on mission" real,
"Mission" text,
"Mission dates" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest age of an astronaut named Stu Roosa?
### ... |
### Context: CREATE TABLE table_name_71 (
leading_lady VARCHAR,
studio VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the leading lady for Uni studio and Frank Strayer?
### Query: SELECT leading_lady FROM table_name_71 WHERE st... |
### Context: CREATE TABLE table_29822 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_7315 (
"Tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"Career W-L" text
)
-- Using valid SQLite, answe... |
### Context: CREATE TABLE table_53707 (
"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.
-- In which venue did a home team scor... |
### Context: CREATE TABLE team_half (
year number,
league_id text,
team_id text,
half number,
div_id text,
div_win text,
rank number,
g number,
w number,
l number
)
CREATE TABLE player_award (
player_id text,
award_id text,
year number,
league_id text,
tie te... |
### Context: CREATE TABLE table_10 (
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different nationalities do the players of N... |
### Context: CREATE TABLE table_201_42 (
id number,
"year" text,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did daniels host saturday night live ?
### Query: SELECT COUNT(*) FROM table_201_42 WH... |
### Context: CREATE TABLE table_23399481_4 (
title VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode/s written by Michael Gans & Richard Register?
### Query: SELECT title FROM table_23399481_4 WHERE written_... |
### Context: CREATE TABLE view_unit_status (
apt_id number,
apt_booking_id number,
status_date time,
available_yn others
)
CREATE TABLE apartment_bookings (
apt_booking_id number,
apt_id number,
guest_id number,
booking_status_code text,
booking_start_date time,
booking_end_date... |
### Context: CREATE TABLE table_name_6 (
player VARCHAR,
team VARCHAR,
pick VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Pick smaller than 11, and a Position of rhp, and a Team of new york mets?
### Query: SELE... |
### 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 artist (
artist_name text,
country text,
gender text,
preferred_genre text
)
CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)... |
### Context: CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
booking_start_date DATETIME,
booking_end_date DATETIME
)
CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apar... |
### Context: CREATE TABLE table_name_66 (
chinese__traditional_ VARCHAR,
chinese__simplified_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What would be the traditional Chinese name tat is simplified as ?
### Query: SELECT chinese__traditional_ FROM table... |
### 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_31418 (
"Official name" text,
"INE code" real,
"Name in Spanish" text,
"Name in Basque" text,
"Population (2007)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the official name of the municipality whose name... |
### 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE table_41302 (
"Round #" real,
"Pick #" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average round number with wide receiver as position and Clark University as t... |
### Context: CREATE TABLE table_name_24 (
round INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round in which a player was picked for the Center position?
### Query: SELECT MAX(round) FROM table_name_24 WHERE position =... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE state (
state... |
### Context: CREATE TABLE table_11585313_1 (
name VARCHAR,
date_of_death† VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the person whose date of death is 01-04-1954?
### Query: SELECT name FROM table_11585313_1 WHERE date_of_death† = "0... |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE table_52894 (
"Runner" text,
"Country" text,
"5K Wins" real,
"10K Wins" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 5K wins did Emily Chebet, who had more than 2 total, have?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_59490 (
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" text,
"FA Cup Goals" real,
"League Cup Apps" text,
"League Cup Goals" real,
"Total Apps" text,
"Total Goals" real
)
-- Using valid SQLite, answer the fol... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE 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_name_12 (
genre VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Genre for Malina (ger.-aus.-fr.), an Original Title?
### Query: SELECT genre FROM table_name_12 WHERE original_title = "malina... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
... |
### Context: CREATE TABLE table_name_1 (
engine VARCHAR,
rounds VARCHAR,
driver VARCHAR,
tyres VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, ma... |
### Context: CREATE TABLE table_name_48 (
no_vote VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many no votes did North Dakota have?
### Query: SELECT no_vote FROM table_name_48 WHERE state = "north dakota" |
### 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 Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Student (
Stu... |
### Context: CREATE TABLE table_name_45 (
losses VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Losses have a Name of blair kiel?
### Query: SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel" |
### Context: CREATE TABLE table_name_54 (
losses VARCHAR,
byes INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Of the teams that had more than 0 byes, what was the total number of losses?
### Query: SELECT COUNT(losses) FROM table_name_54 WHERE byes < 0 |
### Context: CREATE TABLE table_203_701 (
id number,
"#" number,
"title" text,
"featured guest(s)" text,
"producer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles are on the album ?
### Query: SELECT COUNT("tit... |
### Context: CREATE TABLE table_45747 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when the score was 88-9... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number... |
### Context: CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
... |
### Context: CREATE TABLE table_70000 (
"Tournament" text,
"Wins" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest number of cuts made while the win was less than 0?
### Query: SELECT ... |
### Context: CREATE TABLE table_9627 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par for Leonard Thompson from the United States with a place of T6?
### Query: ... |
### Context: CREATE TABLE table_74154 (
"Product Name" text,
"Form Factor" text,
"Storage Medium" text,
"Max Usable Capacity (GB)" real,
"Speed ( IOPS )" real,
"Latency (microseconds)" real,
"Bandwidth (GB/s)" text
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE table_name_8 (
launches_to_date VARCHAR,
version VARCHAR,
ccbs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total Launches to date with a Version of 541, and CCBs smaller than 1?
### Query: SELECT COUNT(launches_t... |
### Context: CREATE TABLE table_14342367_13 (
class VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was George W. Gregory's class?
### Query: SELECT class FROM table_14342367_13 WHERE player = "George W. Gregory" |
### Context: CREATE TABLE table_name_77 (
pick__number INTEGER,
round VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the pick numbers where the player was picked in round 5 and overall pick number was greater than 159?... |
### Context: CREATE TABLE table_38611 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game Site has a Date of ... |
### Context: CREATE TABLE procedures (
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,
rel... |
### Context: CREATE TABLE table_72607 (
"Episode #" text,
"Country" text,
"City" text,
"Martial Art/Style" text,
"Masters" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many masters fought using a boxing style?
###... |
### Context: CREATE TABLE table_62684 (
"Main contestant" text,
"Co-contestant (Yaar vs. Pyaar)" text,
"Date performed" text,
"Scores by each individual judge" text,
"Total score/week" text,
"Position" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.