text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Nu... |
### Context: CREATE TABLE table_58745 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name The Score of Player of seve ballesteros?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_42 (
authors VARCHAR,
unit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which authors have a Unit of densu -ciula formation?
### Query: SELECT authors FROM table_name_42 WHERE unit = "densuș-ciula formation" |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
fli... |
### Context: CREATE TABLE table_23192 (
"Player" text,
"Games Played" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest amount of assists that Nic... |
### 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 program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offeri... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE... |
### Context: CREATE TABLE region (
region_id number,
region_code text,
region_name text
)
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,
... |
### 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 customer (
cust_id text,
cust_name text,
acc_type text,
acc_bal number,
no_of_loans number,
credit_score number,
branch_id number,
state text
)
CREATE TABLE bank (
branch_id number,
bname text,
no_of_customers number,
city text,
state text
)... |
### Context: CREATE TABLE table_2538117_12 (
organization VARCHAR,
founding_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What organization had the founding date of 1998-11-08?
### Query: SELECT organization FROM table_2538117_12 WHERE founding_date =... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABL... |
### Context: CREATE TABLE table_37410 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest lost from drawn of 1 or greater?
### Query: SELECT MIN("Lost") FRO... |
### Context: CREATE TABLE table_18240 (
"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 party did Beau Boulter represent?
### Query: SELECT "... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
... |
### Context: CREATE TABLE table_33863 (
"Frequency" real,
"Callsign" text,
"Brand" text,
"City of License" text,
"Website" text,
"Webcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Website has a Frequency smaller than 760 and a Callsi... |
### Context: CREATE TABLE table_name_15 (
team VARCHAR,
goals_against VARCHAR,
drawn VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85?
... |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title 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 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_11393 (
"Data" text,
"Total gain" text,
"Percent gain" text,
"2003" text,
"2000" text,
"1997" text,
"1994" text,
"1991" text,
"1988" text,
"1985" text,
"1982" text,
"1979" text,
"1976" text,
"1973" text,
"1970" text,
"1967" ... |
### Context: CREATE TABLE table_74712 (
"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 venue when Geelong is t... |
### Context: CREATE TABLE table_10875694_11 (
product_no VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many products have the title 'Jak 3'?
### Query: SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3" |
### 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_204_345 (
id number,
"discipline" text,
"amanda" number,
"bernie" number,
"javine h" number,
"julia" number,
"michelle" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first discipline listed on t... |
### Context: CREATE TABLE table_17623902_1 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of this episode that was written by Debbie Sarjeant?
### Query: SELECT original_air_date FROM ta... |
### Context: CREATE TABLE table_55295 (
"Grid" real,
"Driver" text,
"Constructor" text,
"Qual" real,
"Rank" real,
"Laps" real,
"Time/Retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest grid for Laps more than 137 and ran... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Desc... |
### Context: CREATE TABLE table_name_87 (
points INTEGER,
laps INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average amount of points larger than 154 laps?
### Query: SELECT AVG(points) FROM table_name_87 WHERE laps > 154 |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE... |
### Context: CREATE TABLE table_33570 (
"Type" text,
"Suffix" text,
"Valency change" text,
"Example" text,
"Meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the example with the associative type?
### Query: SELECT "Example" FROM tabl... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
... |
### Context: CREATE TABLE table_name_6 (
dates VARCHAR,
tournament_location VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What dates was champion masahiro kawamura at the ibaraki country club tournament?
### Query: SELECT dates FROM t... |
### Context: CREATE TABLE table_2362606_1 (
score_in_final VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score in the final in 1988?
### Query: SELECT score_in_final FROM table_2362606_1 WHERE year = 1988 |
### Context: CREATE TABLE Attribute_Definitions (
attribute_id INTEGER,
attribute_name VARCHAR(30),
attribute_data_type VARCHAR(10)
)
CREATE TABLE Catalog_Contents (
catalog_entry_id INTEGER,
catalog_level_number INTEGER,
parent_entry_id INTEGER,
previous_entry_id INTEGER,
next_entry_id... |
### Context: CREATE TABLE table_67502 (
"Season" real,
"Cars Entered" real,
"Winning Driver" text,
"Second Driver" text,
"Third Driver" text,
"Race Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many average Cars Entered have a Third... |
### Context: CREATE TABLE zyjybgb (
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_204_668 (
id number,
"#" number,
"menteri besar" text,
"took office" text,
"left office" text,
"party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of menteri besar that served 4 or more years... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE table_name_78 (
fatalities VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number of Fatalties is associated with the Time of 12:38:46?
### Query: SELECT fatalities FROM table_name_78 WHERE time = "12:38:46" |
### 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_77168 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date is Game 3 with Boston Road Team?
### Query: SELECT "Date" FROM table_77168 WH... |
### Context: CREATE TABLE table_17596418_4 (
p VARCHAR,
moving_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the P for the player moving from Everton?
### Query: SELECT p FROM table_17596418_4 WHERE moving_from = "Everton" |
### Context: CREATE TABLE table_203_258 (
id number,
"year" number,
"team" text,
"games" number,
"combined tackles" number,
"tackles" number,
"assisted tackles" number,
"sacks" number,
"forced fumbles" number,
"fumble recoveries" number,
"fumble return yards" number,
"int... |
### Context: CREATE TABLE table_204_598 (
id number,
"name" text,
"state of residence" text,
"took office" text,
"left office" text,
"president served under" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the advisor who served under the sa... |
### Context: CREATE TABLE table_name_68 (
frequency VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the frequency when the format is contemporary christian music?
### Query: SELECT frequency FROM table_name_68 WHERE format = "contempo... |
### Context: CREATE TABLE table_75487 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total is the lowest one that has a Rank smaller than 1?
### Query: SELEC... |
### Context: CREATE TABLE table_name_79 (
top_5 INTEGER,
cuts_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average for the top five having a number of 42 cuts made.
### Query: SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42 |
### Context: CREATE TABLE table_18602462_22 (
round_of_32 VARCHAR,
round_of_16 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
### Query: SELECT COUNT(round_of_... |
### Context: CREATE TABLE suppliers (
supplier_name VARCHAR,
supplier_phone VARCHAR,
supplier_id VARCHAR
)
CREATE TABLE product_suppliers (
supplier_id VARCHAR,
product_id VARCHAR
)
CREATE TABLE products (
product_id VARCHAR,
product_name VARCHAR
)
-- Using valid SQLite, answer the follo... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival... |
### Context: CREATE TABLE table_11677691_2 (
school VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT SCHOOL DOES HA'SEAN CLINTON-DIX BELONG TO?
### Query: SELECT school FROM table_11677691_2 WHERE player = "Ha'Sean Clinton-Dix" |
### Context: CREATE TABLE mzb (
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 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_45558 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_62591 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tie no for Away Team Ipswich Town?
### Query: SELECT "Tie no" FROM table_6259... |
### Context: CREATE TABLE table_name_13 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the away team southport?
### Query: SELECT score FROM table_name_13 WHERE away_team = "southport" |
### Context: CREATE TABLE table_56836 (
"Name" text,
"COSPAR ID SATCAT \u2116" text,
"Launch date (UTC)" text,
"Launch vehicle" text,
"Launch site" text,
"Launch designation" text,
"Longitude" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE ... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### 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 Documents_to_be_destroyed (
Destroyed_by_Employee_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the employee ids and the number of documents destroyed by each employee.
### Query: SELECT Destroyed_by_Employee_ID, COUNT(*) FROM... |
### Context: CREATE TABLE table_204_292 (
id number,
"no." number,
"name" text,
"class" number,
"games" number,
"minutes" number,
"points" number,
"2 points\n(made/attempts)" text,
"2 points\n(%)" number,
"3 points\n(made/attempts)" text,
"3 points\n(%)" number,
"free thr... |
### Context: CREATE TABLE table_62767 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Dolphins points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the most in att... |
### Context: CREATE TABLE table_name_2 (
event VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was in 2006?
### Query: SELECT event FROM table_name_2 WHERE year = 2006 |
### Context: CREATE TABLE table_name_33 (
to_par VARCHAR,
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which To Par has a Score smaller than 70, and a Player of matt kowal?
### Query: SELECT to_par FROM table_name_33 WHERE score ... |
### Context: CREATE TABLE table_25017530_5 (
pick__number INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least pick number for steven turner
### Query: SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner" |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE 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_44 (
record VARCHAR,
loss VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Loss of o'connor (0-1)?
### Query: SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)" |
### Context: CREATE TABLE table_name_72 (
rank VARCHAR,
round2 VARCHAR,
round3 VARCHAR,
total_points VARCHAR,
round4 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the rank when the total points is more than 194, round4 is less than 64, r... |
### Context: CREATE TABLE event (
id number,
name text,
stadium_id number,
year text
)
CREATE TABLE stadium (
id number,
name text,
capacity number,
city text,
country text,
opening_year number
)
CREATE TABLE swimmer (
id number,
name text,
nationality text,
met... |
### Context: CREATE TABLE table_23619005_3 (
position VARCHAR,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position of the player from Saskatchewan Roughriders?
### Query: SELECT position FROM table_23619005_3 WHERE cfl_team = "Sask... |
### Context: CREATE TABLE table_name_9 (
totaltk INTEGER,
yards INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the sum of totaltk when yards is less than 0?
### Query: SELECT SUM(totaltk) FROM table_name_9 WHERE yards < 0 |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_65236 (
"Title" text,
"Series" text,
"Characters" text,
"Production Num." real,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With 4645 as the production number what was the title?
### Query: SELECT "... |
### 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 wdmzjzjlb (
CYBQDM t... |
### Context: CREATE TABLE table_name_54 (
against VARCHAR,
opposing_teams VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the against when the opposing team is Italy?
### Query: SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams = "italy" |
### Context: CREATE TABLE table_24543 (
"Year" real,
"Horse" text,
"Driver" text,
"Trainer" text,
"Country of owner" text,
"Odds of winner" text,
"Winning time (km rate)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When were the odds of w... |
### Context: CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE member (
Member_ID int,
Member_Name t... |
### Context: CREATE TABLE table_name_24 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score on 22 September 1972?
### Query: SELECT score FROM table_name_24 WHERE date = "22 september 1972" |
### 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### 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_41309 (
"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 Label for the Covered Song named ' sign o' th... |
### Context: CREATE TABLE table_42161 (
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team #2 has a 1st leg of 70 - 44?
### Query: SELECT "Team #2" FROM table_42161 WHERE... |
### Context: CREATE TABLE table_55886 (
"Software" text,
"Latest stable date (version)" text,
"Cost ( USD )" text,
"Open source" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the software with the latest stable date of 0.6.1
#... |
### Context: CREATE TABLE table_5199 (
"Pick #" real,
"MLS Team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many picks did Mike Zaher have?
### Query: SELECT SUM("Pick #") FROM table_5199 ... |
### 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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_name_41 (
fa_cup_goals VARCHAR,
name VARCHAR,
league_cup_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many FA cup goals have Jimmy Nicholson as the name, and league cup goals greater than 0?
### Query: SELECT ... |
### Context: CREATE TABLE table_16275828_4 (
program VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What programs were held in charleston, illinois?
### Query: SELECT program FROM table_16275828_4 WHERE location = "Charleston, Illinois" |
### Context: CREATE TABLE table_20668 (
"Code" real,
"County" text,
"Former Province" text,
"Area (km 2 )" text,
"Population Census 2009" real,
"Capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What capital's county had a population of 73... |
### Context: CREATE TABLE table_name_38 (
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A round of 4 is in what position?
### Query: SELECT position FROM table_name_38 WHERE round = 4 |
### Context: CREATE TABLE table_name_90 (
week INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest week with the Atlanta Falcons as the opponent?
### Query: SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.