answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MAX(grid) FROM table_name_80 WHERE time = "+44.866" AND laps > 25 | What is the highest grid that has +44.866 as the time, with laps greater than 25? | CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR) |
SELECT institution FROM table_1973842_1 WHERE location = "Chestnut Hill, Massachusetts" | What school is located in Chestnut Hill, Massachusetts? | CREATE TABLE table_1973842_1 (institution VARCHAR, location VARCHAR) |
SELECT title FROM table_27892955_1 WHERE us_viewers__million_ = "2.02" | What is the name of the episode that had 2.02 million u.s. viewers? | CREATE TABLE table_27892955_1 (title VARCHAR, us_viewers__million_ VARCHAR) |
SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = "11-16" | Which Ofsted has a Capacity smaller than 56, and Ages of 11-16? | CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR) |
SELECT third_year FROM table_12148147_2 WHERE subjects = "Science" | What is the third year course in science? | CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR) |
SELECT MAX(wins) FROM table_2597876_1 WHERE winnings = "$90,700" | How many wins did Parsons have in the year where his winnings were $90,700? | CREATE TABLE table_2597876_1 (wins INTEGER, winnings VARCHAR) |
SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte" | Who had the high assists against charlotte? | CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR) |
SELECT home_captain FROM table_name_14 WHERE venue = "the oval" | Name the Home captain for venue of the oval | CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR) |
SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 0 | What is the average medal total of the country who had 0 silver medals and participated in less than 15 games? | CREATE TABLE table_name_41 (total INTEGER, games VARCHAR, silver VARCHAR) |
SELECT date FROM table_name_57 WHERE location = "prague" AND competition = "world group, consolation round" | what is the date for the game in prague for the world group, consolation round competition? | CREATE TABLE table_name_57 (date VARCHAR, location VARCHAR, competition VARCHAR) |
SELECT AVG(yards) FROM table_name_2 WHERE long < 3 | Which Yards has a Long smaller than 3? | CREATE TABLE table_name_2 (yards INTEGER, long INTEGER) |
SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = "united states" | What United States player has a score of 69-73-68=210? | CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR) |
SELECT driver FROM table_name_11 WHERE grid = 10 | Which driver had a grid number of 10? | CREATE TABLE table_name_11 (driver VARCHAR, grid VARCHAR) |
SELECT location FROM table_1137704_2 WHERE date = "5 April" | what are all the location where date is 5 april | CREATE TABLE table_1137704_2 (location VARCHAR, date VARCHAR) |
SELECT withdrawn FROM table_name_72 WHERE gsr_class = "296" | What is withdrawn with a GSR Class of 296? | CREATE TABLE table_name_72 (withdrawn VARCHAR, gsr_class VARCHAR) |
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "dave barr" | Which Margin of victory has a Runner(s)-up of dave barr? | CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper" | What is the age of the act who is a rapper? | CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR) |
SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30 | On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals? | CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR) |
SELECT player FROM table_name_29 WHERE score = 68 - 67 - 75 = 210 | Who is the player with a 68-67-75=210 score? | CREATE TABLE table_name_29 (player VARCHAR, score VARCHAR) |
SELECT player FROM table_name_5 WHERE club = "omonia nicosia" | Which player was in the Omonia Nicosia club? | CREATE TABLE table_name_5 (player VARCHAR, club VARCHAR) |
SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments" | What is the 2013 of the grand slam tournaments? | CREATE TABLE table_name_71 (tournament VARCHAR) |
SELECT MAX(folded) FROM table_24334261_1 WHERE stadium = "Fraser Field" | What is the maximum folded value of the team whose stadium is Fraser Field? | CREATE TABLE table_24334261_1 (folded INTEGER, stadium VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia" | What is the second leg that Valencia was on? | CREATE TABLE table_name_33 (team_2 VARCHAR) |
SELECT MIN(league) FROM table_name_88 WHERE play_offs > 0 AND total = 25 | Name the lowest league for play-offs more than 0 and total of 25 | CREATE TABLE table_name_88 (league INTEGER, play_offs VARCHAR, total VARCHAR) |
SELECT DISTINCT T1.name, T1.location, T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id = T1.id WHERE T2.interaction_type = 'inhibitor' | What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction? | CREATE TABLE enzyme (name VARCHAR, location VARCHAR, product VARCHAR, id VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, interaction_type VARCHAR) |
SELECT MIN(lane) FROM table_name_18 WHERE name = "lenny krayzelburg" | Name the least lane for lenny krayzelburg | CREATE TABLE table_name_18 (lane INTEGER, name VARCHAR) |
SELECT date_final FROM table_name_90 WHERE year = "1989" | What date final has 1989 as the year? | CREATE TABLE table_name_90 (date_final VARCHAR, year VARCHAR) |
SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_details ORDER BY COUNT(*) DESC LIMIT 1 | Find the name of the customer that has been involved in the most policies. | CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR) |
SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella" | Tell me the sum of Grid for giancarlo fisichella | CREATE TABLE table_name_84 (grid INTEGER, driver VARCHAR) |
SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role" | What's the result for the category of best actor in a supporting role? | CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR) |
SELECT SUM(round) FROM table_name_77 WHERE pick < 6 | Which Round has a Pick smaller than 6? | CREATE TABLE table_name_77 (round INTEGER, pick INTEGER) |
SELECT MAX(area__km_2__) FROM table_name_72 WHERE code = 66097 AND region > 6 | What is the largest area with a Code of 66097, and a Region larger than 6? | CREATE TABLE table_name_72 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR) |
SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters" | What number pick was Danny Walters in the 1983 NFL draft? | CREATE TABLE table_2508633_4 (pick__number VARCHAR, player VARCHAR) |
SELECT surface FROM table_22853654_9 WHERE against = "Monaco" | Name the surface against monaco | CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR) |
SELECT result FROM table_name_7 WHERE score = "1–0" AND goal = 16 | Which Result has a Score of 1–0, and a Goal of 16? | CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR) |
SELECT visitor FROM table_name_55 WHERE date = "december 14" | What visitor has December 14 as the date? | CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) |
SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_the_church = "Eikefjord" | What's the sub-parish (sokn) of Eikefjord? | CREATE TABLE table_178381_1 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR) |
SELECT COUNT(_number) FROM table_15781170_3 WHERE poll_winner = "Drinking Games" | How many times did drinking games win the poll? | CREATE TABLE table_15781170_3 (_number VARCHAR, poll_winner VARCHAR) |
SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm" | Which Thickness has a Diameter of 21.9mm? | CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR) |
SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31" | Game Site of hoosier dome, and a Result of l 7–31 involved what attendance? | CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR) |
SELECT AVG(extra_points) FROM table_name_35 WHERE points < 6 | Whicih Extra points are the average ones that have Points smaller than 6? | CREATE TABLE table_name_35 (extra_points INTEGER, points INTEGER) |
SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122" | Who was the manufacter of the car with a time/retired of +0.122? | CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR) |
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC03" | How many million U.S. viewers watched the episode with a production code of 1arc03? | CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) |
SELECT home_town FROM table_20785990_2 WHERE name = "David Noel" | What is the home town of David Noel? | CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR) |
SELECT no_party_preference FROM table_27003223_4 WHERE democratic = "24.8%" | What is the percentage of "no party preference" where the democratic percentage is 24.8%? | CREATE TABLE table_27003223_4 (no_party_preference VARCHAR, democratic VARCHAR) |
SELECT DISTINCT Country FROM manager | Show the distinct countries of managers. | CREATE TABLE manager (Country VARCHAR) |
SELECT AVG(gold) FROM table_name_9 WHERE nation = "luxembourg" | Luxembourg received how many gold medals? | CREATE TABLE table_name_9 (gold INTEGER, nation VARCHAR) |
SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06" | Who is the player from United States who play in year 2003-06 in Toronto? | CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR) |
SELECT AVG(floors), MAX(floors), MIN(floors) FROM building | What are the average, maximum, and minimum number of floors for all buildings? | CREATE TABLE building (floors INTEGER) |
SELECT result FROM table_name_70 WHERE attendance = "58,516" | What was the result when 58,516 were in attendance? | CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR) |
SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire" | Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up? | CREATE TABLE table_name_6 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR) |
SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd" | Elected smaller than 2001, and a District of 83rd has what status? | CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR) |
SELECT MAX(gold) FROM table_name_34 WHERE rank = "15" AND silver > 0 | How many Gold for the Nation in Rank 15 with 0 Silver? | CREATE TABLE table_name_34 (gold INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT name_designation FROM table_name_81 WHERE payload = "1200kg" | What is the name/designation for the 1200kg payload? | CREATE TABLE table_name_81 (name_designation VARCHAR, payload VARCHAR) |
SELECT declination___j2000__ FROM table_name_34 WHERE right_ascension___j2000__ = "11h53m41.9s" | What is the declination with a right ascension of 11h53m41.9s? | CREATE TABLE table_name_34 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR) |
SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain" | Which Bronze has a Nation of spain? | CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR) |
SELECT SUM(form) FROM table_name_70 WHERE pages > 17 AND total_assets = "$1,801,154" | What is the sum of forms with greater than 17 pages and a total of $1,801,154? | CREATE TABLE table_name_70 (form INTEGER, pages VARCHAR, total_assets VARCHAR) |
SELECT AVG(total) FROM table_name_26 WHERE bronze = 4 AND silver > 2 AND gold < 7 | What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold medals? | CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.0%" | What is the province amount if the % 2011 is 0.0% | CREATE TABLE table_1939367_1 (province VARCHAR, _percentage_2011 VARCHAR) |
SELECT type FROM table_name_95 WHERE year > 2004 AND artist = "logistics" | What is the type of disc by Logistics after 2004? | CREATE TABLE table_name_95 (type VARCHAR, year VARCHAR, artist VARCHAR) |
SELECT SUM(attendance) FROM table_name_58 WHERE date = "november 24" | What is the sum of the attendance on November 24? | CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR) |
SELECT gerb FROM table_name_16 WHERE attack = "11%" | What GERB has an 11% Attack? | CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR) |
SELECT episode FROM table_name_23 WHERE xii_season = "4 118 160 (26 september 2010)" | What is Episode, when XII Season is 4 118 160 (26 september 2010)? | CREATE TABLE table_name_23 (episode VARCHAR, xii_season VARCHAR) |
SELECT entrant FROM table_name_97 WHERE year < 1953 | Who is the entrant when the year is less than 1953? | CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER) |
SELECT MIN(third_place) FROM table_2146364_2 WHERE city_ & _nation = "Vancouver, Canada" | What is the total number of third place finishes when the city & nation was Vancouver, Canada? | CREATE TABLE table_2146364_2 (third_place INTEGER, city_ VARCHAR, _nation VARCHAR) |
SELECT counties_represented FROM table_name_97 WHERE first_elected = 2006 AND committee = "ways and means" | What counties represented have a First Elected of 2006 and a Ways and Means Committee? | CREATE TABLE table_name_97 (counties_represented VARCHAR, first_elected VARCHAR, committee VARCHAR) |
SELECT format FROM table_name_72 WHERE region = "france" AND label = "universal licensing music (ulm)" | What format has France as the region, with Universal Licensing Music (ulm) as the label? | CREATE TABLE table_name_72 (format VARCHAR, region VARCHAR, label VARCHAR) |
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83 | How many u.s. viewers (million) have a series # 83? | CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR) |
SELECT match FROM table_name_11 WHERE points = 24 | What is the Match with Points that are 24? | CREATE TABLE table_name_11 (match VARCHAR, points VARCHAR) |
SELECT brakes FROM table_250230_2 WHERE gearbox = "4-speed automatic" | What brakes for the 4-speed automatic gearbox? | CREATE TABLE table_250230_2 (brakes VARCHAR, gearbox VARCHAR) |
SELECT fourth_district FROM table_name_41 WHERE second_district = "kurt van koevering" | Who's the Fourth District with a Second District of kurt van koevering? | CREATE TABLE table_name_41 (fourth_district VARCHAR, second_district VARCHAR) |
SELECT title FROM table_25996938_1 WHERE us_viewers__million_ = "18.74" | Which episode did 18.74 million people tune in? | CREATE TABLE table_25996938_1 (title VARCHAR, us_viewers__million_ VARCHAR) |
SELECT result FROM table_name_11 WHERE year = "1964: (37th)" | For the film made in 1964: (37th), what was the result? | CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR) |
SELECT windows FROM table_11381701_3 WHERE other = "0.7%" | When the value of "other" is 0.7%, what is the percentage for Windows? | CREATE TABLE table_11381701_3 (windows VARCHAR, other VARCHAR) |
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45" | Who was the Locomotive superintendent has a NER class of d45? | CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR) |
SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270 | Which Rank has a Goals smaller than 76, and a Matches larger than 270? | CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR) |
SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001" | How man seasons have the air date of October 2, 2001? | CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR) |
SELECT MAX(population__glengallan_) FROM table_12584173_1 | What is the maximum population size in the town of Glengallen? | CREATE TABLE table_12584173_1 (population__glengallan_ INTEGER) |
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points" | Name the venue that has conv of 5 players on 20 points | CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) |
SELECT league FROM table_name_16 WHERE year = "1994" | Name the league for 1994 | CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR) |
SELECT MIN(attendance) FROM table_name_53 WHERE opponent = "tampa bay buccaneers" AND points_against < 7 | What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7? | CREATE TABLE table_name_53 (attendance INTEGER, opponent VARCHAR, points_against VARCHAR) |
SELECT lexton_plains FROM table_name_18 WHERE wins < 9 AND against < 1593 | What team has fewer than 9 wins and less than 1593 against? | CREATE TABLE table_name_18 (lexton_plains VARCHAR, wins VARCHAR, against VARCHAR) |
SELECT MAX(crowd) FROM table_name_95 WHERE home_team = "hawthorn" | What size was the biggest crowd that watched the home team Hawthorn play? | CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR) |
SELECT rd, _time FROM table_name_43 WHERE res = "win" AND type = "tko" AND opponent = "carlos molina" | What is the rd., time of the match with a win result, a tko type, and Carlos Molina as the opponent? | CREATE TABLE table_name_43 (rd VARCHAR, _time VARCHAR, opponent VARCHAR, res VARCHAR, type VARCHAR) |
SELECT laps FROM table_name_30 WHERE finish = "15" | Which Laps have a Finish of 15? | CREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR) |
SELECT score FROM table_name_98 WHERE date = "16 december 1978" AND tie_no = "9" | What is the score for the date of 16 december 1978, with a tie no of 9? | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR, tie_no VARCHAR) |
SELECT l2_cache FROM table_name_31 WHERE model_number = "turion x2 ultra zm-85" | WHat kind of L2 cache has a Model number of turion x2 ultra zm-85? | CREATE TABLE table_name_31 (l2_cache VARCHAR, model_number VARCHAR) |
SELECT location FROM table_name_86 WHERE opponent = "mario rinaldi" | What is Location, when Opponent is "Mario Rinaldi"? | CREATE TABLE table_name_86 (location VARCHAR, opponent VARCHAR) |
SELECT actor FROM table_name_28 WHERE role = "kate manfredi" | What is Actor, when Role is "Kate Manfredi"? | CREATE TABLE table_name_28 (actor VARCHAR, role VARCHAR) |
SELECT record FROM table_name_86 WHERE date = "april 3" | What is the record on April 3? | CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR) |
SELECT SUM(attendance) FROM table_name_46 WHERE record = "1-6" | What attendance does 1-6 record have? | CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR) |
SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8" | Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 | CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) |
SELECT plur_pret FROM table_name_93 WHERE subj_pret = "ü" AND inf_stem = "e + l/r + cons." | What is the plural preterite that is associated with a subjunctive preterite of ü and has an infinitive stem of e + l/r + cons.? | CREATE TABLE table_name_93 (plur_pret VARCHAR, subj_pret VARCHAR, inf_stem VARCHAR) |
SELECT SUM(enrollment) FROM table_name_28 WHERE location = "culver" | What is the sum of enrollments for schools located in Culver? | CREATE TABLE table_name_28 (enrollment INTEGER, location VARCHAR) |
SELECT years_in_toronto FROM table_10015132_3 WHERE school_club_team = "Hawaii" | When did the player from Hawaii play for Toronto? | CREATE TABLE table_10015132_3 (years_in_toronto VARCHAR, school_club_team VARCHAR) |
SELECT res FROM table_name_25 WHERE time = "5:00" AND method = "decision (unanimous)" AND record = "1–0" | Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1–0? | CREATE TABLE table_name_25 (res VARCHAR, record VARCHAR, time VARCHAR, method VARCHAR) |
SELECT date FROM table_name_93 WHERE record = "47–39" | What date was the game with a record of 47–39? | CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) |
SELECT season FROM table_name_60 WHERE west = "ev bad wörishofen" | Which season had EV Bad Wörishofen in the West? | CREATE TABLE table_name_60 (season VARCHAR, west VARCHAR) |
SELECT game FROM table_name_86 WHERE location_attendance = "amway arena" | What game number was played at amway arena? | CREATE TABLE table_name_86 (game VARCHAR, location_attendance VARCHAR) |
SELECT females___percentage_ FROM table_14598_9 WHERE literate_persons___percentage_ = "68.74" | What is the percentage of all females that are literate people have a percentage of 68.74? | CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, literate_persons___percentage_ VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.