answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = "Masinloc, Zambales" | How many call signs does the location masinloc, zambales have? | CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR) |
SELECT system FROM table_name_65 WHERE current_version = "1.4e" | What system has a current version of 1.4e? | CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR) |
SELECT player FROM table_27268238_5 WHERE bbi = "5/27" | Who is the player when the bbi is 5/27? | CREATE TABLE table_27268238_5 (player VARCHAR, bbi VARCHAR) |
SELECT high_assists FROM table_17622423_12 WHERE date = "May 21" | Name the high assists for may 21 | CREATE TABLE table_17622423_12 (high_assists VARCHAR, date VARCHAR) |
SELECT result FROM table_23563375_11 WHERE opponent = "Loic Didavi" | What was the score against Loic Didavi? | CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR) |
SELECT AVG(attendance) FROM table_name_58 WHERE game < 3 AND score = "2 – 5" | Which Attendance has a Game score less than 3, and a Score of 2 – 5? | CREATE TABLE table_name_58 (attendance INTEGER, game VARCHAR, score VARCHAR) |
SELECT home_team AS score FROM table_name_95 WHERE venue = "princes park" | What was the home score at the Princes Park game? | CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR) |
SELECT tournament FROM table_29296103_10 WHERE week_of = "24 October" AND champion = "Matt Doyle 1–6, 6–1, 6–2" | Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6–2? | CREATE TABLE table_29296103_10 (tournament VARCHAR, week_of VARCHAR, champion VARCHAR) |
SELECT date FROM table_name_43 WHERE eliminated = "final night" | On what date was elimination on final night? | CREATE TABLE table_name_43 (date VARCHAR, eliminated VARCHAR) |
SELECT COUNT(population__2011_) FROM table_189893_1 WHERE percentage__2006_ = "1.40%" | How many values for population(2011) correspond to a 1.40% in 2006? | CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR) |
SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping" | Name the vessel type for beluga shipping | CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) |
SELECT home_team FROM table_name_86 WHERE away_team = "hawthorn" | Which home team has a Away team of hawthorn? | CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) |
SELECT theme FROM table_26250176_1 WHERE week__number = "Audition" | What is the theme for Audition week? | CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR) |
SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574" | What is the q1+q2 time in which q1 is 1:18.574? | CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR) |
SELECT school FROM table_11677100_12 WHERE position = "Catcher" | What school did the catcher attend? | CREATE TABLE table_11677100_12 (school VARCHAR, position VARCHAR) |
SELECT team_chassis FROM table_name_46 WHERE year > 1987 | Which Team/Chassis has a Year larger than 1987? | CREATE TABLE table_name_46 (team_chassis VARCHAR, year INTEGER) |
SELECT state FROM table_25244412_1 WHERE renewable_electricity_w_o_hydro__gw•h_ = 5179 | Which state has 5179 (gw×h) of renewable energy without hydrogen power?wha | CREATE TABLE table_25244412_1 (state VARCHAR, renewable_electricity_w_o_hydro__gw•h_ VARCHAR) |
SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady" | What is the country of t1 place player wayne grady? | CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR) |
SELECT COUNT(points) FROM table_16788123_5 WHERE team = "Sportivo Luqueño" | how many points scored by sportivo luqueño | CREATE TABLE table_16788123_5 (points VARCHAR, team VARCHAR) |
SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes" | Which Tournament has a Margin of victory of 7 strokes | CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR) |
SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" | What was the result of the Todman stakes race at rosehill? | CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR) |
SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" | If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features? | CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) |
SELECT type FROM table_name_65 WHERE project = "igmdp" AND weight__kg_ = "16,000" | Name the typ for project of igmdp and weight of 16,000 | CREATE TABLE table_name_65 (type VARCHAR, project VARCHAR, weight__kg_ VARCHAR) |
SELECT date FROM table_name_9 WHERE opponents = "göteborg" AND score = "3-1" | When was Göteborg the opponent with a score of 3-1? | CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR, score VARCHAR) |
SELECT opponent_in_the_final FROM table_name_33 WHERE year = 1942 | What is Opponent In The Final, when Year is "1942"? | CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, year VARCHAR) |
SELECT world_rank FROM table_name_81 WHERE year < 1977 AND location = "eugene" | Which World Rank has a Year smaller than 1977, and a Location of eugene? | CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR, location VARCHAR) |
SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian" | What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian? | CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR) |
SELECT country FROM table_name_34 WHERE publisher = "deltamac (hk)" | What country has deltamac (hk) as the publisher? | CREATE TABLE table_name_34 (country VARCHAR, publisher VARCHAR) |
SELECT name_first, name_last FROM player WHERE weight > 220 OR height < 75 | List players' first name and last name who have weight greater than 220 or height shorter than 75. | CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, weight VARCHAR, height VARCHAR) |
SELECT COUNT(against) FROM table_name_4 WHERE ballarat_fl = "darley" AND wins > 8 | How many Against has a Ballarat FL of darley and Wins larger than 8? | CREATE TABLE table_name_4 (against VARCHAR, ballarat_fl VARCHAR, wins VARCHAR) |
SELECT power__kw_ FROM table_12547903_3 WHERE callsign = "DZYT" | How much power was used when the callsign was DZYT? | CREATE TABLE table_12547903_3 (power__kw_ VARCHAR, callsign VARCHAR) |
SELECT end___utc FROM table_245801_2 WHERE comments = "First woman EVA" | When first woman eva is the comment what is the end -utc? | CREATE TABLE table_245801_2 (end___utc VARCHAR, comments VARCHAR) |
SELECT coach FROM table_name_39 WHERE big_ten = "1st (148)" | What is the Coach with a Big Ten that is 1st (148)? | CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR) |
SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 2009" | What is the cable rank for the airdate of 10 december 2009? | CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR) |
SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T3.staff_first_name = "Lacey" AND T3.staff_last_name = "Bosco" INTERSECT SELECT T2.product_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.pr... | Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? | CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR) |
SELECT laps AS Led FROM table_name_38 WHERE fin_pos = "14" | What were the number of laps led by the driver with a finish position of 14? | CREATE TABLE table_name_38 (laps VARCHAR, fin_pos VARCHAR) |
SELECT SUM(silver) FROM table_name_83 WHERE total = 11 | How many silvers are there with a total of 11? | CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR) |
SELECT MAX(attendance) FROM table_name_76 WHERE home_team = "bashley" | The game with Bashley as the home team had what maximum attendance? | CREATE TABLE table_name_76 (attendance INTEGER, home_team VARCHAR) |
SELECT catalog_number FROM table_11222744_3 WHERE title = "Super Callanetics" | What is the catalog number of the title called "super callanetics"? | CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR) |
SELECT date FROM table_name_38 WHERE home = "utah" | When did they play Utah at home? | CREATE TABLE table_name_38 (date VARCHAR, home VARCHAR) |
SELECT sprint_classification FROM table_25055040_22 WHERE mountains_classification = "Ryan Anderson" AND general_classification = "Michael Rogers" | When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification? | CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR) |
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts" | What was the budget for "Thirteen Ghosts"? | CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR) |
SELECT record FROM table_name_17 WHERE game = 13 | what is the record when the game is 13? | CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR) |
SELECT MAX(crowd) FROM table_1139835_1 WHERE scores = "10.12 (72) – 8.11 (59)" | what was the crowd when the scores are 10.12 (72) – 8.11 (59)? | CREATE TABLE table_1139835_1 (crowd INTEGER, scores VARCHAR) |
SELECT name FROM table_name_24 WHERE goals > 98 AND rank = 7 | Can you tell me the Name that has the Goals larger than 98, and the Rank of 7? | CREATE TABLE table_name_24 (name VARCHAR, goals VARCHAR, rank VARCHAR) |
SELECT method FROM table_name_51 WHERE time = "1:01" | What was the method when the time was 1:01? | CREATE TABLE table_name_51 (method VARCHAR, time VARCHAR) |
SELECT result FROM table_1341973_6 WHERE incumbent = "John Shelley" | What was the result of the election of incumbent john shelley? | CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) |
SELECT team FROM table_name_73 WHERE rank = 3 | What team has rank 3? | CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR) |
SELECT record FROM table_name_27 WHERE date = "march 25" | What was the record for the game on March 25? | CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) |
SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (14)" | What score has tim duncan (14) as the high rebounds? | CREATE TABLE table_name_17 (score VARCHAR, high_rebounds VARCHAR) |
SELECT COUNT(round) FROM table_name_33 WHERE position = "center" AND player = "denis arkhipov" | What is the total number of rounds that Center position Denis Arkhipov have? | CREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR) |
SELECT m1a1_abrams FROM table_name_8 WHERE m60a3_patton = "t (short tons)" | What is the M1A1 when the M60A3 was T (Short Tons)? | CREATE TABLE table_name_8 (m1a1_abrams VARCHAR, m60a3_patton VARCHAR) |
SELECT player FROM table_name_53 WHERE place = "t8" | Who is the player with a t8 place? | CREATE TABLE table_name_53 (player VARCHAR, place VARCHAR) |
SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato" | Who was the Prato Elector with a faction of Italian? | CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR) |
SELECT rank FROM table_name_30 WHERE notes = "fb" AND time = "5:54.57" | What's the rank if the time was 5:54.57 and FB in notes? | CREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR) |
SELECT loser FROM table_name_44 WHERE time = "0:58" | Who lost with a time of 0:58? | CREATE TABLE table_name_44 (loser VARCHAR, time VARCHAR) |
SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell" | Name the race caller for jim mckay and howard cosell | CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR) |
SELECT high_points FROM table_name_32 WHERE date = "january 31" | Can you tell me the High points that has the Date of january 31? | CREATE TABLE table_name_32 (high_points VARCHAR, date VARCHAR) |
SELECT COUNT(storms__days_year_) FROM table_name_74 WHERE fog__days_year_ < 74 AND sunshine__hrs_year_ = "2 668" | What are the number of storms where fog is lower than 74, and sunshine is 2 668? | CREATE TABLE table_name_74 (storms__days_year_ VARCHAR, fog__days_year_ VARCHAR, sunshine__hrs_year_ VARCHAR) |
SELECT team FROM table_11964154_9 WHERE date = "February 8" | what's the team where date is february 8 | CREATE TABLE table_11964154_9 (team VARCHAR, date VARCHAR) |
SELECT religion FROM table_name_65 WHERE para = "56.5%" | What religion has a para of 56.5%? | CREATE TABLE table_name_65 (religion VARCHAR, para VARCHAR) |
SELECT MAX(gold) FROM table_name_13 WHERE bronze > 0 AND nation = "total" AND "total" < 54 | What's the gold medal count for Total Nation with a bronze count more than 0 and a total less than 54? | CREATE TABLE table_name_13 (gold INTEGER, bronze VARCHAR, nation VARCHAR) |
SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf" | Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF? | CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR) |
SELECT title, Studio FROM film WHERE Studio LIKE "%Universal%" | Find the titles and studios of the films that are produced by some film studios that contained the word "Universal". | CREATE TABLE film (title VARCHAR, Studio VARCHAR) |
SELECT bronze FROM table_name_90 WHERE location = "hiroshima" | Who won the bronze medal in Hiroshima? | CREATE TABLE table_name_90 (bronze VARCHAR, location VARCHAR) |
SELECT DISTINCT Theme FROM journal | Show the distinct themes of journals. | CREATE TABLE journal (Theme VARCHAR) |
SELECT points_2 FROM table_17359181_1 WHERE won = 30 | What is every value for Points 2 when the value of won is 30? | CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR) |
SELECT shooter FROM table_name_63 WHERE total = "defending champion" | Who is the shooter that is the Defending Champion? | CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR) |
SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/8" | What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010? | CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR) |
SELECT score FROM table_name_25 WHERE date = "january 16, 2010" | What was the score on January 16, 2010? | CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) |
SELECT MAX(points) FROM table_name_51 WHERE touchdowns < 1 | Which Points is the lowest one that has Touchdowns smaller than 1? | CREATE TABLE table_name_51 (points INTEGER, touchdowns INTEGER) |
SELECT format FROM table_name_37 WHERE country = "japan" | Which format is in Japan? | CREATE TABLE table_name_37 (format VARCHAR, country VARCHAR) |
SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 | How much Col (m) has a Prominence (m) of 2,344? | CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR) |
SELECT team FROM table_name_26 WHERE rider = "frank hulbert" | What team is Frank Hulbert on? | CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) |
SELECT AVG(e_score) FROM table_name_69 WHERE t_score < 4 | What was the average E score when the T score was less than 4? | CREATE TABLE table_name_69 (e_score INTEGER, t_score INTEGER) |
SELECT player FROM table_name_29 WHERE total > 290 AND to_par = "+4" | Which player has a total of more than 290 and +4 to par. | CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR) |
SELECT incumbent FROM table_1342233_24 WHERE first_elected = 1941 | What is the incumbent from 1941? | CREATE TABLE table_1342233_24 (incumbent VARCHAR, first_elected VARCHAR) |
SELECT population__2011_ FROM table_2562572_46 WHERE settlement = "Pavliš" | What was the 2011 population of pavliš? | CREATE TABLE table_2562572_46 (population__2011_ VARCHAR, settlement VARCHAR) |
SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1 | What's the sum of total where the rank is over 9 and the gold is less than 1? | CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR) |
SELECT province FROM table_name_63 WHERE airport = "luogang international airport" | Which province is Luogang International Airport located in? | CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR) |
SELECT team FROM table_20107762_1 WHERE ft_percentage = "77.6" | Who is the team with the ft% of 77.6? | CREATE TABLE table_20107762_1 (team VARCHAR, ft_percentage VARCHAR) |
SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm" | What group on the island of Muckle Green Holm has a population of 0? | CREATE TABLE table_name_49 (group VARCHAR, population VARCHAR, island VARCHAR) |
SELECT COUNT(against) FROM table_name_1 WHERE lost = 3 AND played < 6 | What is the sum of against scores when there are 3 losses and less than 6 games played? | CREATE TABLE table_name_1 (against VARCHAR, lost VARCHAR, played VARCHAR) |
SELECT date FROM table_name_25 WHERE record = "60-56" | On what date was the Blue Jays record 60-56? | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) |
SELECT career FROM table_name_38 WHERE player = "andriy husyn" | What is the career of player andriy husyn? | CREATE TABLE table_name_38 (career VARCHAR, player VARCHAR) |
SELECT first_name, last_name, email_address FROM Owners WHERE state LIKE '%North%' | Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email. | CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, email_address VARCHAR, state VARCHAR) |
SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2 | What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? | CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) |
SELECT to_par FROM table_name_44 WHERE player = "ernie els" | WHAT IS THE TO PAR FOR ERNIE ELS? | CREATE TABLE table_name_44 (to_par VARCHAR, player VARCHAR) |
SELECT start FROM table_name_70 WHERE year < 1977 | Name the start for year less than 1977 | CREATE TABLE table_name_70 (start VARCHAR, year INTEGER) |
SELECT MAX(_number) FROM table_15026994_5 WHERE viewing_figure = "7.02 million" | What is the # for the episode with viewing figures of 7.02 million ? | CREATE TABLE table_15026994_5 (_number INTEGER, viewing_figure VARCHAR) |
SELECT reference FROM table_name_39 WHERE japanese_title = "アイシテル" | What reference is used with the title アイシテル? | CREATE TABLE table_name_39 (reference VARCHAR, japanese_title VARCHAR) |
SELECT party AS a FROM table_22754310_1 WHERE constituency = "Sriperumbudur" | Name the party a for sriperumbudur | CREATE TABLE table_22754310_1 (party VARCHAR, constituency VARCHAR) |
SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429 | For what week was the attendance 40,429? | CREATE TABLE table_name_2 (week INTEGER, attendance VARCHAR) |
SELECT MAX(long) FROM table_name_88 WHERE avg_g < 8.4 AND gp_gs = "4–0" | Name the highest Long that has an Avg/G smaller than 8.4, and an GP-GS of 4–0? | CREATE TABLE table_name_88 (long INTEGER, avg_g VARCHAR, gp_gs VARCHAR) |
SELECT home_team FROM table_name_52 WHERE date = "april 25" | WHAT IS THE HOME TEAM ON APRIL 25? | CREATE TABLE table_name_52 (home_team VARCHAR, date VARCHAR) |
SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann" | When did Hans Hartmann drive? | CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR) |
SELECT COUNT(opponents) FROM table_20928682_1 WHERE record = "1-0-0" | After how many opponents was the overall record 1-0-0? | CREATE TABLE table_20928682_1 (opponents VARCHAR, record VARCHAR) |
SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells" | Where is the partially deleted site of fibers public supply wells located? | CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR) |
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "buddy gardner" | Which Margin of victory has a Runner(s)-up of buddy gardner? | CREATE TABLE table_name_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT losing_bonus FROM table_13940275_5 WHERE played = "22" AND tries_against = "38" | what's the losing bonus with played being 22 and tries against being 38 | CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.