answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT power_output_(kw) FROM table_name_38 WHERE total_production = 100 | Tell me the power output for total production of 100 | CREATE TABLE table_name_38 (power_output_(kw) VARCHAR, total_production VARCHAR) |
SELECT attendance FROM table_name_15 WHERE date = "october 31, 1965" | What is the Attendance with a Date that is october 31, 1965? | CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) |
SELECT track FROM table_name_23 WHERE time = "2:30" | What track has a time of 2:30? | CREATE TABLE table_name_23 (track VARCHAR, time VARCHAR) |
SELECT event FROM table_name_86 WHERE notes = "7860" | What event has 7860 notes? | CREATE TABLE table_name_86 (event VARCHAR, notes VARCHAR) |
SELECT high_points FROM table_17323092_7 WHERE date = "February 10" | Who had the high points on the date February 10? | CREATE TABLE table_17323092_7 (high_points VARCHAR, date VARCHAR) |
SELECT MIN(assumed_office) FROM table_name_60 WHERE name = "madeleine bordallo" | Tell me the loewst assume office for madeleine bordallo | CREATE TABLE table_name_60 (assumed_office INTEGER, name VARCHAR) |
SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld" | Call sign of k43hb-ld is what virtual channel? | CREATE TABLE table_name_13 (virtual_channel VARCHAR, call_sign VARCHAR) |
SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman" | What are the undisclosed when Adam Hinshelwood is Ricky Newman? | CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR) |
SELECT position FROM table_name_34 WHERE round = 7 AND college = "kansas state" | Which position has a Round of 7, and a College of kansas state? | CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, college VARCHAR) |
SELECT dar FROM table_15887683_15 WHERE country = "Germany" | How many dar are in germany? | CREATE TABLE table_15887683_15 (dar VARCHAR, country VARCHAR) |
SELECT field FROM table_name_63 WHERE date = "july 12" | On which field was the game played on July 12? | CREATE TABLE table_name_63 (field VARCHAR, date VARCHAR) |
SELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 0 | What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0? | CREATE TABLE table_name_7 (league INTEGER, total VARCHAR) |
SELECT date FROM table_name_77 WHERE loss = "segui (0-5)" | What was the date of the Mariners game that had a loss of Segui (0-5)? | CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR) |
SELECT finish FROM table_name_3 WHERE country = "united states" AND to_par = "+21" | What is Finish, when Country is "United States", and when To Par is "+21"? | CREATE TABLE table_name_3 (finish VARCHAR, country VARCHAR, to_par VARCHAR) |
SELECT royal_house FROM table_name_45 WHERE name = "wu" AND state = "cai" | What is the royal house for Wu at the state of cai? | CREATE TABLE table_name_45 (royal_house VARCHAR, name VARCHAR, state VARCHAR) |
SELECT title FROM table_10935548_1 WHERE us_viewers__millions_ = "16.38" | Which episode had 16.38 million U.S. viewers? | CREATE TABLE table_10935548_1 (title VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6 | Agri culture b larger than 12.6, what is the lowest vehicles per 1000? | CREATE TABLE table_name_14 (vehicles__per_1000__d INTEGER, agri_culture_b INTEGER) |
SELECT record FROM table_17360840_5 WHERE location = "BankAtlantic Center" | When they played at the Bankatlantic Center, what was their record? | CREATE TABLE table_17360840_5 (record VARCHAR, location VARCHAR) |
SELECT athlete FROM table_name_15 WHERE time___sec__ > 11.22 AND rank < 5 | Which athlete is ranked less than 5 with time over 11.22? | CREATE TABLE table_name_15 (athlete VARCHAR, time___sec__ VARCHAR, rank VARCHAR) |
SELECT written_by FROM table_name_31 WHERE originalairdate = "25 april 1993" | What is Written By, when Originalairdate is 25 April 1993? | CREATE TABLE table_name_31 (written_by VARCHAR, originalairdate VARCHAR) |
SELECT genre FROM table_name_77 WHERE station = "bbc world service" | What is the genre of the BBC World Service? | CREATE TABLE table_name_77 (genre VARCHAR, station VARCHAR) |
SELECT AVG(round) FROM table_name_66 WHERE name = "rodney harrison p" AND pick < 145 | Average round for rodney harrison p before 145? | CREATE TABLE table_name_66 (round INTEGER, name VARCHAR, pick VARCHAR) |
SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (3)" | What was the winning score of the PGA Championship (3)? | CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR) |
SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = "craig stadler" | What is the lowest amount of money that Craig Stadler won? | CREATE TABLE table_name_64 (money___ INTEGER, player VARCHAR) |
SELECT race FROM table_name_13 WHERE time = "01:46:59.69" | Which race ended with a time of 01:46:59.69? | CREATE TABLE table_name_13 (race VARCHAR, time VARCHAR) |
SELECT nor_2 FROM table_name_25 WHERE nor_1 = "nor 1" | What is the nor 2 that has nor 1 as nor 1? | CREATE TABLE table_name_25 (nor_2 VARCHAR, nor_1 VARCHAR) |
SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" | What is the College of the Player from San Miguel Beermen PBA Team? | CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR) |
SELECT opponent FROM table_name_44 WHERE game = 75 | Who is the opponent of game 75? | CREATE TABLE table_name_44 (opponent VARCHAR, game VARCHAR) |
SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc" | Name the launch vehicle with Institutional authority of ndc | CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR) |
SELECT COUNT(points) FROM table_16034882_3 WHERE club = "FK Prienai" | how many times were points counted for fk prienai | CREATE TABLE table_16034882_3 (points VARCHAR, club VARCHAR) |
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no" | What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? | CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR) |
SELECT opponent FROM table_name_7 WHERE score = "6–4, 3–6, 6–3" | Which opponent has a Score of 6–4, 3–6, 6–3? | CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) |
SELECT best_supported_club FROM table_name_75 WHERE goals = 25 AND per_game > 1 OFFSET 156 | what is the best supported club with a 25 Goal and a per game larger than 1,156? | CREATE TABLE table_name_75 (best_supported_club VARCHAR, goals VARCHAR, per_game VARCHAR) |
SELECT standing FROM table_2259285_1 WHERE goals_against = 279 | What was the standing when goal against were 279? | CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR) |
SELECT team FROM table_name_67 WHERE year = "1976" | What is the team for 1976? | CREATE TABLE table_name_67 (team VARCHAR, year VARCHAR) |
SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = "nebraska" | Which player was drafted overall from the college of Nebraska in a round under 6, pick of 15, and overall under 224? | CREATE TABLE table_name_19 (name VARCHAR, college VARCHAR, pick VARCHAR, overall VARCHAR, round VARCHAR) |
SELECT AVG(round) FROM table_name_65 WHERE player = "dan chicoine" AND pick > 23 | Which Round has a Player of dan chicoine, and a Pick larger than 23? | CREATE TABLE table_name_65 (round INTEGER, player VARCHAR, pick VARCHAR) |
SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13" | How many different values if the number is high rebounds can be found for the game on March 13? | CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR) |
SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex" | What was the startup year for the project with apache energy/inpex as the operator? | CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) |
SELECT time FROM table_name_52 WHERE laps = 18 AND grid = 5 | What is the time for 18 laps and 5 grids? | CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT producer_director FROM table_name_40 WHERE film = "fear beneath" | Who was the Producer/Director of Fear Beneath? | CREATE TABLE table_name_40 (producer_director VARCHAR, film VARCHAR) |
SELECT high_rebounds FROM table_23248940_8 WHERE team = "Orlando" | Who tied for the highest rebounds during the game against Orlando? | CREATE TABLE table_23248940_8 (high_rebounds VARCHAR, team VARCHAR) |
SELECT COUNT(points) FROM table_name_76 WHERE place < 7 AND draw > 2 AND artist = "piece of cake" | what is the number of points when the place is less than 7, the draw is more than 2 and the artist is piece of cake? | CREATE TABLE table_name_76 (points VARCHAR, artist VARCHAR, place VARCHAR, draw VARCHAR) |
SELECT AVG(date_of_release) FROM table_name_33 WHERE title = "thickskin" | WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? | CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR) |
SELECT year FROM table_name_68 WHERE yards = "2,242" | What year was 2,242 yards achieved? | CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR) |
SELECT location FROM table_name_26 WHERE year = "1998" | Name the location for 1998 | CREATE TABLE table_name_26 (location VARCHAR, year VARCHAR) |
SELECT MAX(year) FROM table_name_9 WHERE name = "190 south lasalle street" | What year was the 190 South Lasalle Street? | CREATE TABLE table_name_9 (year INTEGER, name VARCHAR) |
SELECT discontinued FROM table_name_45 WHERE model = "lisa 2" | When was the Lisa 2 model discontinued? | CREATE TABLE table_name_45 (discontinued VARCHAR, model VARCHAR) |
SELECT opponent FROM table_20745706_1 WHERE _number = "5" | Who is the opponent in game 5? | CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR) |
SELECT date FROM table_name_25 WHERE game = 22 | What was the date of the game number 22? | CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR) |
SELECT release_date FROM table_name_86 WHERE category = "utilities" AND developer = "microsoft" AND title = "chord finder" | What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder? | CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR) |
SELECT loser FROM table_name_71 WHERE winner = "new york giants" AND date = "november 14" | Who was the loser when the New York Giants were the winners on November 14? | CREATE TABLE table_name_71 (loser VARCHAR, winner VARCHAR, date VARCHAR) |
SELECT date FROM table_name_70 WHERE japan = "0.59 million" | Which date had Japanese sales of 0.59 million? | CREATE TABLE table_name_70 (date VARCHAR, japan VARCHAR) |
SELECT saturated_fat FROM table_name_63 WHERE total_fat = "100g" AND polyunsaturated_fat = "69g (4g in high oleic variety)" | What is the saturated fat when the total fat is 100g, and polyunsaturated fat is 69g (4g in high oleic variety)? | CREATE TABLE table_name_63 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) |
SELECT AVG(damage_millions_USD), MAX(damage_millions_USD) FROM storm WHERE max_speed > 1000 | Show the average and maximum damage for all storms with max speed higher than 1000. | CREATE TABLE storm (damage_millions_USD INTEGER, max_speed INTEGER) |
SELECT mountains_classification FROM table_name_26 WHERE points_classification = "alessandro petacchi" AND general_classification = "danilo di luca" | What's the mountains classification when the points classification is Alessandro Petacchi and the general classification is Danilo Di Luca? | CREATE TABLE table_name_26 (mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR) |
SELECT SUM(laps) FROM table_name_8 WHERE rider = "sylvain guintoli" | What is the sum of Sylvain Guintoli's laps? | CREATE TABLE table_name_8 (laps INTEGER, rider VARCHAR) |
SELECT date FROM table_name_71 WHERE game = 17 | what team scored 17 | CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) |
SELECT original_air_date FROM table_23403578_3 WHERE prod_code = "213" | When did the episode with production code 213 air for the first time? | CREATE TABLE table_23403578_3 (original_air_date VARCHAR, prod_code VARCHAR) |
SELECT wamalwa FROM table_name_32 WHERE turnout__percentage = "55.9%" | What's listed for the Wamalwa that has a Turnout % of 55.9%? | CREATE TABLE table_name_32 (wamalwa VARCHAR, turnout__percentage VARCHAR) |
SELECT t1.party_email FROM parties AS t1 JOIN party_forms AS t2 ON t1.party_id = t2.party_id WHERE t2.form_id = (SELECT form_id FROM party_forms GROUP BY form_id ORDER BY COUNT(*) DESC LIMIT 1) | Find the emails of parties with the most popular party form. | CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_forms (party_id VARCHAR, form_id VARCHAR) |
SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49 | Which passenger has a position of 21 and less than 49 points? | CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR) |
SELECT kickoff_[a_] FROM table_name_25 WHERE week = "3" | What is the kickoff time for week 3? | CREATE TABLE table_name_25 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) |
SELECT venue FROM table_name_14 WHERE away_team = "north melbourne" | In which venue was North Melbourne the Away team? | CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR) |
SELECT AVG(car) FROM table_name_58 WHERE long = "3" | How many average carries for the player with 3 as a long? | CREATE TABLE table_name_58 (car INTEGER, long VARCHAR) |
SELECT place FROM table_name_83 WHERE score = 68 - 68 = 136 AND player = "craig parry" | Craig Parry with a score of 68-68=136 is in what place? | CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR, score VARCHAR) |
SELECT COUNT(year) FROM table_name_84 WHERE machine = "rg500" AND points > 17 | In what Year did the RG500 Machine have more than 17 Points? | CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR) |
SELECT area_km_2 FROM table_171250_2 WHERE official_name = "Saint-Joseph" | What are the area(s) (km2) for saint-joseph? | CREATE TABLE table_171250_2 (area_km_2 VARCHAR, official_name VARCHAR) |
SELECT score FROM table_17288825_7 WHERE date = "January 25" | What is the score for the game played on January 25? | CREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR) |
SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = "India" | How many drivers does India have/ | CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR) |
SELECT platform FROM table_name_33 WHERE year > 2006 AND developer = "3g studios" | Name the plaform for year more than 2006 and developer of 3g studios | CREATE TABLE table_name_33 (platform VARCHAR, year VARCHAR, developer VARCHAR) |
SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31" | What are the downhill points for the skier with total of 9.31 points? | CREATE TABLE table_name_50 (downhill_points INTEGER, total VARCHAR) |
SELECT SUM(year) FROM table_name_11 WHERE player_name = "mark barron" | I want the sum of year for mark barron | CREATE TABLE table_name_11 (year INTEGER, player_name VARCHAR) |
SELECT to_par FROM table_name_1 WHERE country = "united states" AND score = 71 - 71 = 142 | What's the to par of the United States with the score of 71-71=142? | CREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, score VARCHAR) |
SELECT AVG(year) FROM table_name_50 WHERE play = "much ado about nothing" AND recipient = "ray virta" | Name the average year for much ado about nothing and recipient of ray virta | CREATE TABLE table_name_50 (year INTEGER, play VARCHAR, recipient VARCHAR) |
SELECT location FROM table_262560_2 WHERE nickname = "Pioneers" | Which city has a school where the nickname is Pioneers? | CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) |
SELECT MIN(crowd) FROM table_name_20 WHERE venue = "corio oval" | What is the lowest crowd at corio oval? | CREATE TABLE table_name_20 (crowd INTEGER, venue VARCHAR) |
SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs" | Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs? | CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR) |
SELECT location_attendance FROM table_17322817_6 WHERE game = 20 | Name the location attendance for 20 | CREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR) |
SELECT venue FROM table_name_71 WHERE date = "10-09-2012" | What was the venue for the game on 10-09-2012? | CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR) |
SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7 | What is the total number played with 1 drawn, and less than 7 points? | CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) |
SELECT event FROM table_name_25 WHERE opponent = "joe nameth" | In what event is the opponent Joe Nameth? | CREATE TABLE table_name_25 (event VARCHAR, opponent VARCHAR) |
SELECT score FROM table_name_58 WHERE date = "september 28" | What was the score on september 28? | CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR) |
SELECT MIN(crowd) FROM table_name_95 WHERE home_team = "footscray" | What was the smallest crowd when Footscray played at home? | CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR) |
SELECT builder FROM table_name_93 WHERE completed > 1889 | Which builder completed after 1889? | CREATE TABLE table_name_93 (builder VARCHAR, completed INTEGER) |
SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA" | who was the winner for souderton, pa? | CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR) |
SELECT rank FROM table_name_44 WHERE gross = "$35,976,000" | What rank has a gross of $35,976,000? | CREATE TABLE table_name_44 (rank VARCHAR, gross VARCHAR) |
SELECT goals¹ FROM table_24565004_17 WHERE name = "Mauricio Pochettino" | Name the goals for mauricio pochettino | CREATE TABLE table_24565004_17 (goals¹ VARCHAR, name VARCHAR) |
SELECT wind FROM table_name_26 WHERE athlete = "kerron stewart" | What kind of Wind has an Athlete of kerron stewart? | CREATE TABLE table_name_26 (wind VARCHAR, athlete VARCHAR) |
SELECT T1.first_name, T1.middle_name, T1.last_name, T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) = 2 | Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id. | CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR) |
SELECT COUNT(rating) FROM table_name_66 WHERE share < 4 | What is the total ratings on share less than 4? | CREATE TABLE table_name_66 (rating VARCHAR, share INTEGER) |
SELECT colour FROM table_name_42 WHERE built = "minirail 1954" | What is the color of the locomotive built by Minirail 1954? | CREATE TABLE table_name_42 (colour VARCHAR, built VARCHAR) |
SELECT publisher FROM book_club GROUP BY publisher ORDER BY COUNT(*) DESC LIMIT 1 | What is the publisher with most number of books? | CREATE TABLE book_club (publisher VARCHAR) |
SELECT FirstName, LastName FROM CUSTOMER WHERE Email = "luisg@embraer.com.br" | What is the first name and last name of the customer that has email "luisg@embraer.com.br"? | CREATE TABLE CUSTOMER (FirstName VARCHAR, LastName VARCHAR, Email VARCHAR) |
SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" | When 60,254 (58.0) is the toll poll percentage what is the for percentage? | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR) |
SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 1942 | How many drivers have 1942 points? | CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR) |
SELECT MAX(_number_of_total_votes) FROM table_19769687_3 WHERE election = "1878" | Name the most number of total votes for election for 1878 | CREATE TABLE table_19769687_3 (_number_of_total_votes INTEGER, election VARCHAR) |
SELECT date FROM table_name_88 WHERE round__leg_ = "3" | What date has 3 as the round (leg)? | CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR) |
SELECT SUM(round) FROM table_name_93 WHERE pick = 138 | In what Round was Pick 138? | CREATE TABLE table_name_93 (round INTEGER, pick VARCHAR) |
SELECT MAX(enrollment) FROM table_26355116_1 | What is the maximum enrollment of the schools? | CREATE TABLE table_26355116_1 (enrollment INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.