answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38" | What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38? | CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR) |
SELECT team FROM table_name_9 WHERE player = "jason romano" | Jason Romano played for what team? | CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR) |
SELECT MAX(population) FROM table_name_13 WHERE _percentage_lds = "0.54%" AND total_congregations > 2 | What is the highest Population, when % LDS is 0.54%, and when Total Congregations is greater than 2? | CREATE TABLE table_name_13 (population INTEGER, _percentage_lds VARCHAR, total_congregations VARCHAR) |
SELECT writer FROM table_12919003_3 WHERE episode = "episode 1" | What's the writer of Episode 1? | CREATE TABLE table_12919003_3 (writer VARCHAR, episode VARCHAR) |
SELECT bulgarian FROM table_1841901_1 WHERE dutch = "jullie hadden gehoord" | Name the bulgarian for jullie hadden gehoord | CREATE TABLE table_1841901_1 (bulgarian VARCHAR, dutch VARCHAR) |
SELECT position FROM table_name_70 WHERE round = 5 AND player = "a. j. feeley" | What position did a. j. feeley play who was picked in round 5? | CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, player VARCHAR) |
SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.5" | Who was the jockey at Rosehill and the weight was 57.5 kg? | CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR) |
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35" | Which junctions have "replaced by bsi-35" listed in their remarks section? | CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR) |
SELECT primary_sponsor_s_ FROM table_name_50 WHERE owner_s_ = "rick hendrick" AND crew_chief = "alan gustafson" | What primary sponsor has the owner Rick Hendrick and their crew chief is Alan Gustafson? | CREATE TABLE table_name_50 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR, crew_chief VARCHAR) |
SELECT AVG(game__number) FROM table_name_67 WHERE date = "march 4" | What game number was played on March 4? | CREATE TABLE table_name_67 (game__number INTEGER, date VARCHAR) |
SELECT episode FROM table_20522228_2 WHERE share = 8 | What was the episode name when share was 8? | CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) |
SELECT SUM(long) FROM table_name_25 WHERE avg > 9.8 AND rec < 5 AND yards < 20 | Name the sum of long for avg more than 9.8 with rec less than 5 and yards less than 20 | CREATE TABLE table_name_25 (long INTEGER, yards VARCHAR, avg VARCHAR, rec VARCHAR) |
SELECT player FROM table_25353861_5 WHERE assists = 6 | Which player had 6 assists? | CREATE TABLE table_25353861_5 (player VARCHAR, assists VARCHAR) |
SELECT title FROM table_22181917_2 WHERE us_viewers__millions_ = "9.76" | What is the title of the episode that had 9.76 million U.S. viewers? | CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT AVG(goals) FROM table_name_68 WHERE leeds_career = "1960–1964" AND appearances < 120 | What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances? | CREATE TABLE table_name_68 (goals INTEGER, leeds_career VARCHAR, appearances VARCHAR) |
SELECT order FROM table_19744915_3 WHERE public_vote = "18.155%" | what is the order when public vote was 18.155% | CREATE TABLE table_19744915_3 (order VARCHAR, public_vote VARCHAR) |
SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13 | What is the lowest number played with 2 losses and more than 13 points? | CREATE TABLE table_name_30 (played INTEGER, lost VARCHAR, points VARCHAR) |
SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth round" | How many clubs remain in the fourth round? | CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR) |
SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T3.order_id = T2.order_id GROUP BY T1.customer_id ORDER BY SUM(T3.order_quantity) DESC LIMIT 1 | What are the name and phone of the customer with the most ordered product quantity? | CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) |
SELECT rank__number FROM table_name_72 WHERE date = "october 19" | What is the rank of the match on October 19? | CREATE TABLE table_name_72 (rank__number VARCHAR, date VARCHAR) |
SELECT portrayed_by FROM table_11240028_3 WHERE character = "Reed Garrett" | Which characters were portrayed by reed garrett? | CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, character VARCHAR) |
SELECT no_in_series FROM table_19897294_11 WHERE family_families = "The Amaral Family" | What episode in the series was the Amaral family featured? | CREATE TABLE table_19897294_11 (no_in_series VARCHAR, family_families VARCHAR) |
SELECT runner_s__up FROM table_name_21 WHERE date = "may 19, 1973" | Which Runner(s)-up has a Date of may 19, 1973? | CREATE TABLE table_name_21 (runner_s__up VARCHAR, date VARCHAR) |
SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price" | What district is incumbent melvin price from? | CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) |
SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g" | What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? | CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR) |
SELECT MIN(score_final) FROM table_name_15 WHERE competition_description = "american cup" AND year < 2009 | What is the lowest final score of the American Cup competition before 2009? | CREATE TABLE table_name_15 (score_final INTEGER, competition_description VARCHAR, year VARCHAR) |
SELECT name FROM table_name_87 WHERE lane = 6 | What is the name of the swimmer in lane 6? | CREATE TABLE table_name_87 (name VARCHAR, lane VARCHAR) |
SELECT SUM(pick) FROM table_name_15 WHERE round = 11 | What is the number of the pick for round 11? | CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR) |
SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = "Pepsi Center 19,756" | Name the total number of high points for pepsi center 19,756 | CREATE TABLE table_23284271_6 (high_points VARCHAR, location_attendance VARCHAR) |
SELECT location FROM table_26144632_1 WHERE dates = "Jul 8-11" | What is the location for tournament on Jul 8-11? | CREATE TABLE table_26144632_1 (location VARCHAR, dates VARCHAR) |
SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda" | When cindy miranda is the name what is the home or representative town or province? | CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR) |
SELECT team FROM table_name_31 WHERE game = "capital bowl iv" | What teams played in Capital Bowl IV? | CREATE TABLE table_name_31 (team VARCHAR, game VARCHAR) |
SELECT score FROM table_name_80 WHERE record = "58–15–8" | Which score has a record of 58–15–8? | CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR) |
SELECT position FROM table_11734041_20 WHERE player = "Williams, Bernie Bernie Williams" | what's the position where player is williams, bernie bernie williams | CREATE TABLE table_11734041_20 (position VARCHAR, player VARCHAR) |
SELECT competition FROM table_name_68 WHERE final_position___round = "2" | Which competition had a final position/round of 2? | CREATE TABLE table_name_68 (competition VARCHAR, final_position___round VARCHAR) |
SELECT COUNT(events) FROM table_24108789_6 WHERE points = 3031 | Name the number of events for 3031 | CREATE TABLE table_24108789_6 (events VARCHAR, points VARCHAR) |
SELECT MAX(wins) FROM table_name_59 WHERE draws > 1 AND byes > 0 | What is the highest number of wins when draws are larger than 1, and byes are larger than 0? | CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, byes VARCHAR) |
SELECT drivers FROM table_name_31 WHERE team = "arciero racing" | Who drove for Arciero Racing? | CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR) |
SELECT to_par FROM table_name_94 WHERE player = "bobby nichols" | What is the to par of player bobby nichols? | CREATE TABLE table_name_94 (to_par VARCHAR, player VARCHAR) |
SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%" | Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? | CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR) |
SELECT AVG(2012) FROM table_name_22 WHERE 2009 > 104.5 AND 2010 < 162.6 AND 2011 < 141.8 | avg passengers in 2012 for 2009 more than 104.5 and 2010 less than 162.6 and 2011 less than 141.8 is what? | CREATE TABLE table_name_22 (Id VARCHAR) |
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219 | What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals? | CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) |
SELECT score FROM table_name_80 WHERE year = 2000 | What score has 2000 as the year? | CREATE TABLE table_name_80 (score VARCHAR, year VARCHAR) |
SELECT played FROM table_name_13 WHERE tries_against = "84" AND drawn = "2" | What is the played number when tries against is 84, and drawn is 2? | CREATE TABLE table_name_13 (played VARCHAR, tries_against VARCHAR, drawn VARCHAR) |
SELECT tues_23_aug FROM table_30058355_7 WHERE wed_24_aug = "22' 23.29 101.116mph" | What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph? | CREATE TABLE table_30058355_7 (tues_23_aug VARCHAR, wed_24_aug VARCHAR) |
SELECT english_translation FROM table_name_44 WHERE articles = 24 | Can you tell me the English Translation that has the Articles of 24? | CREATE TABLE table_name_44 (english_translation VARCHAR, articles VARCHAR) |
SELECT airport FROM table_name_20 WHERE country = "saudi arabia" AND icao = "oejn" | Which airport is in Saudi Arabia when the ICAO is oejn? | CREATE TABLE table_name_20 (airport VARCHAR, country VARCHAR, icao VARCHAR) |
SELECT position FROM table_name_78 WHERE pick__number > 47 AND affiliation = "ucla" | What position has UCLA pick that is larger than #47? | CREATE TABLE table_name_78 (position VARCHAR, pick__number VARCHAR, affiliation VARCHAR) |
SELECT MIN(rank) FROM table_name_10 WHERE reb_avg > 9 AND total_rebounds = 920 AND games > 79 | Which lowest rank(player) has a rebound average larger than 9, out of 920 rebounds, and who played more than 79 games? | CREATE TABLE table_name_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR) |
SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" | Name the team for co-drivers of david brabham mario andretti | CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) |
SELECT opponent FROM table_1233808_2 WHERE record = "Biggest defeat" | Who was the opponent during the biggest defeat? | CREATE TABLE table_1233808_2 (opponent VARCHAR, record VARCHAR) |
SELECT place FROM table_name_23 WHERE player = "darren clarke" | In what place did Darren Clarke finish? | CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) |
SELECT candidate FROM table_26263322_1 WHERE age = 27 | What is the candidate whose age is 27? | CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR) |
SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix" | What Canadian Grand Prix race winner had Didier Pironi in Pole Position? | CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR) |
SELECT ethernet_port_count FROM table_name_72 WHERE model = "whr-hp-g300n" | What is the Ethernet port count of the whr-hp-g300n model? | CREATE TABLE table_name_72 (ethernet_port_count VARCHAR, model VARCHAR) |
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber" | Find all invoice dates corresponding to customers with first name Astrid and last name Gruber. | CREATE TABLE CUSTOMER (CustomerId VARCHAR, FirstName VARCHAR); CREATE TABLE INVOICE (InvoiceDate VARCHAR, CustomerId VARCHAR) |
SELECT AVG(campusfee) FROM csu_fees WHERE YEAR = 1996 | Find the average fee on a CSU campus in 1996 | CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR) |
SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" AND year < 2002 | What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002? | CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR) |
SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street" | WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? | CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR) |
SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III" | give the location of subtrate coproporphyrinogen iii | CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR) |
SELECT date FROM table_name_37 WHERE tie_no = "34" | What is the date of tie no. 34? | CREATE TABLE table_name_37 (date VARCHAR, tie_no VARCHAR) |
SELECT record FROM table_name_97 WHERE location_attendance = "pepsi center 19,749" | What is Record, when Location Attendance is "Pepsi Center 19,749"? | CREATE TABLE table_name_97 (record VARCHAR, location_attendance VARCHAR) |
SELECT result FROM table_name_46 WHERE nominee = "brent spiner" | What is the result for Brent Spiner? | CREATE TABLE table_name_46 (result VARCHAR, nominee VARCHAR) |
SELECT location_attendance FROM table_17288825_7 WHERE high_assists = "Rafer Alston (10)" | At what location and what was the attendance when Rafer Alston (10) achieved high assists? | CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR) |
SELECT event FROM table_name_39 WHERE total = "defending champion" | Which event had a total of defending champion? | CREATE TABLE table_name_39 (event VARCHAR, total VARCHAR) |
SELECT time FROM table_name_12 WHERE eliminated_by = "batista" AND wrestler = "henry" | What time was the Wrestler Henry eliminated by Batista? | CREATE TABLE table_name_12 (time VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR) |
SELECT partner FROM table_name_79 WHERE score = "6–7, 7–6, 6–7" | Which Partner has a Score of 6–7, 7–6, 6–7? | CREATE TABLE table_name_79 (partner VARCHAR, score VARCHAR) |
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf" | What was the placing of the race in which Chic won by 8gf? | CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR) |
SELECT date FROM table_name_70 WHERE home_team = "essendon" | When did Essendon play as the home team? | CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR) |
SELECT hometown FROM table_11677100_5 WHERE school = "Athens Drive High school" | What was the hometown of the player who attended Athens Drive High School? | CREATE TABLE table_11677100_5 (hometown VARCHAR, school VARCHAR) |
SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211 | How many titles have a production code of 211? | CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR) |
SELECT AVG(drawn) FROM table_name_76 WHERE points < 70 AND played < 46 | What is the average drawn number of the team with less than 70 points and less than 46 played? | CREATE TABLE table_name_76 (drawn INTEGER, points VARCHAR, played VARCHAR) |
SELECT COUNT(overall) FROM table_name_4 WHERE pick = 10 AND round < 8 AND position = "e" AND college = "tennessee" | How much Overall has a Pick of 10, and a Round smaller than 8, and a Position of e, and a College of tennessee? | CREATE TABLE table_name_4 (overall VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) |
SELECT country FROM table_name_50 WHERE lead = "sarah wazney" | Which country has a Lead of sarah wazney? | CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) |
SELECT MAX(size__cents_) FROM table_name_26 WHERE size__steps_ = 15 AND just__cents_ > 435.08 | size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? | CREATE TABLE table_name_26 (size__cents_ INTEGER, size__steps_ VARCHAR, just__cents_ VARCHAR) |
SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13" | Which U.S. Hot has 13 as the U.S. R&B? | CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR) |
SELECT chinese FROM table_name_59 WHERE pali = "atappa" | Which Chinese has a Pali of atappa? | CREATE TABLE table_name_59 (chinese VARCHAR, pali VARCHAR) |
SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein | What is the Middle German (Luxemburgish) word for ein? | CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR) |
SELECT altitude__km_ FROM table_148578_1 WHERE explosion = "Hardtack Teak" | What was the altitude of the explosion Hardtack Teak? | CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, explosion VARCHAR) |
SELECT venue FROM table_name_50 WHERE away_team = "south melbourne" | Which venue hosted South Melbourne? | CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) |
SELECT country FROM airlines WHERE name LIKE 'Orbit%' | Find the country of the airlines whose name starts with 'Orbit'. | CREATE TABLE airlines (country VARCHAR, name VARCHAR) |
SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison" | Name the height for demetrius jemison | CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR) |
SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE position = "Forward" AND league < 6.0 | In the Champions league is the forward position smaller than 6.0 | CREATE TABLE table_17505751_5 (Champions VARCHAR, position VARCHAR, league VARCHAR) |
SELECT event FROM table_name_16 WHERE acts = "106 bands" | I want to know the events for 106 bands | CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR) |
SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis" | What are the IHSAA classes of the Indianapolis schools? | CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR) |
SELECT SUM(crowd) FROM table_name_42 WHERE venue = "lake oval" | How many people attended the game at Lake Oval? | CREATE TABLE table_name_42 (crowd INTEGER, venue VARCHAR) |
SELECT score FROM table_name_20 WHERE place = "t6" AND country = "paraguay" | Which Score has a Place of t6, and a Country of paraguay? | CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, country VARCHAR) |
SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" | Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? | CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) |
SELECT COUNT(notes) FROM table_20174050_23 WHERE reader = "Varma, Idria Indira Varma" | how many notes were read by reader varma, idria indira varma? | CREATE TABLE table_20174050_23 (notes VARCHAR, reader VARCHAR) |
SELECT MIN(week) FROM table_name_25 WHERE record = "0–8" | Record of 0–8 had what lowest week? | CREATE TABLE table_name_25 (week INTEGER, record VARCHAR) |
SELECT MAX(biggenden) FROM table_12526990_1 WHERE year = 1947 | What is the biggended for 1947? | CREATE TABLE table_12526990_1 (biggenden INTEGER, year VARCHAR) |
SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )" | which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? | CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR) |
SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305 | What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) |
SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval" | What was the crowd size at the moorabbin oval venue? | CREATE TABLE table_name_86 (crowd VARCHAR, venue VARCHAR) |
SELECT third_runner_up FROM table_name_80 WHERE year = 1969 | Can you tell me the Third runner-up that has the Year of 1969? | CREATE TABLE table_name_80 (third_runner_up VARCHAR, year VARCHAR) |
SELECT score FROM table_name_86 WHERE time = "14:00" | What was the score when the time was 14:00? | CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR) |
SELECT score FROM table_name_31 WHERE location = "mex cancun" | which Score has a Location of mex cancun? | CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR) |
SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april" | Tell me the race name where stirling moss won on 16 april | CREATE TABLE table_name_61 (race_name VARCHAR, winning_driver VARCHAR, date 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 DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code = "PIT" | Find the distinct first names of all the students who have vice president votes and whose city code is not PIT. | CREATE TABLE STUDENT (Fname VARCHAR, city_code VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (VICE_PRESIDENT_Vote VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.