answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT name FROM table_name_18 WHERE goals = 25 | What name is the goals of 25? | CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR) |
SELECT production_number FROM table_name_96 WHERE series = "mm" AND release_date = "1964-06-27" | What is the Production Number of the Filmography in MM Series with a Release date of 1964-06-27? | CREATE TABLE table_name_96 (production_number VARCHAR, series VARCHAR, release_date VARCHAR) |
SELECT MIN(area__km_2__) FROM table_name_31 WHERE most_spoken_language = "afrikaans" AND place = "cannonvale" | What is the lowest area for cannonvale that speaks afrikaans? | CREATE TABLE table_name_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR) |
SELECT MAX(attendance) FROM table_10361453_2 WHERE record = "7-3" | The record of 7-3 had the largest attendance of what? | CREATE TABLE table_10361453_2 (attendance INTEGER, record VARCHAR) |
SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election" | Which 1st Party has an Election of 1849 by-election? | CREATE TABLE table_name_42 (election VARCHAR) |
SELECT AVG(lane) FROM table_name_79 WHERE nationality = "kenya" AND react > 0.212 | What is the average lane for Kenya with react larger than 0.212? | CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR) |
SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 1 | How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1? | CREATE TABLE table_name_26 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT semifinalists FROM table_name_95 WHERE tournament = "montreal" | who were the semifinalists for the tournament in montreal? | CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR) |
SELECT MAX(rank) FROM table_name_45 WHERE floors__stories_ > 15 | Which is the highest ranked building with more than 15 floors? | CREATE TABLE table_name_45 (rank INTEGER, floors__stories_ INTEGER) |
SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage" | What is the average grid for piers courage? | CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR) |
SELECT result FROM table_name_69 WHERE score = "12-22" | What outcome has a score of 12-22? | CREATE TABLE table_name_69 (result VARCHAR, score VARCHAR) |
SELECT score FROM table_name_11 WHERE home = "st. louis" | What did st. louis score at home? | CREATE TABLE table_name_11 (score VARCHAR, home VARCHAR) |
SELECT date FROM table_name_85 WHERE competition = "2010 fifa world cup qualification" | Tell me the date for 2010 fifa world cup qualification | CREATE TABLE table_name_85 (date VARCHAR, competition VARCHAR) |
SELECT direction FROM table_100518_1 WHERE graha__planet_ = "Bṛhaspati (Jupiter)" | What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)? | CREATE TABLE table_100518_1 (direction VARCHAR, graha__planet_ VARCHAR) |
SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators" | Who is the captain of the Gloucestershire Gladiators? | CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR) |
SELECT MAX(fips_code) FROM table_name_58 WHERE coordinates = "41.827547, -74.118478" AND land___sq_mi__ < 1.196 | Name the highest FIPS code for coordinates of 41.827547, -74.118478 and land less than 1.196 | CREATE TABLE table_name_58 (fips_code INTEGER, coordinates VARCHAR, land___sq_mi__ VARCHAR) |
SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" | Who was the home captain at Sabina Park? | CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) |
SELECT COUNT(laps) FROM table_name_91 WHERE grid = 25 | How many laps for grid 25? | CREATE TABLE table_name_91 (laps VARCHAR, grid VARCHAR) |
SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = "13 years" | what name has an appointed year of 2009 and years until mandatory retirement of 13 years? | CREATE TABLE table_name_40 (name VARCHAR, year_appointed VARCHAR, years_until_mandatory_retirement VARCHAR) |
SELECT stadium FROM table_name_11 WHERE city = "penrith" | What stadium is in penrith? | CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR) |
SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics" | When athletics has a total more than 2 and 0 gold, what is the total number of bronze? | CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR) |
SELECT total FROM table_name_75 WHERE set_1 = "14–25" | What is the total when the score for set 1 is 14–25? | CREATE TABLE table_name_75 (total VARCHAR, set_1 VARCHAR) |
SELECT wins FROM table_name_80 WHERE podiums = "2" AND f_laps = "2" | If Podiums is 2 and F/Laps are 2, what are the wins? | CREATE TABLE table_name_80 (wins VARCHAR, podiums VARCHAR, f_laps VARCHAR) |
SELECT MAX(round) FROM table_name_36 WHERE time = "5:00" AND opponent = "sergio vinagre" | What was the round that Sergio Vinagre had a time of 5:00? | CREATE TABLE table_name_36 (round INTEGER, time VARCHAR, opponent VARCHAR) |
SELECT method FROM table_name_61 WHERE round = "1" AND res = "loss" AND opponent = "carlos newton" | What is the method of the match where there was a loss to Carlos Newton in round 1? | CREATE TABLE table_name_61 (method VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR) |
SELECT MIN(week) FROM table_name_62 WHERE game_site = "ford field" | What was the earliest week the Titans played at Ford Field? | CREATE TABLE table_name_62 (week INTEGER, game_site VARCHAR) |
SELECT reason FROM table_275023_1 WHERE province = "Otago" | Why was Otago formed? | CREATE TABLE table_275023_1 (reason VARCHAR, province VARCHAR) |
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-2)" | Which Score has a Loss of buehrle (7-2)? | CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR) |
SELECT team FROM table_17355716_5 WHERE date = "November 5" | Name the team for november 5 | CREATE TABLE table_17355716_5 (team VARCHAR, date VARCHAR) |
SELECT home_team FROM table_name_53 WHERE attendance = "568" | What home team played when there was an attendance of 568? | CREATE TABLE table_name_53 (home_team VARCHAR, attendance VARCHAR) |
SELECT home FROM table_name_44 WHERE visitor = "nashville" | Which Home has a Visitor of nashville? | CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR) |
SELECT attribute FROM table_name_41 WHERE bubbles = "yes" AND cancelable = "yes" AND category = "mouse" AND type = "contextmenu" | When Event has Bubbles of yes, Cancelable of yes, Category of mouse, and a Type of contextmenu what is the Attribute? | CREATE TABLE table_name_41 (attribute VARCHAR, type VARCHAR, category VARCHAR, bubbles VARCHAR, cancelable VARCHAR) |
SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili" | What is the location of the fight against Zaza Tkeshelashvili? | CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) |
SELECT song FROM table_name_86 WHERE length = "4:08" | Which song lasts 4:08? | CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR) |
SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship" | What was the winner's share in the wegmans lpga championship? | CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR) |
SELECT location_attendance FROM table_name_59 WHERE team = "denver" | What was the attendance at the Denver game? | CREATE TABLE table_name_59 (location_attendance VARCHAR, team VARCHAR) |
SELECT departure FROM table_name_88 WHERE kilometers = 1676 | What's listed for Departure that has 1676 listed for the Kilometers? | CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR) |
SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull" | How many years have a Player name of ronnie bull? | CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR) |
SELECT try_bonus FROM table_15467476_2 WHERE tries_for = "30" | Name the try bonus and tries for 30 | CREATE TABLE table_15467476_2 (try_bonus VARCHAR, tries_for VARCHAR) |
SELECT name FROM table_name_95 WHERE date = "11 june 1940" | Which Name has a Date of 11 june 1940? | CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR) |
SELECT specification FROM table_name_1 WHERE total_produced > 19 AND model = "fb-1" | What is the specification of the locomotives with a total produced more than 19 and a model of fb-1? | CREATE TABLE table_name_1 (specification VARCHAR, total_produced VARCHAR, model VARCHAR) |
SELECT MAX(geohash_length) FROM table_name_31 WHERE lng_error = "±0.00017" AND lng_bits < 20 | What is the highest geohash length when there is a ng error of ±0.00017, and a lng bits smaller than 20? | CREATE TABLE table_name_31 (geohash_length INTEGER, lng_error VARCHAR, lng_bits VARCHAR) |
SELECT Player_name, residence FROM player WHERE Occupation <> "Researcher" | List the name and residence for players whose occupation is not "Researcher". | CREATE TABLE player (Player_name VARCHAR, residence VARCHAR, Occupation VARCHAR) |
SELECT nation FROM table_name_54 WHERE bronze = 2 AND rank = 9 | What nation has 2 bronze and a rank of 9? | CREATE TABLE table_name_54 (nation VARCHAR, bronze VARCHAR, rank VARCHAR) |
SELECT nation FROM table_name_24 WHERE sport = "weightlifting" AND pinyin = "kùkè qúndǎo" | What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo? | CREATE TABLE table_name_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR) |
SELECT candidates FROM table_1341453_37 WHERE incumbent = "Tony P. Hall" | Tony P. Hall was the incumbent in the race between what two candidates? | CREATE TABLE table_1341453_37 (candidates VARCHAR, incumbent VARCHAR) |
SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar" | Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? | CREATE TABLE table_name_88 (team VARCHAR, coach VARCHAR, captain VARCHAR) |
SELECT MIN(round) FROM table_name_83 WHERE overall = 91 | What round did the overall pick of 91 occur in the 1982 NFL draft? | CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR) |
SELECT AVG(wins) FROM table_name_25 WHERE team = "usa" | How many average wins have USA as the team? | CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR) |
SELECT match_points FROM table_27987767_2 WHERE losers = "Gran Parma" | how many match points did gran parma lost | CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR) |
SELECT races FROM table_name_19 WHERE poles = "0" AND team = "asm" | What is the number of races associated with Team ASM and 0 poles? | CREATE TABLE table_name_19 (races VARCHAR, poles VARCHAR, team VARCHAR) |
SELECT AVG(total_passengers), MAX(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow' | What is the average and maximum number of total passengers for train stations in London or Glasgow? | CREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR) |
SELECT COUNT(rank) FROM table_name_3 WHERE goals = 100 AND matches < 300 | What is the total number of Rank with 100 goals, and less than 300 matches? | CREATE TABLE table_name_3 (rank VARCHAR, goals VARCHAR, matches VARCHAR) |
SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena" | What is the average capacity that has rod laver arena as the stadium? | CREATE TABLE table_name_97 (capacity INTEGER, stadium VARCHAR) |
SELECT SUM(points) FROM table_name_8 WHERE season = "1963" AND games > 30 | What's the sum of points for the 1963 season when there are more than 30 games? | CREATE TABLE table_name_8 (points INTEGER, season VARCHAR, games VARCHAR) |
SELECT theme FROM table_name_79 WHERE episode = "top 6" | Which theme has a Episode of top 6? | CREATE TABLE table_name_79 (theme VARCHAR, episode VARCHAR) |
SELECT partner FROM table_name_14 WHERE surface = "hard" | Who played on a hard surface? | CREATE TABLE table_name_14 (partner VARCHAR, surface VARCHAR) |
SELECT november_3 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" | During November 3 where august 21-22 is august 21, 2017? | CREATE TABLE table_25287007_2 (november_3 VARCHAR, august_21_22 VARCHAR) |
SELECT home_team FROM table_name_29 WHERE venue = "corio oval" | Which home team plays in the Corio Oval venue? | CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR) |
SELECT MIN(sales__billion_) AS $_ FROM table_name_73 WHERE company = "bp" | What is BP's lowest sales? | CREATE TABLE table_name_73 (sales__billion_ INTEGER, company VARCHAR) |
SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32" | Which driver earned 32 points from the Andretti Green team? | CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) |
SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp" | What Australian Marquee team is Michael Beauchamp a captain of? | CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) |
SELECT loser FROM table_name_87 WHERE winner = "antonio silva" | Who was the loser of the fight against antonio silva? | CREATE TABLE table_name_87 (loser VARCHAR, winner VARCHAR) |
SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey" | How many extra points did Paul Dickey received | CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR) |
SELECT team FROM table_13619135_8 WHERE record = "45-36" | Who did the Raptors play when their record was 45-36? | CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR) |
SELECT status FROM table_22481967_1 WHERE operator = "Toronto Transit Commission" | List the status for the operator Toronto transit commission. | CREATE TABLE table_22481967_1 (status VARCHAR, operator VARCHAR) |
SELECT municipality FROM table_name_58 WHERE station = "harmon cove" | What municipality is the Harmon Cove station located in? | CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR) |
SELECT score FROM table_28220778_21 WHERE date = "January 2" | What is every score when the date is January 2? | CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR) |
SELECT MAX(crowd) FROM table_name_5 WHERE home_team = "richmond" | What is the highest crowd number for the home team Richmond? | CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR) |
SELECT MAX(season) FROM table_29434211_1 WHERE podiums = 2 | What is the maximum season that has exactly 2 podiums? | CREATE TABLE table_29434211_1 (season INTEGER, podiums VARCHAR) |
SELECT MIN(league) AS Cup FROM table_12755786_8 | what is the least amount in the tournament? | CREATE TABLE table_12755786_8 (league INTEGER) |
SELECT town_city FROM table_name_39 WHERE name = "garfield county museum" | What city is Garfield County Museum located in? | CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR) |
SELECT name_of_the_river FROM table_name_31 WHERE name_of_the_state_where_found_in_india = "madhya pradesh" | What is the name of the river found in Madhya Pradesh, India? | CREATE TABLE table_name_31 (name_of_the_river VARCHAR, name_of_the_state_where_found_in_india VARCHAR) |
SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231 | What is the avg seek time for a device that is less than 3231? | CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER) |
SELECT 2004 FROM table_name_41 WHERE tournament = "french open" | Which 2004 has a Tournament of french open? | CREATE TABLE table_name_41 (tournament VARCHAR) |
SELECT roomName, basePrice FROM Rooms ORDER BY basePrice LIMIT 1 | Which room has cheapest base price? List the room's name and the base price. | CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR) |
SELECT rank FROM table_name_35 WHERE time = "2:11.83" | What is the rank of the swimmer with a time of 2:11.83? | CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR) |
SELECT team_2 FROM table_name_91 WHERE score = "1-2" | What is the name of team 2 that has 1-2 as the score? | CREATE TABLE table_name_91 (team_2 VARCHAR, score VARCHAR) |
SELECT written_by FROM table_25750635_2 WHERE production_code = "E4515" | Who wrote the episode with e4515 as the production code? | CREATE TABLE table_25750635_2 (written_by VARCHAR, production_code VARCHAR) |
SELECT COUNT(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.type = "Studio" | Find the number of songs in all the studio albums. | CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) |
SELECT _number FROM table_18888159_1 WHERE country = "Fiji" | Name the number for fiji | CREATE TABLE table_18888159_1 (_number VARCHAR, country VARCHAR) |
SELECT interview FROM table_12338595_1 WHERE state = "Virginia" | What is the interview score for the state of Virginia? | CREATE TABLE table_12338595_1 (interview VARCHAR, state VARCHAR) |
SELECT winning_driver FROM table_22379931_2 WHERE winning_team = "Lawson Team Impul" | Who was the driver for the winning team Lawson Team Impul? | CREATE TABLE table_22379931_2 (winning_driver VARCHAR, winning_team VARCHAR) |
SELECT to_par FROM table_name_67 WHERE player = "vijay singh" | What is the To par has the presence of Vijay Singh? | CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR) |
SELECT county FROM table_name_96 WHERE median_household_income = "$37,230" | Which County has a Median household income of $37,230? | CREATE TABLE table_name_96 (county VARCHAR, median_household_income VARCHAR) |
SELECT nominated_work FROM table_name_29 WHERE category = "popularity award (actor in a motion picture)" | What is the Nominated work of popularity award (actor in a motion picture)? | CREATE TABLE table_name_29 (nominated_work VARCHAR, category VARCHAR) |
SELECT state FROM table_name_26 WHERE swimsuit < 8.874 AND evening_gown < 9.257 AND interview < 9.121 | What state had less than 8.874 for swimsuit, less than 9.257 for evening gown, and less than 9.121 for interview? | CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) |
SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon state" | WHo has a Position of end and a School/Club Team of oregon state? | CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) |
SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44 | ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? | CREATE TABLE table_name_40 (size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR) |
SELECT result FROM table_14977592_1 WHERE date = "November 14, 1965" | Name the result for november 14, 1965 | CREATE TABLE table_14977592_1 (result VARCHAR, date VARCHAR) |
SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028 | What GEO ID has a longitude of -102.693028? | CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR) |
SELECT player FROM table_name_57 WHERE place = "t4" AND score = 71 - 74 - 66 = 211 | What is the T4 Place Player with a Score of 71-74-66=211? | CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT date FROM table_name_40 WHERE class = 157 | On which date was the class 157? | CREATE TABLE table_name_40 (date VARCHAR, class VARCHAR) |
SELECT high_assists FROM table_27704187_2 WHERE date = "October 5" | Who had the most assists and how many did they have on October 5? | CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR) |
SELECT cardinal_direction FROM table_name_84 WHERE english = "monday" | What is the cardinal direction of Monday in English? | CREATE TABLE table_name_84 (cardinal_direction VARCHAR, english VARCHAR) |
SELECT college FROM table_name_10 WHERE name = "kevin landolt" | Which college did kevin landolt attend? | CREATE TABLE table_name_10 (college VARCHAR, name VARCHAR) |
SELECT location FROM table_name_44 WHERE date = "1931-02-02" | Which Location has a Date of 1931-02-02? | CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) |
SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18 | How many gold medals when the total is more than 1 and 18 silver? | CREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR) |
SELECT fsb___ht__mhz_ FROM table_name_50 WHERE southbridge = "amd-8131 amd-8132" | What is the FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132? | CREATE TABLE table_name_50 (fsb___ht__mhz_ VARCHAR, southbridge VARCHAR) |
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino" | WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO? | CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.