text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_55 (
grid VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grid with 71 laps and the driver, Allan McNish.
### Query: SELECT grid FROM table_name_55 WHERE laps = "71" AND drive... |
### Context: CREATE TABLE table_54051 (
"Year" text,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Time" text,
"Purse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Trainer with the Year of 2013?
### Query: SELECT... |
### Context: CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE game (
season VARCHAR,
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the season, home team, away team of all the games.
### Query: SELECT season, home_team, away_team FROM game |
### Context: CREATE TABLE table_11907 (
"Model" text,
"Released" text,
"Form factor" text,
"Chipset" text,
"Memory Type" text,
"Max. Memory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What model number had a chipset of intel q43?
### Query:... |
### 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 table_40030 (
"Country" text,
"Men's race" real,
"Women's race" real,
"Men's wheelchair" real,
"Women's Wheelchair" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest Total when Women's Whee... |
### Context: CREATE TABLE table_62822 (
"Location" text,
"Year" text,
"Champion" text,
"Runner-up" text,
"Score" text,
"Name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location in 2009?
### Query: SELECT "Location" FROM table_... |
### 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 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 table_6875 (
"Name" text,
"Position" text,
"Number" real,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Season, when Name is Tony Boy Espinosa?
### Que... |
### Context: CREATE TABLE table_name_99 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2005 when the 2008 shows grand slam tournaments?
### Query: SELECT 2005 FROM table_name_99 WHERE 2008 = "grand slam tournaments" |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE... |
### Context: CREATE TABLE table_name_76 (
democratic_ticket VARCHAR,
workers_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
### Query: SELECT democratic_ticket FR... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
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_tri... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_name_18 (
country VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country was the game played in when the location was trestles?
### Query: SELECT country FROM table_name_18 WHERE location = "trestles" |
### Context: CREATE TABLE table_57089 (
"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.
-- When did Essendon play at home?
##... |
### Context: CREATE TABLE table_1973729_2 (
current_conference VARCHAR,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which conference has the nickname Chargers?
### Query: SELECT current_conference FROM table_1973729_2 WHERE nickname = "Chargers" |
### Context: CREATE TABLE table_name_21 (
s390x VARCHAR,
ia64 VARCHAR,
alpha VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which s390x contains a yes ia64 and a no for alpha?
### Query: SELECT s390x FROM table_name_21 WHERE ia64 = "yes" AND alpha = "no... |
### Context: CREATE TABLE table_name_7 (
home VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What home team has a record of 4-3?
### Query: SELECT home FROM table_name_7 WHERE record = "4-3" |
### 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_39653 (
"Shirt No" real,
"Nationality" text,
"Player" text,
"Birth Date" text,
"Height" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player with a height of 205 and s... |
### Context: CREATE TABLE table_23908 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Accreditation" text,
"Founded" text,
"Enrollment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of school is Cordoba Universi... |
### Context: CREATE TABLE table_51196 (
"Year" real,
"Theme" text,
"Artist" text,
"Composition" text,
"Mintage" real,
"Issue Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the year of the pig theme?
### Query: SELECT "Year"... |
### Context: CREATE TABLE table_name_14 (
record VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record has john flemming as the opponent?
### Query: SELECT record FROM table_name_14 WHERE opponent = "john flemming" |
### Context: CREATE TABLE table_name_49 (
date VARCHAR,
margin_of_victory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the 4 strokes margin of victory?
### Query: SELECT date FROM table_name_49 WHERE margin_of_victory = "4 strokes" |
### 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 gwyjzb (
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 program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tes... |
### Context: CREATE TABLE products (
name VARCHAR,
price VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Select the name of the products with a price less than or equal to $200.
### Query: SELECT name FROM products WHERE price <= 200 |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalp... |
### Context: CREATE TABLE table_name_16 (
position INTEGER,
draws VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has Draws smaller than 7 and a Played larger than 22?
### Query: SELECT AVG(position) FROM table_name_16 WHER... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE table_52304 (
"D 49 \u221a" text,
"D 48 \u221a" text,
"D 47 \u221a" text,
"D 46 \u221a" text,
"D 45 \u221a" text,
"D 44 \u221a" text,
"D 43 \u221a" text,
"D 42 \u221a" text,
"D 41 \u221a" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_204_217 (
id number,
"camp" text,
"div sec\ndivision" text,
"admin\ndistrict" text,
"9 feb" number,
"11 feb" number,
"16 feb" number,
"25 feb" number,
"27 feb" number,
"2 mar" number,
"4 mar" number,
"6 mar" number,
"11 mar" number,
... |
### Context: CREATE TABLE table_name_43 (
nfl_club VARCHAR,
player VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which NFL Club has a Player of sam tidmore, and a Pick of 81?
### Query: SELECT nfl_club FROM table_name_43 WHERE player = "s... |
### Context: CREATE TABLE table_name_49 (
type VARCHAR,
unit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)?
### Query: SELECT type FROM table_name_49 WHERE unit... |
### Context: CREATE TABLE table_1921_1 (
start_of_conflict VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many conflicts started in Afghanistan?
### Query: SELECT COUNT(start_of_conflict) FROM table_1921_1 WHERE location = "Afghanistan... |
### Context: CREATE TABLE table_73422 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_name_85 (
player VARCHAR,
nationality VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the player for nationality of canada for pick of 43
### Query: SELECT player FROM table_name_85 WHERE nationality ... |
### 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_70490 (
"Season" text,
"Team" text,
"Country" text,
"Division" real,
"Apps" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of goals that the Partizan team from the country of... |
### Context: CREATE TABLE table_38902 (
"Pos." real,
"Car #" real,
"Driver" text,
"Make" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Car # has a Make of toyota, and a Pos of 7?
### Query: SELECT MAX("Car #") FROM table_38902 W... |
### Context: CREATE TABLE table_36138 (
"Year of Issue" real,
"Weight" text,
"Diameter" text,
"Thickness" text,
"Edge" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year of Issue has a Thickness of 1.42mm?
### Query: SELECT MAX("Year of Issu... |
### 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 SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostNotices (
Id number,
PostId number... |
### Context: CREATE TABLE table_name_83 (
years_in_toronto VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long has Sebastian Telfair played for Toronto?
### Query: SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telf... |
### Context: CREATE TABLE table_name_62 (
incumbent VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Incumbent has a District of massachusetts 2?
### Query: SELECT incumbent FROM table_name_62 WHERE district = "massachusetts 2" |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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,
... |
### Context: CREATE TABLE table_name_83 (
title VARCHAR,
type VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Title has a Type of ep and a Year larger than 2003?
### Query: SELECT title FROM table_name_83 WHERE type = "ep" AND year > ... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_74717 (
"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 average crowd size when... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmi... |
### Context: CREATE TABLE table_12055 (
"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 away team scored 17.7 (109)?
... |
### Context: CREATE TABLE table_name_24 (
city VARCHAR,
state_territory VARCHAR,
icao VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has tasmania as the state/territory and a ICAO of ymhb?
### Query: SELECT city FROM table_name_24 WHERE state... |
### Context: CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State T... |
### Context: CREATE TABLE table_name_13 (
swimsuit VARCHAR,
evening_gown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the swimsuit score when evening gown score is 9.165 (3)?
### Query: SELECT swimsuit FROM table_name_13 WHERE evening_gown = "9.16... |
### 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_24 (
bike VARCHAR,
rider VARCHAR,
grid VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?
### Query: SELECT bike FR... |
### Context: CREATE TABLE table_21637 (
"Position" real,
"Team" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Average 1" text,
"Points 2" real
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE table_13209 (
"Class" text,
"Team" text,
"103lbs" text,
"112lbs" text,
"119lbs" text,
"125lbs" text,
"130lbs" text,
"135lbs" text,
"140lbs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 140lbs f... |
### Context: CREATE TABLE table_51987 (
"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 smallest crowd that att... |
### Context: CREATE TABLE table_name_59 (
place VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place with a to par of E and a score of 69-69-72=210?
### Query: SELECT place FROM table_name_59 WHERE to_par = "e"... |
### Context: CREATE TABLE table_22272 (
"Player" text,
"Played" real,
"Legs Won" real,
"Legs Lost" real,
"LWAT" real,
"100+" real,
"140+" real,
"180s" real,
"High Checkout" real,
"3-dart Average" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
YLJGDM text,... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline ... |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: CREATE TABLE table_23676 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different results were there for the number of votes fro Obama i... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
A... |
### Context: CREATE TABLE table_10527215_3 (
report VARCHAR,
pole_position VARCHAR,
winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the report on Penske Racing winning while the pole position was Al Unser?
### Query: SELECT COUNT(repo... |
### 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 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_test_16 (
"id" int,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"severe_hypertension" bool,
"adrenaline" bool,
"stroke" bool,
"renal_disease" bool,
"severe_uncontrolled_arterial_hypertension" bool,
"hepatic_disease... |
### Context: CREATE TABLE table_8571 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date is the Chrysalis Records label.?
### Query: SELECT "Date" FROM table_8571 WHERE "L... |
### Context: CREATE TABLE table_29162 (
"Chambering" text,
"P1 diameter (mm)" text,
"A external (cm 2 )" text,
"P max ( bar )" real,
"F bolt ( kgf )" real,
"F bolt" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many external (cm 2 ) are the... |
### Context: CREATE TABLE table_49142 (
"E. coli" text,
"Yeast (S. cerevisiae)" text,
"Human" text,
"Type" text,
"Substrates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which E. coli has a substrate of uracil?
### Query: SELECT "E. coli" FROM t... |
### Context: CREATE TABLE table_204_814 (
id number,
"date" text,
"opposition" text,
"result" text,
"score" text,
"brazil scorers" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did brazil play west germany... |
### Context: CREATE TABLE table_name_38 (
score VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score for the tournament cagnes-sur-mer?
### Query: SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer" |
### Context: CREATE TABLE table_name_4 (
player VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The Position of Centre is what Player?
### Query: SELECT player FROM table_name_4 WHERE position = "centre" |
### Context: CREATE TABLE table_name_50 (
rank INTEGER,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest rank of a player who played in 2012?
### Query: SELECT MIN(rank) FROM table_name_50 WHERE event = "2012" |
### Context: CREATE TABLE table_29273182_1 (
written_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode with a production code of ip03007?
### Query: SELECT written_by FROM table_29273182_1 WHERE production_code... |
### Context: CREATE TABLE table_1139835_1 (
crowd VARCHAR,
grand_finalist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the crowd when the grand finalist was south melbourne?
### Query: SELECT crowd FROM table_1139835_1 WHERE grand_finalist = "Sout... |
### Context: CREATE TABLE table_name_33 (
grand_cru VARCHAR,
wine_style VARCHAR,
village VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin?
### Query: SELECT grand_cru FRO... |
### Context: CREATE TABLE table_61463 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is from scotland?
### Query: SELECT "Player" FROM table... |
### 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 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,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 regions ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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... |
### Context: CREATE TABLE table_name_8 (
date INTEGER,
attendance VARCHAR,
venue VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the away venue with an opponent of wightlink raiders with an attendance larger than ... |
### Context: CREATE TABLE table_79074 (
"Number" real,
"Year Start" real,
"Year End" real,
"Name" text,
"Home Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year Start has a Number of 28?
### Query: SELECT MAX("Year Start") FROM table_7... |
### Context: CREATE TABLE table_name_65 (
december VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which December has a Record of 4-3-6?
### Query: SELECT december FROM table_name_65 WHERE record = "4-3-6" |
### 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_64545 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least game that was played in Alexander Memorial Col... |
### Context: CREATE TABLE table_10707176_2 (
rnd VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rnds were there for the phoenix international raceway?
### Query: SELECT rnd FROM table_10707176_2 WHERE circuit = "Phoenix International R... |
### Context: CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are th... |
### 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_204_541 (
id number,
"name" text,
"area" text,
"height" text,
"floors" number,
"year" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- of the buildings , which is only 48 meters tall ?
### Query: SELECT "name" FR... |
### Context: CREATE TABLE table_27713890_1 (
no_in_series INTEGER,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha episode number in the series had 24.8 million u.s. viewers?
### Query: SELECT MIN(no_in_series) FROM table_27713890_1... |
### Context: CREATE TABLE table_204_341 (
id number,
"name in english" text,
"name in turkish" text,
"area (km2)" text,
"depth" text,
"location (districts and/or provinces)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- other than lake ercek , ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.