answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT location FROM table_name_47 WHERE opponent = "chad armstrong"
What is the location of the match with chad armstrong as the opponent?
CREATE TABLE table_name_47 (location VARCHAR, opponent VARCHAR)
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0
Which college was the wide receiver whose pick was less than 130.0 picked from?
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN...
show me the top four most common diagnoses for patients 50s of age a year before?
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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) ...
SELECT score FROM table_name_65 WHERE player = "scott verplank"
What is Scott Verplank's score?
CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)
SELECT position FROM table_14650373_1 WHERE pick__number = 34
What position(s) does the player drafted #34 play?
CREATE TABLE table_14650373_1 (position VARCHAR, pick__number VARCHAR)
SELECT "Game 1" FROM table_75299 WHERE "Game 2" = 'bob lindner'
What game 1 has bob lindner as game 2?
CREATE TABLE table_75299 ( "Position" text, "Game 1" text, "Game 2" text, "Game 3" text, "Exhibition*" text )
SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin"
What place is United States player Corey Pavin in?
CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT MAX(pick__number) FROM table_14650373_1
What is the highest pick number?
CREATE TABLE table_14650373_1 (pick__number INTEGER)
SELECT installation_date, COUNT(installation_date) FROM station GROUP BY installation_date ORDER BY installation_date
Tell me the trend using a line chart to show the total number of the station over the installation date, could you sort by the x-axis in asc?
CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, ...
SELECT country FROM table_name_76 WHERE score = 70 - 71 - 72 = 213
Which country has a score of 70-71-72=213?
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
SELECT pick__number FROM table_14650373_1 WHERE college = "Arizona State"
What number picked were players from arizona state picked?
CREATE TABLE table_14650373_1 (pick__number VARCHAR, college VARCHAR)
SELECT "Name" FROM table_56780 WHERE "West or south terminus" = 'ne 112 west of blue springs'
what is the name when the west or south terminus is ne 112 west of blue springs?
CREATE TABLE table_56780 ( "County" text, "Name" text, "Length (miles)" real, "West or south terminus" text, "East or north terminus" text )
SELECT place FROM table_name_95 WHERE player = "bob tway"
Where does Bob Tway Place?
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
SELECT nfl_team FROM table_14650373_1 WHERE player = "Keith Woodside"
What NFL team does player keith woodside play for?
CREATE TABLE table_14650373_1 (nfl_team VARCHAR, player VARCHAR)
SELECT frequency FROM table_name_71 WHERE facility_id = 13598
Which Frequency has a Facility ID of 13598?
CREATE TABLE table_name_71 ( frequency VARCHAR, facility_id VARCHAR )
SELECT place FROM table_name_59 WHERE to_par = "e" AND score = 69 - 69 - 72 = 210
What is the place with a to par of E and a score of 69-69-72=210?
CREATE TABLE table_name_59 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_14655985_1 WHERE college = "Penn State"
what's the player with college being penn state
CREATE TABLE table_14655985_1 (player VARCHAR, college VARCHAR)
SELECT COUNT("Pick") FROM table_7876 WHERE "Player" = 'brandon rush'
WHAT WAS THE PICK NUMBER FOR BRANDON RUSH?
CREATE TABLE table_7876 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "College" text )
SELECT country FROM table_name_26 WHERE player = "dave barr"
WHAT IS THE COUNTRY WITH DAVE BARR?
CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)
SELECT position FROM table_14655985_1 WHERE college = "USC"
what's the position with college being usc
CREATE TABLE table_14655985_1 (position VARCHAR, college VARCHAR)
SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_0.department = 'COMP' AND COURSE_0.number = 239 AND COURSE_1.course_id = course_prerequisite.course_id
COMP 239 is a have-to for what classes ?
CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varch...
SELECT to_par FROM table_name_77 WHERE place = "t7" AND score = 72 - 67 = 139 AND player = "raymond floyd"
WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
SELECT COUNT(college) FROM table_14655985_1 WHERE player = "Rich Voltzke"
how many college with player being rich voltzke
CREATE TABLE table_14655985_1 (college VARCHAR, player VARCHAR)
SELECT COUNT(setting) FROM table_24463470_1 WHERE unlocked_by = "N/A"
How many instances is the unlocked n/a?
CREATE TABLE table_24463470_1 ( setting VARCHAR, unlocked_by VARCHAR )
SELECT place FROM table_name_78 WHERE player = "mark o'meara"
WHAT IS THE PLACE WITH PLAYER mark o'meara?
CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)
SELECT college FROM table_14655985_1 WHERE position = "Placekicker"
what's the college with position being placekicker
CREATE TABLE table_14655985_1 (college VARCHAR, position VARCHAR)
SELECT time FROM table_name_47 WHERE away_team = "convoy sun hei team a"
What was the time for the match with away team Convoy Sun Hei Team A?
CREATE TABLE table_name_47 ( time VARCHAR, away_team VARCHAR )
SELECT MAX(drawn) FROM table_name_64 WHERE position < 4 AND lost < 2
Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?
CREATE TABLE table_name_64 (drawn INTEGER, position VARCHAR, lost VARCHAR)
SELECT player FROM table_14655985_1 WHERE pick__number = 64
who is the the player where pick # is 64
CREATE TABLE table_14655985_1 (player VARCHAR, pick__number 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEWARK' AND date_day.day_number = 9 AND date_day.month_number = 4 AND da...
i would like to book a flight from BALTIMORE to NEWARK early in the morning on 4 9
CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, fligh...
SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14
How many Points have a Position larger than 3, and a Played smaller than 14?
CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)
SELECT date FROM table_14655917_1 WHERE opponent = "Denver Broncos"
What day were the Denver Broncos the opponent?
CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)
SELECT "Date of appointment" FROM table_58671 WHERE "Outgoing manager" = 'zoltán varga'
When was outgoing manager Zolt n Varga appointed?
CREATE TABLE table_58671 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Position in table" text, "Replaced by" text, "Date of appointment" text )
SELECT AVG(lost) FROM table_name_4 WHERE position = 4 AND drawn < 3
Which Lost has a Position of 4, and a Drawn smaller than 3?
CREATE TABLE table_name_4 (lost INTEGER, position VARCHAR, drawn VARCHAR)
SELECT date FROM table_14655917_1 WHERE opponent = "Detroit Lions"
What day was the oppenent the detroit lions?
CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.gender = "F"
count the number of patients whose marital status is married and gender is f?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT AVG(position) FROM table_name_60 WHERE lost > 4 AND played > 14
Which Position has a Lost larger than 4, and a Played larger than 14?
CREATE TABLE table_name_60 (position INTEGER, lost VARCHAR, played VARCHAR)
SELECT week FROM table_14656147_2 WHERE record = "0-1"
List the record of 0-1 from the table?
CREATE TABLE table_14656147_2 (week VARCHAR, record VARCHAR)
SELECT "Netflix" FROM table_19884 WHERE "Segment D" = 'Pressure Gauges'
What is the Netflix where Segment D is pressure gauges ?
CREATE TABLE table_19884 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders"
On which week was the opponent the oakland raiders?
CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR)
SELECT record FROM table_14656147_2 WHERE result = "L 3-6"
Type the record details if any result has L 3-6 in it?
CREATE TABLE table_14656147_2 (record VARCHAR, result VARCHAR)
SELECT result FROM table_name_25 WHERE week < 7 AND game_site = "los angeles memorial coliseum"
Name the result for week less than 7 and game sites of los angeles memorial coliseum
CREATE TABLE table_name_25 ( result VARCHAR, week VARCHAR, game_site VARCHAR )
SELECT attendance FROM table_name_85 WHERE opponent = "denver broncos"
What was the attendance at the game where the opponent was the denver broncos?
CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR)
SELECT MIN(attendance) FROM table_14656147_2
Find the least value of attendance?
CREATE TABLE table_14656147_2 (attendance INTEGER)
SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY EMP_FNAME ORDER BY EMP_FNAME
How many courses each teacher taught? Show me a bar chart, I want to rank bars in ascending order please.
CREATE TABLE DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_J...
SELECT SUM(enrollment) FROM table_name_38 WHERE location = "platteville, wi"
How many people are enrolled in platteville, wi?
CREATE TABLE table_name_38 (enrollment INTEGER, location VARCHAR)
SELECT attendance FROM table_14656147_2 WHERE opponent = "Tampa Bay Buccaneers"
type the attendance for playing with tampa bay buccaneers?
CREATE TABLE table_14656147_2 (attendance VARCHAR, opponent 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND date_day.day_number = 27 AND date_day.month_number = 8 AND d...
what are the flights from BALTIMORE to DALLAS on sunday afternoon
CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, ...
SELECT nickname FROM table_name_93 WHERE institution = "university of wisconsin-platteville"
What is the team nickname of university of wisconsin-platteville?
CREATE TABLE table_name_93 (nickname VARCHAR, institution VARCHAR)
SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE revenue_per_capita = "$6,126"
How many numbers were recorded under revenue when revenue per capita was $6,126?
CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Self Pay" AND procedures.long_title = "Regional lymph node excision"
provide the number of self pay insurance patients who had regional lymph node excision.
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 lab ( subject_id text, hadm_id text, ...
SELECT to_par FROM table_name_43 WHERE place = "3"
What is To Par, when Place is 3?
CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR)
SELECT spending_per_capita FROM table_14700336_1 WHERE revenue_per_capita = "$7,755"
What was the spending per capita when the revenue per capita was $7,755?
CREATE TABLE table_14700336_1 (spending_per_capita VARCHAR, revenue_per_capita VARCHAR)
SELECT MAX("Rank") FROM table_63877 WHERE "Rider" = 'colin martin'
What is the highest rank of rider colin martin?
CREATE TABLE table_63877 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text )
SELECT country FROM table_name_89 WHERE player = "rives mcbee"
What is Country, when Player is "Rives McBee"?
CREATE TABLE table_name_89 (country VARCHAR, player VARCHAR)
SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE presidential_majority_2012 = "Non-voting"
What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?
CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR)
SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ"
What is the 17th c. pronunciation when the british is ?
CREATE TABLE table_name_68 ( british VARCHAR )
SELECT place FROM table_name_93 WHERE player = "tony lema"
What is Place, when Player is "Tony Lema"?
CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)
SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736"
How many times was revenue in millions recorded when the spending per capita was $6,736?
CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)
SELECT MIN("First season of current spell") FROM table_41412 WHERE "First season" > '2005' AND "Number of seasons in Superettan" < '8' AND "Club" = 'syrianska fc'
Which First season of current spell is the lowest one that has a First season larger than 2005, and a Number of seasons in Superettan smaller than 8, and a Club of syrianska fc?
CREATE TABLE table_41412 ( "Club" text, "Position in 2013" text, "First season" real, "First season of current spell" real, "Number of seasons in Superettan" real, "Number of seasons in second tier" real )
SELECT score FROM table_name_8 WHERE to_par = "e"
What is Score, when To Par is "E"?
CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR)
SELECT MAX(dvd_no) FROM table_1467951_4
What is the largest number of DVDs?
CREATE TABLE table_1467951_4 (dvd_no INTEGER)
SELECT "last elected" FROM table_203_447 WHERE "name" = 'antonio horvath kiss'
when was antonio horvath kiss last elected ?
CREATE TABLE table_203_447 ( id number, "constituency" number, "region" text, "name" text, "party" text, "last elected" number )
SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211
What is Country, when Score is 71-71-69=211?
CREATE TABLE table_name_26 (country VARCHAR, score VARCHAR)
SELECT MAX(ep_no) FROM table_1467951_4
What is the highest number of episodes?
CREATE TABLE table_1467951_4 (ep_no INTEGER)
SELECT record FROM table_name_58 WHERE opponent = "philadelphia 76ers"
What is the final record for the Philadelphia 76ers?
CREATE TABLE table_name_58 ( record VARCHAR, opponent VARCHAR )
SELECT country FROM table_name_13 WHERE score = 71 - 74 - 70 = 215
What is Country, when Score is 71-74-70=215?
CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR)
SELECT MAX(release_date) FROM table_1467951_4
What is the most recent release date?
CREATE TABLE table_1467951_4 (release_date INTEGER)
SELECT MAX("Seats 2006") FROM table_56801 WHERE "Parties and voter communities" = 'christian democratic union of germany' AND "% 2006" > '24.6'
What is the highest number of Seats 2006 held by the Christian Democratic Union of Germany Party/Voter Community, with a %2006 higher than 24.6?
CREATE TABLE table_56801 ( "Parties and voter communities" text, "% 2006" real, "Seats 2006" real, "% 2001" real, "Seats 2001" real )
SELECT SUM(lost) FROM table_name_71 WHERE played < 42
what is the lost when played is less than 42?
CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)
SELECT COUNT(release_date) FROM table_1467951_4 WHERE dvd_name = "Volume 4"
How many release dates does volume 4 DVD have?
CREATE TABLE table_1467951_4 (release_date VARCHAR, dvd_name 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND date_day.day_number = 23 AND date_day.month_number = 4 AN...
show me all flights from PHOENIX to MILWAUKEE on AA on wednesday
CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed int, range_...
SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16
what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16?
CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR)
SELECT arrival FROM table_14688744_2 WHERE no = 14
what is the arrival time for no. 14?
CREATE TABLE table_14688744_2 (arrival VARCHAR, no VARCHAR)
SELECT date FROM table_name_17 WHERE week < 11 AND attendance = "54,094"
Which Date has a Week smaller than 11, and a Attendance of 54,094?
CREATE TABLE table_name_17 ( date VARCHAR, week VARCHAR, attendance VARCHAR )
SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 2
how many times is lost less than 7 and the position 2?
CREATE TABLE table_name_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)
SELECT arrival FROM table_14688744_2 WHERE station_code = "AWY"
what is the arrival time where the station code is awy?
CREATE TABLE table_14688744_2 (arrival VARCHAR, station_code VARCHAR)
SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = ...
Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?
CREATE TABLE races ( raceid VARCHAR, name VARCHAR ) CREATE TABLE results ( driverid VARCHAR, raceid VARCHAR ) CREATE TABLE drivers ( forename VARCHAR, driverid VARCHAR )
SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT COUNT(station) FROM table_14688744_2 WHERE station_code = "AWY"
what amount of stations have station code is awy?
CREATE TABLE table_14688744_2 (station VARCHAR, station_code VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "MARRIED" AND procedures.icd9_code = "3972"
get the number of married patients who have procedure icd9 code 3972.
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_dose text ) ...
SELECT executions_in_persona FROM table_name_92 WHERE number_of_autos_da_fé_with_known_sentences = "2 (1543–1544)"
How many executions in persona have a number with known sentences of 2 (1543–1544)?
CREATE TABLE table_name_92 (executions_in_persona VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
SELECT arrival FROM table_14688744_2 WHERE station_code = "PNVL"
what is the arrival time where station code is pnvl?
CREATE TABLE table_14688744_2 (arrival VARCHAR, station_code VARCHAR)
SELECT SUM("N, Laakso-Taagepera") FROM table_43953 WHERE "Largest component, fractional share" = '0.35000000000000003' AND "Constellation" = 'e'
What is the sum of the values for N, Laakso-Taagepera, when Largest Component, Fractional Share is 0.35000000000000003, and when Constellation is E?
CREATE TABLE table_43953 ( "Constellation" text, "Largest component, fractional share" real, "Other components, fractional shares" text, "N, Laakso-Taagepera" real, "N, Golosov" real )
SELECT penanced FROM table_name_3 WHERE number_of_autos_da_fé_with_known_sentences = "71 (1600–1773)"
How many were penanced when the number with known sentences was 71 (1600–1773)?
CREATE TABLE table_name_3 (penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
SELECT COUNT(years) FROM table_14707564_1 WHERE total = 402
How many years was the total 402?
CREATE TABLE table_14707564_1 (years VARCHAR, total VARCHAR)
SELECT Product_Name, COUNT(Product_Name) FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events) GROUP BY Product_Name ORDER BY COUNT(Product_Name)
List the names of products that are not in any event, and count them by a bar chart, I want to show total number from low to high order please.
CREATE TABLE Finances ( Finance_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties_in_Events ( Party_ID INTEGER, Event_ID INTEGER, Role_Code CHAR(15) ) CREATE TABLE Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Detai...
SELECT penanced FROM table_name_48 WHERE total = "7666"
How many were penanced for a total of 7666?
CREATE TABLE table_name_48 (penanced VARCHAR, total VARCHAR)
SELECT young_rider_classification FROM table_14710984_2 WHERE mountains_classification = "Emanuele Sella" AND stage = 9
Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella?
CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
SELECT location FROM table_name_75 WHERE opponent = "martinis knyzelis"
What is the location of the match against Martinis Knyzelis?
CREATE TABLE table_name_75 ( location VARCHAR, opponent VARCHAR )
SELECT executions_in_effigie FROM table_name_26 WHERE tribunal = "lamego"
How man executions in effigie took place at the Lamego tribunal?
CREATE TABLE table_name_26 (executions_in_effigie VARCHAR, tribunal VARCHAR)
SELECT general_classification FROM table_14710984_2 WHERE stage = 3
Who is the general classification leader for stage 3?
CREATE TABLE table_14710984_2 (general_classification VARCHAR, stage VARCHAR)
SELECT january_15_16 FROM table_25252080_3 WHERE november_3 = "133"
What number is shown for january 15-16 when november 3 is 133?
CREATE TABLE table_25252080_3 ( january_15_16 VARCHAR, november_3 VARCHAR )
SELECT penanced FROM table_name_65 WHERE executions_in_effigie = "0" AND total = "21"
How many were penanced with 0 executions in effigie for a total of 21?
CREATE TABLE table_name_65 (penanced VARCHAR, executions_in_effigie VARCHAR, total VARCHAR)
SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo"
Who won the points classifications in the stage where Matteo Priamo was the winner?
CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR)
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment
List the number of completion students in each day and bin date of completion by weekday with a bar chart.
CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Student...
SELECT tribunal FROM table_name_34 WHERE total = "4167"
Which tribunal had a total of 4167?
CREATE TABLE table_name_34 (tribunal VARCHAR, total VARCHAR)
SELECT young_rider_classification FROM table_14710984_2 WHERE winner = "Marzio Bruseghin"
Who was awarded the young ride classification leader when the winner was Marzio Bruseghin?
CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT rank FROM table_name_47 WHERE player = "jo angel (wa)"
What rank has jo angel (wa) as the player?
CREATE TABLE table_name_47 ( rank VARCHAR, player VARCHAR )
SELECT opponent FROM table_name_50 WHERE date = "october 20"
What is the Opponent of the Game on October 20?
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR)