question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
How many 2006 subscribers are named Vodafone? | CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) | SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" |
What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? | CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida" |
What is the highest number of laps for grid 17? | CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR) | SELECT MAX(laps) FROM table_name_99 WHERE grid = 17 |
Who is the manufacturer of the car driven by Bradley Smith? | CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith" |
Which R 51 O value corresponds to a D 42 O value of r 19? | CREATE TABLE table_name_8 (r_51_o VARCHAR, d_42_o VARCHAR) | SELECT r_51_o FROM table_name_8 WHERE d_42_o = "r 19" |
Who was the host team at Candlestick Park? | CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR) | SELECT host_team FROM table_name_22 WHERE stadium = "candlestick park" |
Who retired at lap 77 and was grid 11? | CREATE TABLE table_name_22 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_22 WHERE laps = "77" AND grid = "11" |
What is the box score type for the game that has a score of 103-101? | CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR) | SELECT Box AS score FROM table_name_79 WHERE score = "103-101" |
What is the Revenue per capita for Vermont? | CREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR) | SELECT revenue_per_capita FROM table_name_2 WHERE state = "vermont" |
What is the value for the item "Lost" when the value "Tries" is 47? | CREATE TABLE table_name_86 (lost VARCHAR, tries_for VARCHAR) | SELECT lost FROM table_name_86 WHERE tries_for = "47" |
Which Visitor has a Series of 2 – 1? | CREATE TABLE table_name_15 (visitor VARCHAR, series VARCHAR) | SELECT visitor FROM table_name_15 WHERE series = "2 – 1" |
Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′ | CREATE TABLE table_name_86 (ngc_number VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) | SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "°02′" |
Name the lowest Year Joined which has a Mascot of pioneers? | CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR) | SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers" |
What language for the glam genre? | CREATE TABLE table_14160327_4 (language VARCHAR, genre VARCHAR) | SELECT language FROM table_14160327_4 WHERE genre = "Glam" |
Which week was the December 21, 2003 game? | CREATE TABLE table_name_59 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_59 WHERE date = "december 21, 2003" |
How many wheels does the train owned by Texas and New Orleans Railroad #319 have? | CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR) | SELECT COUNT(wheel_arrangement___whyte_notation__) FROM table_1057316_1 WHERE operational_owner_s_ = "Texas and New Orleans Railroad #319" |
What was the record after the game against the St. Louis Cardinals? | CREATE TABLE table_name_15 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_15 WHERE opponent = "st. louis cardinals" |
How many is the high assist total for players from panama? | CREATE TABLE table_29743928_3 (assists INTEGER, country VARCHAR) | SELECT MAX(assists) FROM table_29743928_3 WHERE country = "Panama" |
What was the attendance at Brunswick Street Oval? | CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "brunswick street oval" |
Show the product type codes that have at least two products. | CREATE TABLE Products (Product_Type_Code VARCHAR) | SELECT Product_Type_Code FROM Products GROUP BY Product_Type_Code HAVING COUNT(*) >= 2 |
What is the Year of the Coin with an Issue Price of $1089.95 and Mintage less than 900? | CREATE TABLE table_name_15 (year INTEGER, issue_price VARCHAR, mintage VARCHAR) | SELECT SUM(year) FROM table_name_15 WHERE issue_price = "$1089.95" AND mintage < 900 |
What location has a home ground of n/a, and position in 2012-13 of 13th, third division? | CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) | SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" |
Who is the winning driver of the race on 5 May? | CREATE TABLE table_name_90 (winning_driver VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_name_90 WHERE date = "5 may" |
What College/junior/club team has a Position of centre, and pick is #22? | CREATE TABLE table_name_31 (college_junior_club_team VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT college_junior_club_team FROM table_name_31 WHERE position = "centre" AND pick__number = "22" |
what is the capital with the Voivodeship Separate city of białostockie? | CREATE TABLE table_name_1 (capital VARCHAR, voivodeship_separate_city VARCHAR) | SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie" |
What is the sum of bronzes associated with 0 golds and a rank of 10? | CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0 |
yes or no for the adelaide with no for auckland, yes for melbourne, yes for the gold coast? | CREATE TABLE table_name_97 (adelaide VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR) | SELECT adelaide FROM table_name_97 WHERE auckland = "no" AND melbourne = "yes" AND gold_coast = "yes" |
What is the road record for Vanderbilt? | CREATE TABLE table_23183195_2 (road_record VARCHAR, team VARCHAR) | SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = "Vanderbilt" |
What is the place of Australia? | CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_46 WHERE country = "australia" |
How many calendar items do we have? | CREATE TABLE Ref_calendar (Id VARCHAR) | SELECT COUNT(*) FROM Ref_calendar |
Which design uses the theme alpine skiing? | CREATE TABLE table_name_50 (design VARCHAR, theme VARCHAR) | SELECT design FROM table_name_50 WHERE theme = "alpine skiing" |
What is the location for the club with the nickname the bears? | CREATE TABLE table_18752986_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_18752986_1 WHERE nickname = "Bears" |
What is the the name of the winner or 2nd with a weight more than 7.3, and the result was –? | CREATE TABLE table_name_41 (winner_or_2nd VARCHAR, weight VARCHAR, result VARCHAR) | SELECT winner_or_2nd FROM table_name_41 WHERE weight > 7.3 AND result = "–" |
Score of 3–2, and a Opponent of reds had what sum of attendance? | CREATE TABLE table_name_21 (attendance INTEGER, score VARCHAR, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_21 WHERE score = "3–2" AND opponent = "reds" |
What tournament was Kirk Triplett a runner-up in? | CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett" |
Name the sum of draws for losses less than 2 and wins of 16 | CREATE TABLE table_name_6 (draws INTEGER, wins VARCHAR, losses VARCHAR) | SELECT SUM(draws) FROM table_name_6 WHERE wins = 16 AND losses < 2 |
What is the teaching language for Master of Quantitative Finance? | CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR) | SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance" |
What is the teaching language with the duration (years) 3.5? | CREATE TABLE table_12591022_2 (teaching_language VARCHAR, duration__years_ VARCHAR) | SELECT teaching_language FROM table_12591022_2 WHERE duration__years_ = "3.5" |
Name the region for iwate | CREATE TABLE table_1585609_2 (region VARCHAR, prefecture VARCHAR) | SELECT region FROM table_1585609_2 WHERE prefecture = "Iwate" |
When the fastest lap was driven by damon hill who was the winning constructor? | CREATE TABLE table_name_16 (winning_constructor VARCHAR, fastest_lap VARCHAR) | SELECT winning_constructor FROM table_name_16 WHERE fastest_lap = "damon hill" |
What record has montreal as the visitor, and february 2 as the date? | CREATE TABLE table_name_4 (record VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT record FROM table_name_4 WHERE visitor = "montreal" AND date = "february 2" |
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 platform FROM table_name_33 WHERE year > 2006 AND developer = "3g studios" |
How many capacities are given for FF Jaro club? | CREATE TABLE table_25129482_1 (capacity VARCHAR, club VARCHAR) | SELECT COUNT(capacity) FROM table_25129482_1 WHERE club = "FF Jaro" |
Who was Carlton's home team opponent? | CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_65 WHERE away_team = "carlton" |
What is every entry for assists if the player is Lynn Pride? | CREATE TABLE table_25352324_5 (assists VARCHAR, player VARCHAR) | SELECT assists FROM table_25352324_5 WHERE player = "Lynn Pride" |
What is the highest displacement value for the R Fwd Auto Phase1? | CREATE TABLE table_name_12 (displacement__cc_ INTEGER, model VARCHAR) | SELECT MAX(displacement__cc_) FROM table_name_12 WHERE model = "r fwd auto phase1" |
Where is the track that opened in 1995? | CREATE TABLE table_1245148_1 (location VARCHAR, year_opened VARCHAR) | SELECT location FROM table_1245148_1 WHERE year_opened = 1995 |
What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%? | CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR) | SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%" |
What's the First Day Cover Cancellation with Denomination of $0.50 and Date of Issue as 13 June 2005? | CREATE TABLE table_name_68 (first_day_cover_cancellation VARCHAR, denomination VARCHAR, date_of_issue VARCHAR) | SELECT first_day_cover_cancellation FROM table_name_68 WHERE denomination = "$0.50" AND date_of_issue = "13 june 2005" |
what is the rank when the state is colorado and the location is 37.7859°n 107.7039°w? | CREATE TABLE table_name_21 (rank INTEGER, state VARCHAR, location VARCHAR) | SELECT SUM(rank) FROM table_name_21 WHERE state = "colorado" AND location = "37.7859°n 107.7039°w" |
WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? | CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_68 WHERE place = "t5" AND player = "mark mccumber" |
What is the cons for lib dem of 8% and a lead of 27% | CREATE TABLE table_name_19 (cons VARCHAR, lib_dem VARCHAR, lead VARCHAR) | SELECT cons FROM table_name_19 WHERE lib_dem = "8%" AND lead = "27%" |
What is the interview score when the preliminaries score is 8.400? | CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR) | SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400" |
What is the 2007-08 result when the event was Colonial Square? | CREATE TABLE table_name_74 (event VARCHAR) | SELECT 2007 AS _08 FROM table_name_74 WHERE event = "colonial square" |
What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar? | CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR) | SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar" |
What is the Song choice when The Beatles were the original artist, with an order # of 4? | CREATE TABLE table_name_63 (song_choice VARCHAR, original_artist VARCHAR, order__number VARCHAR) | SELECT song_choice FROM table_name_63 WHERE original_artist = "the beatles" AND order__number = "4" |
If podiums are 26, what's the lowest WChmp? | CREATE TABLE table_name_49 (wchmp INTEGER, podiums VARCHAR) | SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26 |
What is the score of champion Ken Rosewall in 1957? | CREATE TABLE table_name_39 (score VARCHAR, champion VARCHAR, year VARCHAR) | SELECT score FROM table_name_39 WHERE champion = "ken rosewall" AND year = "1957" |
who is the replacement when the team is bournemouth and the outgoing manager is kevin bond? | CREATE TABLE table_name_87 (replaced_by VARCHAR, team VARCHAR, outgoing_manager VARCHAR) | SELECT replaced_by FROM table_name_87 WHERE team = "bournemouth" AND outgoing_manager = "kevin bond" |
Name the attribute for mutation and domcharacterdatamodified | CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR) | SELECT attribute FROM table_name_81 WHERE category = "mutation" AND type = "domcharacterdatamodified" |
Who are all the players with 156 rebounds? | CREATE TABLE table_22824199_1 (player VARCHAR, rebounds VARCHAR) | SELECT player FROM table_22824199_1 WHERE rebounds = 156 |
who is the incumbent for district mississippi 4 | CREATE TABLE table_1342379_23 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 4" |
What's the lengths behind of Jockey Ramon A. Dominguez? | CREATE TABLE table_name_63 (lengths_behind VARCHAR, jockey VARCHAR) | SELECT lengths_behind FROM table_name_63 WHERE jockey = "ramon a. dominguez" |
Who were the opponents in the match that was played on a hard court and had a runner-up outcome? | CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up" |
Name the least grid for 17 points | CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR) | SELECT MIN(grid) FROM table_17304308_1 WHERE points = "17" |
Which team is located in Lida? | CREATE TABLE table_name_91 (team VARCHAR, location VARCHAR) | SELECT team FROM table_name_91 WHERE location = "lida" |
Show names and seatings, ordered by seating for all tracks opened after 2000. | CREATE TABLE track (name VARCHAR, seating VARCHAR, year_opened INTEGER) | SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating |
Which Tournament has a Semi finalists of martina hingis joannette kruger? | CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR) | SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger" |
Whatis the number of total goals maximum? | CREATE TABLE table_10240125_2 (total_goals INTEGER) | SELECT MAX(total_goals) FROM table_10240125_2 |
Which Attendance has an Opponent of carolina panthers? | CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers" |
What is the total for Rank 11? | CREATE TABLE table_name_57 (total VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_57 WHERE rank = 11 |
Who is Team D when Carmen Ada is team C? | CREATE TABLE table_name_61 (team_d VARCHAR, team_c VARCHAR) | SELECT team_d FROM table_name_61 WHERE team_c = "carmen ada" |
What is the dominant religion for нови сад in 2002? | CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад" |
How many points did the Club score that has a try bonus of 7 and 52 tries for ? | CREATE TABLE table_name_52 (points_for VARCHAR, tries_for VARCHAR, try_bonus VARCHAR) | SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "7" |
How many doses for the bacillus calmette-guérin? | CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR) | SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin" |
What home team played at Glenferrie Oval? | CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_76 WHERE venue = "glenferrie oval" |
What was the Surface on during 10 November 2006? | CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_41 WHERE date = "10 november 2006" |
Which lava domes erupted or had a growth episode during the Holocene period? | CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR) | SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene" |
From what country did someone score 71? | CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_72 WHERE score = 71 |
What is the name of the episode that Richard Thorpe directed? | CREATE TABLE table_12564633_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_12564633_1 WHERE directed_by = "Richard Thorpe" |
what is the minimum of 60 -64? | CREATE TABLE table_16457934_4 (Id VARCHAR) | SELECT MIN(60 AS _to_64) FROM table_16457934_4 |
What is the Icelandic word for the English word bride? | CREATE TABLE table_name_41 (icelandic VARCHAR, english VARCHAR) | SELECT icelandic FROM table_name_41 WHERE english = "bride" |
Which Dist (f) has a Race of irish derby? | CREATE TABLE table_name_75 (dist__f_ VARCHAR, race VARCHAR) | SELECT dist__f_ FROM table_name_75 WHERE race = "irish derby" |
How many different kinds of lens brands are there? | CREATE TABLE camera_lens (brand VARCHAR) | SELECT COUNT(DISTINCT brand) FROM camera_lens |
Which Team has Losses larger than 5, and a Position of 12? | CREATE TABLE table_name_53 (team VARCHAR, losses VARCHAR, position VARCHAR) | SELECT team FROM table_name_53 WHERE losses > 5 AND position = 12 |
When did the season with 1 team format premiere? | CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR) | SELECT premiere_air_dates FROM table_1949994_7 WHERE format = "1 Team" |
Which IHSAA Class has a Mascot of tigers? | CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers" |
On what dates where games played at Football Park? | CREATE TABLE table_16387953_1 (date VARCHAR, ground VARCHAR) | SELECT date FROM table_16387953_1 WHERE ground = "Football Park" |
How many countries had a per capita withdrawal (m 3 /p/yr) of 372? | CREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR) | SELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372 |
what class has the date of 8/1954? | CREATE TABLE table_name_56 (class VARCHAR, date VARCHAR) | SELECT class FROM table_name_56 WHERE date = "8/1954" |
What is the data point for s hindu where the buddhist data point is 73.0%? | CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) | SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%" |
Name the average gold for czech republic and bronze less than 1 when total is less than 14 | CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic" |
Which player was transferred to Reggina? | CREATE TABLE table_name_99 (player VARCHAR, to_club VARCHAR) | SELECT player FROM table_name_99 WHERE to_club = "reggina" |
What's the average crowd size when the Home team is melbourne? | CREATE TABLE table_name_48 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_48 WHERE home_team = "melbourne" |
What was the score of the tied game or the away team of Crewe Alexandra? | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra" |
What was the tie for the Crystal Palace team? | CREATE TABLE table_name_42 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_42 WHERE home_team = "crystal palace" |
Attendance of 60,671 had what average week? | CREATE TABLE table_name_9 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_9 WHERE attendance = 60 OFFSET 671 |
What was the average rank of Wolfgang Schwarz with greater than 13 places? | CREATE TABLE table_name_56 (rank INTEGER, name VARCHAR, places VARCHAR) | SELECT AVG(rank) FROM table_name_56 WHERE name = "wolfgang schwarz" AND places > 13 |
Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore | CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore" |
Which Lost has Points smaller than 15, and a Name of sc forst, and Drawn smaller than 0? | CREATE TABLE table_name_89 (lost INTEGER, drawn VARCHAR, points VARCHAR, name VARCHAR) | SELECT AVG(lost) FROM table_name_89 WHERE points < 15 AND name = "sc forst" AND drawn < 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.