answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT venue FROM table_name_92 WHERE away_team = "essendon" | At what venue did the Essendon team play as an away team? | CREATE TABLE table_name_92 (venue VARCHAR, away_team VARCHAR) |
SELECT record FROM table_name_66 WHERE score = "1β0" | What was the record at the game when the score was 1β0? | CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) |
SELECT rank FROM table_name_56 WHERE bronze = 0 AND total < 3 AND nation = "north korea" | What rank has 0 as the bronze, and a total less than 3, with north korea as the nation? | CREATE TABLE table_name_56 (rank VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) |
SELECT dvd_release FROM table_19982699_1 WHERE director = "Billy O'Brien" | When was the dvd release directed by Billy O'Brien? | CREATE TABLE table_19982699_1 (dvd_release VARCHAR, director VARCHAR) |
SELECT d_49_β FROM table_name_24 WHERE d_46_β = "i 1 @" | Name the D 49 β for when D 46 β of i 1 @ | CREATE TABLE table_name_24 (d_49_β VARCHAR, d_46_β VARCHAR) |
SELECT bulgarian_commander FROM table_name_39 WHERE battle = "battle of rusion" | What is the Bulgarian Commander of the Battle of Rusion? | CREATE TABLE table_name_39 (bulgarian_commander VARCHAR, battle VARCHAR) |
SELECT AVG(enrollment) FROM table_name_21 WHERE school = "lanesville" | What is the enrollment at Lanesville? | CREATE TABLE table_name_21 (enrollment INTEGER, school VARCHAR) |
SELECT MIN(tdp__w_) FROM table_269920_3 WHERE model = "7130N" | What's the TDP for the 7130N model? | CREATE TABLE table_269920_3 (tdp__w_ INTEGER, model VARCHAR) |
SELECT MAX(week) FROM table_10647639_1 | How many weeks are there? | CREATE TABLE table_10647639_1 (week INTEGER) |
SELECT MIN(wins) FROM table_name_16 WHERE scored < 23 AND team = "2 de mayo" AND draws < 7 | What is the fewest wins that has fewer than 23 goals scored, team of 2 de Mayo, and fewer than 7 draws? | CREATE TABLE table_name_16 (wins INTEGER, draws VARCHAR, scored VARCHAR, team VARCHAR) |
SELECT nt_identity FROM table_26708105_5 WHERE species = "Drosophilia melanogaster" | What is the nt identity when the species is drosophilia melanogaster? | CREATE TABLE table_26708105_5 (nt_identity VARCHAR, species VARCHAR) |
SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s" | Which nationality's distance was 500m before 2012, when the record was 1:37.071s? | CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) |
SELECT kickoff FROM table_27690037_2 WHERE game_site = "Rheinstadion" | Name the kickoff for rheinstadion | CREATE TABLE table_27690037_2 (kickoff VARCHAR, game_site VARCHAR) |
SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas" | When bahamas is the country what is the height in centimeters? | CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR) |
SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre" | What team has theoir home games in the venue of gold coast convention centre? | CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR) |
SELECT position FROM table_name_28 WHERE team = "denver broncos" | What is the position of the player from the denver broncos? | CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR) |
SELECT father FROM table_name_97 WHERE birth = "1363" | Who was the father of the person born in 1363? | CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR) |
SELECT SUM(top_10) FROM table_name_61 WHERE top_5 < 1 | How many top 10s when he had under 1 top 5s? | CREATE TABLE table_name_61 (top_10 INTEGER, top_5 INTEGER) |
SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r" | What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? | CREATE TABLE table_name_98 (Id VARCHAR) |
SELECT score FROM table_name_5 WHERE game = 2 | What was the score of game 2? | CREATE TABLE table_name_5 (score VARCHAR, game VARCHAR) |
SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = "Dayana Robel" | Find all the policy type codes associated with the customer "Dayana Robel" | CREATE TABLE customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR) |
SELECT driver FROM table_name_54 WHERE time_retired = "collision" AND laps = "41" | Which driver retired from a collision after 41 laps? | CREATE TABLE table_name_54 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR) |
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2β3" AND december = 13 | How many Points have a Game smaller than 37, and a Score of 2β3, and a December of 13? | CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR) |
SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16 | Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16? | CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR) |
SELECT MIN(population) FROM table_name_38 WHERE regional_county_municipality = "brome-missisquoi" AND name = "cowansville" AND region < 16 | Cowansville has less than 16 regions and is a Brome-Missisquoi Municipality, what is their population? | CREATE TABLE table_name_38 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, name 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 away_team AS score FROM table_name_90 WHERE home_team = "carlton" | When the Home team was Carlton, what was the Away team score? | CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR) |
SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico" | What player from New Mexico plays the WR position? | CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) |
SELECT T1.fname, T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1 | What is the first and last name of the student participating in the most activities? | CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Participates_in (StuID VARCHAR) |
SELECT SUM(season) FROM table_name_46 WHERE average_attendance_league = 2.456 | How many season have an average attendance league of 2.456? | CREATE TABLE table_name_46 (season INTEGER, average_attendance_league VARCHAR) |
SELECT fin_pos FROM table_name_44 WHERE grid = "3" | What is the finishing position for the person who had a grid of 3? | CREATE TABLE table_name_44 (fin_pos VARCHAR, grid VARCHAR) |
SELECT date FROM table_name_6 WHERE opponent = "new orleans saints" | On what date did the team play againt the New Orleans Saints? | CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) |
SELECT engine FROM table_name_1 WHERE chassis = "bugatti t51" AND entrant = "private entry" | What was the Engine, when the Chassis was Bugatti T51, and when the Entrant was a Private Entry? | CREATE TABLE table_name_1 (engine VARCHAR, chassis VARCHAR, entrant VARCHAR) |
SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh" | Which pick came from Pittsburgh? | CREATE TABLE table_name_60 (pick VARCHAR, college VARCHAR) |
SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki" | WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI? | CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT actor_in_original_production FROM table_17827271_1 WHERE actor_required = "Female, older" | What actor played the "female, older" role in the original production? | CREATE TABLE table_17827271_1 (actor_in_original_production VARCHAR, actor_required VARCHAR) |
SELECT venue FROM table_name_58 WHERE score = "82-0" | Tell me the venue for score of 82-0 | CREATE TABLE table_name_58 (venue VARCHAR, score VARCHAR) |
SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41" | What city of license/market has the channel of 41? | CREATE TABLE table_1847523_2 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR) |
SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval" | When ground is manuka oval what is the home team score? | CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR) |
SELECT score FROM table_name_64 WHERE date = "23 november 2003" | What was the score of the competition on 23 November 2003? | CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) |
SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15 | What are the total points for sd 15? | CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR) |
SELECT laps FROM table_name_95 WHERE year = "1969" | How many laps were in 1969? | CREATE TABLE table_name_95 (laps VARCHAR, year VARCHAR) |
SELECT position FROM table_name_31 WHERE pick > 28 | Which position has a pick greater than 28? | CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER) |
SELECT location FROM table_20462111_1 WHERE date = "07.02.2009" | Where was the cup on 07.02.2009 held? | CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR) |
SELECT result FROM table_name_38 WHERE goals = "deacon 3/5, bridge 2/2" | Which result has a Goal of deacon 3/5, bridge 2/2? | CREATE TABLE table_name_38 (result VARCHAR, goals VARCHAR) |
SELECT player FROM table_name_17 WHERE opponent = "queensland" | which athlete played against Queensland? | CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR) |
SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135 | Which Country has a Score of 69-66=135? | CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR) |
SELECT written_by FROM table_12419515_4 WHERE total_viewers__in_millions_ = "1.211" | Who wrote the title that received 1.211 million total viewers? | CREATE TABLE table_12419515_4 (written_by VARCHAR, total_viewers__in_millions_ VARCHAR) |
SELECT capacity FROM table_1974545_3 WHERE baseball_stadium = "Owl Athletic Complex" | What is the capacity for the school that has the Owl Athletic Complex baseball stadium? | CREATE TABLE table_1974545_3 (capacity VARCHAR, baseball_stadium VARCHAR) |
SELECT SUM(spike) FROM table_name_78 WHERE date_of_birth = "28.09.1981" AND block > 318 | How many spikes have 28.09.1981 as the date of birth, with a block greater than 318? | CREATE TABLE table_name_78 (spike INTEGER, date_of_birth VARCHAR, block VARCHAR) |
SELECT result FROM table_22736523_1 WHERE week__number = "Top 40" | For week number of the top 40, what was the results? | CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) |
SELECT other_hotel_details, star_rating_code FROM HOTELS ORDER BY price_range LIMIT 3 | Show the details and star ratings of the 3 least expensive hotels. | CREATE TABLE HOTELS (other_hotel_details VARCHAR, star_rating_code VARCHAR, price_range VARCHAR) |
SELECT high_points FROM table_name_21 WHERE date = "july 7" | What player had the high point on July 7? | CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR) |
SELECT decision FROM table_name_85 WHERE date = "april 25" | Which Decision has a Date of april 25? | CREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR) |
SELECT driver FROM table_27781212_1 WHERE winnings = "$225,000" | who is the driver that had winnings of $225,000? | CREATE TABLE table_27781212_1 (driver VARCHAR, winnings VARCHAR) |
SELECT city_of_license FROM table_name_26 WHERE frequency_mhz = "90.3 fm" | Tell me the city of license with frequency of Mhz of 90.3 fm | CREATE TABLE table_name_26 (city_of_license VARCHAR, frequency_mhz VARCHAR) |
SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group I" | Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I? | CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR) |
SELECT note FROM table_name_73 WHERE catalog = "32xa-106" | Name the note for catalog of 32xa-106 | CREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR) |
SELECT date FROM table_name_87 WHERE venue = "a" AND result = "0-1" AND opponent = "rangers" | What was the date of the game held at the A venue with a result of 0-1 against the Rangers? | CREATE TABLE table_name_87 (date VARCHAR, opponent VARCHAR, venue VARCHAR, result VARCHAR) |
SELECT COUNT(week) FROM table_name_36 WHERE venue = "memorial stadium" AND attendance < 41 OFFSET 252 | What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252? | CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR) |
SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319" | how many times was the catalog number cal01 / 0091037137319? | CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) |
SELECT directed_by FROM table_19068566_1 WHERE production_code = "3T7461" | When 3t7461 is the production code who is the director? | CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code 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 opponent FROM table_25380472_2 WHERE week = 7 | On week 7, what were the opponents? | CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR) |
SELECT res FROM table_name_11 WHERE time = "1:13" | What is the result when the time is 1:13? | CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR) |
SELECT track AS time FROM table_11839306_2 WHERE track = 8 | How long is track number 8? | CREATE TABLE table_11839306_2 (track VARCHAR) |
SELECT time_retired FROM table_name_79 WHERE grid = "9" | Which time/retired has a grid of 9? | CREATE TABLE table_name_79 (time_retired VARCHAR, grid VARCHAR) |
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Artificial Flowers" | What is listed in segment b when segment c is artificial flowers? | CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR) |
SELECT ihsaa_class FROM table_name_95 WHERE location = "middlebury, in" | What is the IHSAA class for the team located in Middlebury, IN? | CREATE TABLE table_name_95 (ihsaa_class VARCHAR, location VARCHAR) |
SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason" | Name the title for marion burns leading lady and role of john mason | CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR) |
SELECT COUNT(gold) FROM table_name_62 WHERE total < 1 | Tell me the total number of gold for total less than 1 | CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER) |
SELECT away_team FROM table_name_97 WHERE venue = "corio oval" | In the venue Corio Oval, who was the away team? | CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR) |
SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia" | Tell me the total number of pick for university of virginia | CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR) |
SELECT part_3 FROM table_1745843_9 WHERE part_1 = "treffen" | Name the part 3 for treffen | CREATE TABLE table_1745843_9 (part_3 VARCHAR, part_1 VARCHAR) |
SELECT MIN(december) FROM table_name_76 WHERE opponent = "colorado avalanche" | What was the first time in December they played the Colorado Avalanche? | CREATE TABLE table_name_76 (december INTEGER, opponent VARCHAR) |
SELECT hr_no FROM table_1886270_1 WHERE hr_name = "River Ness" | When river ness is the hr name what is the hr number? | CREATE TABLE table_1886270_1 (hr_no VARCHAR, hr_name VARCHAR) |
SELECT actors_name FROM table_10236830_4 WHERE nomination = "Best Actor in a Supporting Role" AND country = "Serbia" | Which actor from Serbia was nominated for best actor in a supporting role? | CREATE TABLE table_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) |
SELECT location FROM table_name_12 WHERE round = "round 3" AND score = "1-1" | At what Location in Round 3 is the Score 1-1? | CREATE TABLE table_name_12 (location VARCHAR, round VARCHAR, score VARCHAR) |
SELECT MAX(height) FROM table_14363116_1 WHERE player = "Yury Berezhko" | Name the maximum height for yury berezhko | CREATE TABLE table_14363116_1 (height INTEGER, player VARCHAR) |
SELECT division FROM table_25840200_1 WHERE tv = "HBO PPV" | What division was on HBO PPV? | CREATE TABLE table_25840200_1 (division VARCHAR, tv VARCHAR) |
SELECT COUNT(attendance) FROM table_name_82 WHERE visitor = "toronto" | What is the total attendance of the game with Toronto as the visitor team? | CREATE TABLE table_name_82 (attendance VARCHAR, visitor VARCHAR) |
SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007" | what is the average rating when the air date is november 23, 2007? | CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR) |
SELECT COUNT(silver) FROM table_name_60 WHERE bronze < 6 AND gold > 3 | How many silvers for nations with over 3 golds and under 6 bronzes? | CREATE TABLE table_name_60 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT year FROM table_name_55 WHERE class = "125cc" | Tell me the year for class of 125cc | CREATE TABLE table_name_55 (year VARCHAR, class VARCHAR) |
SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%" | What period has 0.25% as the other mozilla? | CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR) |
SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart" | Which Role has a First US National Tour of roger bart? | CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR) |
SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959" | How many appointed archbishops were ordained as priests on December 20, 1959 | CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR) |
SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn" | What is the sum of Year, when Opponent is #3 UCONN? | CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR) |
SELECT MIN(week) FROM table_26401898_2 WHERE final_score = "L 26β42" | Name the least week for l 26β42 | CREATE TABLE table_26401898_2 (week INTEGER, final_score VARCHAR) |
SELECT depth FROM table_24192190_1 WHERE time__utc_ = "11:40:26" | When 11:40:26 is the time (utc) what is the depth? | CREATE TABLE table_24192190_1 (depth VARCHAR, time__utc_ VARCHAR) |
SELECT county FROM table_20350118_1 WHERE mccain_number = 20226 | Where did McCain get 20226 votes? | CREATE TABLE table_20350118_1 (county VARCHAR, mccain_number VARCHAR) |
SELECT airport FROM table_name_10 WHERE iata = "dac" | What is the name of the airport with IATA code DAC? | CREATE TABLE table_name_10 (airport VARCHAR, iata VARCHAR) |
SELECT record FROM table_name_98 WHERE game_site = "mile high stadium" AND opponent = "detroit lions" | What was the Bronco's record when they played the Detroit Lions at Mile High Stadium? | CREATE TABLE table_name_98 (record VARCHAR, game_site VARCHAR, opponent VARCHAR) |
SELECT name FROM driver WHERE NOT driver_id IN (SELECT driver_id FROM school_bus) | Show the names of the drivers without a school bus. | CREATE TABLE school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR) |
SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100" | What is the interface of the product xerox travel scanner 100? | CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR) |
SELECT team FROM table_name_35 WHERE driver = "jan heylen" | What team does jan heylen race for? | CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR) |
SELECT MAX(stage) FROM table_25802618_15 WHERE winner = "Mikhail Ignatiev" | What was the latest stage won by Mikhail Ignatiev? | CREATE TABLE table_25802618_15 (stage INTEGER, winner VARCHAR) |
SELECT home_team AS score FROM table_name_45 WHERE venue = "lake oval" | What is the home team score at lake oval? | CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) |
SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974" | Who is the minister with a term end on 10 March 1974? | CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR) |
SELECT location_attendance FROM table_11961582_10 WHERE high_rebounds = "A. Horford (13)" | What is the location when the high rebounds was from A. Horford (13)? | CREATE TABLE table_11961582_10 (location_attendance VARCHAR, high_rebounds VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.