answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University" | What's Fitchburg State University's LEC sport? | CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR) |
SELECT "Municipality" FROM table_24555 WHERE "Pop. Density (per km\u00b2)" = '757.5' | In what municipality were there 757.5 people per km2? | CREATE TABLE table_24555 (
"Municipality" text,
"Type" text,
"District" text,
"Area (km\u00b2)" text,
"Population (2010)" real,
"Pop. Density (per km\u00b2)" text,
"No. of Barangays" real,
"Municipal Mayor" text
) |
SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco" | When did the Grand Prix de Monaco race? | CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR) |
SELECT location FROM table_1974545_2 WHERE nickname = "Falcons" | Where is the school whose students are nicknamed falcons located? | CREATE TABLE table_1974545_2 (location VARCHAR, nickname VARCHAR) |
SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34 | what is the average bronze when the team is northwest territories and gold is more than 34? | CREATE TABLE table_name_23 (
bronze INTEGER,
team VARCHAR,
gold VARCHAR
) |
SELECT circuit FROM table_name_79 WHERE round = 16 | What circuit had 16 rounds? | CREATE TABLE table_name_79 (circuit VARCHAR, round VARCHAR) |
SELECT primary_conference FROM table_1974545_2 WHERE institution = "Salem State University" | What's Salem State University's primary conference? | CREATE TABLE table_1974545_2 (primary_conference VARCHAR, institution VARCHAR) |
SELECT "Catalog" FROM table_69783 WHERE "Date" = 'january 25, 1987' | What is the catalog number for the January 25, 1987 release? | CREATE TABLE table_69783 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) |
SELECT grand_prix FROM table_name_82 WHERE round = 9 | Which Grand Prix had 9 rounds? | CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR) |
SELECT incumbent FROM table_19753079_36 WHERE district = "North Carolina 9" | Name the incumbent for north carolina 9 | CREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND diagnoses.short_title = "Status-post ptca" | report the number of patients diagnosed with percutaneous transluminal coronary angioplasty status who had home health care discharge. | 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 procedures (
... |
SELECT base_fares FROM table_name_18 WHERE fare_categories = "senior/disabled" | What is the Base Fare in the senior/disabled category? | CREATE TABLE table_name_18 (base_fares VARCHAR, fare_categories VARCHAR) |
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7" | Name the total party for north carolina 7 | CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR) |
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'vancocin') | what is the cost for a drug named vancocin? | 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 time
)
CREA... |
SELECT 30 - day_pass FROM table_name_74 WHERE base_fares = "$3" | Which 30-day Pass has a Base Fare of $3? | CREATE TABLE table_name_74 (day_pass VARCHAR, base_fares VARCHAR) |
SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%" | Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0% | CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR) |
SELECT "Finish" FROM table_51641 WHERE "League" = 'al' AND "Year" = '1939' | In the Year 1939, what was the Finish when Al was the League? | CREATE TABLE table_51641 (
"Year" real,
"Franchise" text,
"League" text,
"Percentage" real,
"Finish" text
) |
SELECT length FROM table_name_29 WHERE year = "2012-2013" | What is the length for years 2012-2013? | CREATE TABLE table_name_29 (length VARCHAR, year VARCHAR) |
SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7" | Name the result for north carolina 7 | CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR) |
SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE course_offering.friday = ... | Is Friday the day that Prof. Matthew Schulmerich 's classes always meet ? | 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 varchar,
has_p... |
SELECT engine_type FROM table_name_77 WHERE length = "ft (m)" AND year = "2003" AND numbers = "6600-6684 (84 buses)" | If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type? | CREATE TABLE table_name_77 (engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR) |
SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = "Babson College" | What's Babson College's enrollment? | CREATE TABLE table_1974782_1 (enrollment INTEGER, institution VARCHAR) |
SELECT MAX(founded) FROM table_2076595_1 WHERE school = "Southern Vermont College" | When was Southern Vermont College founded? | CREATE TABLE table_2076595_1 (
founded INTEGER,
school VARCHAR
) |
SELECT length FROM table_name_38 WHERE numbers = "2600-2825 (223 buses)" | For numbers of 2600-2825 (223 buses), what is the length? | CREATE TABLE table_name_38 (length VARCHAR, numbers VARCHAR) |
SELECT MAX(joined) FROM table_1974782_1 WHERE institution = "Clark University" | When has Clark University joined the Conference? | CREATE TABLE table_1974782_1 (joined INTEGER, institution VARCHAR) |
SELECT "Points" FROM table_36737 WHERE "Highest position" < '9' AND "Position" = '22' | What is the number of points associated with the highest position under 9 and a current position of 22? | CREATE TABLE table_36737 (
"Position" real,
"Artist" text,
"Song title" text,
"Highest position" real,
"Points" real
) |
SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw" | What is the lenth of a 2003 Make & Model of nabi 35-lfw? | CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR) |
SELECT type FROM table_1974782_1 WHERE location = "New London, Connecticut" | What's the type of the school in New London, Connecticut? | CREATE TABLE table_1974782_1 (type VARCHAR, location VARCHAR) |
SELECT COUNT("Crowd") FROM table_54374 WHERE "Home team" = 'fitzroy' | What is the size of the crowd when the home team is Fitzroy? | CREATE TABLE table_54374 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT length FROM table_name_92 WHERE engine_type = "diesel" AND numbers = "tbd (13 buses)" | What is the length for a diesel engine with numbers of tbd (13 buses)? | CREATE TABLE table_name_92 (length VARCHAR, engine_type VARCHAR, numbers VARCHAR) |
SELECT MAX(founded) FROM table_1974782_1 WHERE location = "Springfield, Massachusetts" | When was the school in Springfield, Massachusetts founded? | CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR) |
SELECT event FROM table_name_7 WHERE location = "tokyo, japan" AND record = "6-1" | what is the even when the location is tokyo, japan and the record is 6-1? | CREATE TABLE table_name_7 (
event VARCHAR,
location VARCHAR,
record VARCHAR
) |
SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n" | What year has a make & model of mci d4000n? | CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR) |
SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts" | What school is located in Worcester, Massachusetts? | CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR) |
SELECT "Circuit" FROM table_37751 WHERE "Round" = 'italy' | what circuit is in italy | CREATE TABLE table_37751 (
"Date" text,
"Round" text,
"Circuit" text,
"Race 1 Winner" text,
"Race 2 Winner" text,
"Report" text
) |
SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall" | What type has a Date of 8 dec 16, and a Ship of duchess of cornwall? | CREATE TABLE table_name_75 (type VARCHAR, date VARCHAR, ship VARCHAR) |
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13" | Who are the candidates in Florida 13 district? | CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR) |
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 574 | Is 574 for undergrads too ? | CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,... |
SELECT nationality FROM table_name_62 WHERE ship = "minteh" | Which nationality has a Ship of minteh? | CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR) |
SELECT COUNT(candidates) FROM table_19753079_12 WHERE first_elected = 1988 | How many different pairs of candidates were there for the district first elected in 1988? | CREATE TABLE table_19753079_12 (candidates VARCHAR, first_elected VARCHAR) |
SELECT "Score" FROM table_59470 WHERE "Tie no" = '1' | When the tie no was 1, what was the score? | CREATE TABLE table_59470 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) |
SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway" | What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway? | CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR) |
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10" | Who were candidates in Florida 10 district? | CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR) |
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(DEPARTMENT_ID) DESC | For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by time, and order in desc by the y axis. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
... |
SELECT date FROM table_name_87 WHERE ship = "hallbjorg" | Which Date has a Ship of hallbjorg? | CREATE TABLE table_name_87 (date VARCHAR, ship VARCHAR) |
SELECT party FROM table_19753079_12 WHERE district = "Florida 9" | What party got elected in Florida 9 district? | CREATE TABLE table_19753079_12 (party VARCHAR, district VARCHAR) |
SELECT "Directed by" FROM table_30409 WHERE "No. in series" = '116' | Who was the director of the episode with series number 116? | CREATE TABLE table_30409 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) |
SELECT set_3 FROM table_name_24 WHERE total = "45β31" | What is the score of set 3 when the total is 45β31? | CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR) |
SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group" | What is the first round that had #67 the racer's group with the fastest lap? | CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR) |
SELECT "College" FROM table_7382 WHERE "Pick" > '7' | Which colleges have a pick above 7? | CREATE TABLE table_7382 (
"Pick" real,
"Player" text,
"Country of origin*" text,
"PBA team" text,
"College" text
) |
SELECT set_2 FROM table_name_61 WHERE set_3 = "15β6" | What is the score for set 2 when set 3 was 15β6? | CREATE TABLE table_name_61 (set_2 VARCHAR, set_3 VARCHAR) |
SELECT COUNT(fastest_lap) FROM table_19751479_4 WHERE rnd = 10 AND pole_position = "#99 GAINSCO/Bob Stallings Racing" | How many races had #99 gainsco/bob stallings racing in round 10? | CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR) |
SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 86786 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND microbiologyevents.spec_type_desc = 'sputum' ORDER BY microb... | when was patient 86786 received the last sputum microbiology test on the last hospital encounter? | CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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 o... |
SELECT total FROM table_name_68 WHERE set_1 = "15β11" | What is the total when the score of set 1 was 15β11? | CREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR) |
SELECT incumbent FROM table_19753079_8 WHERE first_elected = 2009 | What incumbent was first elected in 2009? | CREATE TABLE table_19753079_8 (incumbent VARCHAR, first_elected VARCHAR) |
SELECT "Team 1" FROM table_59014 WHERE "Team 2" = 'fluminense (rj)' | Who is team 1 where team 2 is Fluminense (RJ)? | CREATE TABLE table_59014 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
) |
SELECT total FROM table_name_5 WHERE set_1 = "15β11" | What is the total when the score of set 1 is 15β11? | CREATE TABLE table_name_5 (total VARCHAR, set_1 VARCHAR) |
SELECT first_elected FROM table_19753079_8 WHERE district = "California 7" | How many were first elected in California 7? | CREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR) |
SELECT "Declination ( J2000 )" FROM table_77642 WHERE "Object type" = 'spiral galaxy' AND "Constellation" = 'pegasus' AND "NGC number" = '7337' | What is the declination of the spiral galaxy Pegasus with 7337 NGC | CREATE TABLE table_77642 (
"NGC number" text,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
) |
SELECT date FROM table_name_50 WHERE total = "25β45" | On what date was the total 25β45? | CREATE TABLE table_name_50 (date VARCHAR, total VARCHAR) |
SELECT district FROM table_19753079_8 WHERE incumbent = "George Miller" | What district did George Miller belong to? | CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR) |
SELECT "CO 2 emissions" FROM table_25837 WHERE "0\u2013100km/h,s 0-62mph,s" = '8.5' | List the amount of carbon emissions for models that go from 0-62 MPH in 8.5 seconds. | CREATE TABLE table_25837 (
"Model" text,
"Engine" text,
"Displacement" text,
"Max. power output" text,
"Peak torque" text,
"0\u2013100km/h,s 0-62mph,s" text,
"Top speed" text,
"CO 2 emissions" text,
"Years" text,
"Note" text,
"Engine code" text
) |
SELECT away_team AS score FROM table_name_59 WHERE away_team = "st kilda" | What was St Kilda's score as the Away team? | CREATE TABLE table_name_59 (away_team VARCHAR) |
SELECT party FROM table_19753079_41 WHERE candidates = "Mark Critz (D) 50.8% Tim Burns (R) 49.2%" | When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party? | CREATE TABLE table_19753079_41 (party VARCHAR, candidates VARCHAR) |
SELECT score FROM table_name_52 WHERE record = "35-31" | The record of 35-31 has what score? | CREATE TABLE table_name_52 (
score VARCHAR,
record VARCHAR
) |
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park" | At the venue Vfl Park, what was the Home team score? | CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR) |
SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney" | When chris carney is the incumbent what are the results? | CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR) |
SELECT p.Id AS "post_link", p.Score, p.CreationDate AS "asked_date", p.ViewCount FROM Posts AS p WHERE p.AcceptedAnswerId IS NULL AND p.PostTypeId = 1 AND p.CreationDate < CURRENT_TIMESTAMP() - 60 AND p.CommunityOwnedDate IS NULL AND p.ClosedDate IS NULL AND NOT EXISTS(SELECT * FROM Posts AS p2 WHERE p2.ParentId = p.Id... | Find questions ripe for the Revival and Necromancer badges. Searches for open, non-CW posts older than 60 days with no accepted answer and no answer scoring 2 or more. (Now updated so merged questions do not appear.) | CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId num... |
SELECT COUNT(reg_gp) FROM table_name_66 WHERE player = "daniel rahimi" AND rd__number > 3 | How many Reg GP does daniel rahimi have with a rd # greater than 3? | CREATE TABLE table_name_66 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR) |
SELECT district FROM table_19753079_41 WHERE first_elected = 1994 | When 1994 is the first elected what is the district? | CREATE TABLE table_19753079_41 (district VARCHAR, first_elected VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER... | please list only UA flights between DENVER and BOSTON | CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone... |
SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20 | What is the lowest Pick # with michael grabner and less than 20 Reg GP? | CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR) |
SELECT incumbent FROM table_19753079_41 WHERE district = "Pennsylvania 3" | When pennsylvania 3 is the district who is the incumbent? | CREATE TABLE table_19753079_41 (incumbent VARCHAR, district VARCHAR) |
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'vasodilator for pulmonary hypertension - treprostinil' AND STRFTIME('%y', treatment.treatmenttime) <= '210... | how many patients have undergone vasodilator for pulmonary hypertension - treprostinil two or more times until 2104? | 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 medication (... |
SELECT class FROM table_name_31 WHERE peak = "fountains fell south top" | Which class has a peak named fountains fell south top? | CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR) |
SELECT candidates FROM table_19753079_41 WHERE first_elected = 1984 | When 1984 is the first elected who are the candidates? | CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR) |
SELECT country FROM table_29789_3 WHERE _percentage_change = "5.7" | Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012? | CREATE TABLE table_29789_3 (
country VARCHAR,
_percentage_change VARCHAR
) |
SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill" | What is the total of Prom in M for Peak great knoutberry hill? | CREATE TABLE table_name_72 (prom__m_ INTEGER, peak VARCHAR) |
SELECT result FROM table_19763199_4 WHERE artist = "Salva Ortega" | What is Salva Ortega's result? | CREATE TABLE table_19763199_4 (result VARCHAR, artist VARCHAR) |
SELECT COUNT("Position") FROM table_72851 WHERE "1st leg" = '1-3' | How many positions correspond to a 1-3 1st leg? | CREATE TABLE table_72851 (
"Position" text,
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
) |
SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth" | What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth? | CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR) |
SELECT televotes FROM table_19763199_4 WHERE jury_votes = 4 | How many televotes are there where there is 4 jury votes? | CREATE TABLE table_19763199_4 (televotes VARCHAR, jury_votes VARCHAR) |
SELECT PHONE_NUMBER, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COMMISSION_PCT DESC | For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of phone_number and commission_pct , and list total number in descending order. | 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 locations (
LOCAT... |
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi" | In which movie is Selva Nambi a co-singer? | CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR) |
SELECT jury_votes FROM table_19763199_4 WHERE televotes = 7 | How many jury votes for the televote of 7? | CREATE TABLE table_19763199_4 (jury_votes VARCHAR, televotes VARCHAR) |
SELECT "City" FROM table_14402 WHERE "ICAO" = 'wadd' | Which city's ICAO is WADD? | CREATE TABLE table_14402 (
"City" text,
"Province/Region" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) |
SELECT music_director FROM table_name_3 WHERE year = 1994 | Who was the music director in 1994? | CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR) |
SELECT result FROM table_19763199_3 WHERE artist = "Normativa Vigente" | What is the result for Normativa Vigente? | CREATE TABLE table_19763199_3 (result VARCHAR, artist VARCHAR) |
SELECT "name" FROM table_204_626 ORDER BY "death date" LIMIT 1 | which child was the first to die ? | CREATE TABLE table_204_626 (
id number,
"image" number,
"name" text,
"birth date" text,
"death date" text,
"brief biography" text
) |
SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson" | What years was Denis Lawson nominated for an award? | CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR) |
SELECT song FROM table_19763199_3 WHERE total_votes = 24 | What song has 24 votes? | CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR) |
SELECT total FROM table_name_80 WHERE set_3 = "25β14" | What was the total when the set 3 was 25 14? | CREATE TABLE table_name_80 (
total VARCHAR,
set_3 VARCHAR
) |
SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke" | Did Jason Pennycooke win the award he was nominated for? | CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR) |
SELECT MIN(total_votes) FROM table_19763199_3 | What is the least total votes? | CREATE TABLE table_19763199_3 (total_votes INTEGER) |
SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "California" | What is the average match score of CA? | CREATE TABLE finrev_fed_key_17 (
state_code number,
state text,
#_records text
)
CREATE TABLE finrev_fed_17 (
state_code number,
idcensus number,
school_district text,
nces_id text,
yr_data number,
t_fed_rev number,
c14 number,
c25 number
)
CREATE TABLE ndecoreexcel_math_gr... |
SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival" | How many years was Best Musical Revival nominated? | CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR) |
SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer EAI" | How many votes does Carlos Ferrer Eai have? | CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR) |
SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code | List document type codes and the number of documents in each code. | CREATE TABLE Documents (
document_type_code VARCHAR
) |
SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson" | What award was Denis Lawson nominated for in the Best Actor in a Musical category? | CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR) |
SELECT MAX(_number) FROM table_197638_6 | How many players are on this list? | CREATE TABLE table_197638_6 (_number INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.