answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT COUNT(losing_bonus) FROM table_13758945_3 WHERE won = "10" AND points_against = "283" | how many losing bonus with won being 10 and points against being 283 | CREATE TABLE table_13758945_3 (losing_bonus VARCHAR, won VARCHAR, points_against VARCHAR) |
SELECT title_rank FROM table_name_93 WHERE actor = "pauline moran" | What is the title rank of actor pauline moran? | CREATE TABLE table_name_93 (title_rank VARCHAR, actor VARCHAR) |
SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall" | Name the least date for the place which has a building of victoria hall | CREATE TABLE table_name_37 (date INTEGER, building VARCHAR) |
SELECT time FROM table_name_9 WHERE city = "baltimore" | What is the time in Baltimore? | CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR) |
SELECT COUNT(grid) FROM table_name_85 WHERE driver = "david coulthard" AND laps > 45 | What is the grid total for david coulthard with over 45 laps? | CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR, laps VARCHAR) |
SELECT home_games FROM table_28884858_1 WHERE team = "Seattle Seahawks" | What is the number listed in home games when the team is Seattle Seahawks? | CREATE TABLE table_28884858_1 (home_games VARCHAR, team VARCHAR) |
SELECT player FROM table_28846752_8 WHERE average = "69.66" | Who is the player when the average is 69.66? | CREATE TABLE table_28846752_8 (player VARCHAR, average VARCHAR) |
SELECT price_range FROM HOTELS | What are the price ranges of hotels? | CREATE TABLE HOTELS (price_range VARCHAR) |
SELECT date FROM table_17118657_7 WHERE high_assists = "Canty (6)" | On what date did Canty (6) receive high assists? | CREATE TABLE table_17118657_7 (date VARCHAR, high_assists VARCHAR) |
SELECT drawn FROM table_name_99 WHERE tries_for = "34" | How many resulted in draws with 34 tries for? | CREATE TABLE table_name_99 (drawn VARCHAR, tries_for VARCHAR) |
SELECT province FROM table_name_79 WHERE party = "national" AND name = "ken wright" | Ken Wright of the National Party was from which province? | CREATE TABLE table_name_79 (province VARCHAR, party VARCHAR, name VARCHAR) |
SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5 | What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5? | CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR) |
SELECT constructor FROM table_name_25 WHERE grid = 8 | Who is the constructor with the grid of 8? | CREATE TABLE table_name_25 (constructor VARCHAR, grid VARCHAR) |
SELECT MIN(week) FROM table_name_15 WHERE opponent = "cincinnati bengals" | What is the earliest week with an opponent of cincinnati bengals? | CREATE TABLE table_name_15 (week INTEGER, opponent VARCHAR) |
SELECT milliseconds FROM tracks WHERE name = "Fast As a Shark" | How long does track Fast As a Shark has? | CREATE TABLE tracks (milliseconds VARCHAR, name VARCHAR) |
SELECT MAX(year) FROM table_name_31 WHERE chassis = "mclaren mp4/10b" | waht is the last year with a mclaren mp4/10b chassis | CREATE TABLE table_name_31 (year INTEGER, chassis VARCHAR) |
SELECT home_team FROM table_name_20 WHERE tie_no = "2" | What is the Home team of Tie no 2? | CREATE TABLE table_name_20 (home_team VARCHAR, tie_no VARCHAR) |
SELECT player FROM table_2508633_9 WHERE nfl_team = "Kansas City Chiefs" | Who was the draft pick for Kansas City Chiefs? | CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR) |
SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 | how many times was total considered when hancock # was 1394 | CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR) |
SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292 | What was the average money when the score was 74-72-75-71=292? | CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR) |
SELECT country FROM table_name_53 WHERE winter_olympics = "1960" | With the Winter Olympics was 1960, what was the country? | CREATE TABLE table_name_53 (country VARCHAR, winter_olympics VARCHAR) |
SELECT MIN(wins) FROM table_name_66 WHERE tournament = "totals" AND top_25 < 4 | Which totals tournament has the lowest wins and top-25 less than 4? | CREATE TABLE table_name_66 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) |
SELECT player FROM table_2897457_4 WHERE pick__number = 64 | Which player is pick 64? | CREATE TABLE table_2897457_4 (player VARCHAR, pick__number VARCHAR) |
SELECT surface FROM table_name_58 WHERE date = "2 december 1974" | Tell me the surface of 2 december 1974 | CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) |
SELECT music FROM table_name_75 WHERE dance = "jive" | What is the Music if the Dance is Jive? | CREATE TABLE table_name_75 (music VARCHAR, dance VARCHAR) |
SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "2006" | When 2006 is the year played and winter park is the fcsl team who is the player? | CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR) |
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE voivodeship_separate_city = "pomorskie" | What is the population in the city of Pomorskie? | CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, voivodeship_separate_city VARCHAR) |
SELECT result FROM table_name_51 WHERE date = "january 21, 2002" | What result has January 21, 2002 as the date? | CREATE TABLE table_name_51 (result VARCHAR, date VARCHAR) |
SELECT score FROM table_22883210_8 WHERE date = "February 24" | What was the final score of the game held on February 24? | CREATE TABLE table_22883210_8 (score VARCHAR, date VARCHAR) |
SELECT record FROM table_name_24 WHERE game = 36 | What is Record, when Game is "36"? | CREATE TABLE table_name_24 (record VARCHAR, game VARCHAR) |
SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben" | what is the city when the country is libya and the iata is ben? | CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, iata VARCHAR) |
SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark" | Name the least amount of tackles for danny clark | CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR) |
SELECT bronze FROM table_name_70 WHERE location = "doha" | Who won the bronze when the Asian Games were in Doha? | CREATE TABLE table_name_70 (bronze VARCHAR, location VARCHAR) |
SELECT college FROM table_name_36 WHERE pick__number = 331 | Pick # of 331 went to which college? | CREATE TABLE table_name_36 (college VARCHAR, pick__number VARCHAR) |
SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9 | What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9? | CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR) |
SELECT county FROM table_name_81 WHERE mascot = "bruins" | Which county has the mascot of Bruins? | CREATE TABLE table_name_81 (county VARCHAR, mascot VARCHAR) |
SELECT series__number FROM table_17467147_1 WHERE directed_by = "Patrick Norris" AND written_by = "Debra J. Fisher & Erica Messer" | When debra j. fisher & erica messer are the writers and the director is patrick norris what is the series number? | CREATE TABLE table_17467147_1 (series__number VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT high_assists FROM table_11964154_11 WHERE location_attendance = "Toyota Center 18,370" | Who had the high assists when the location attendance was Toyota Center 18,370? | CREATE TABLE table_11964154_11 (high_assists VARCHAR, location_attendance VARCHAR) |
SELECT COUNT(no_in_series) FROM table_2226817_8 WHERE production_code = "7.07" | Which series number has the production code 7.07? | CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR) |
SELECT points_for FROM table_name_64 WHERE club = "tycroes rfc" | What is Points For, when Club is "Tycroes RFC"? | CREATE TABLE table_name_64 (points_for VARCHAR, club VARCHAR) |
SELECT COUNT(races) FROM table_name_54 WHERE poles = 0 AND season = "2006" AND podiums > 0 | What is the total number of races in the 2006 season with 0 poles and more than 0 podiums? | CREATE TABLE table_name_54 (races VARCHAR, podiums VARCHAR, poles VARCHAR, season VARCHAR) |
SELECT rank__number FROM table_name_23 WHERE opponent_number = "at wisconsin" | What was the rank when the opponent was Wisconsin (played at Wisconsin)? | CREATE TABLE table_name_23 (rank__number VARCHAR, opponent_number VARCHAR) |
SELECT status FROM table_18159601_1 WHERE city = "Vestal" | what is the status in vestal | CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR) |
SELECT SUM(gold) FROM table_name_74 WHERE nation = "total" AND silver > 19 | What is the sum of the gold medals of the total nation, which has more than 19 silver medals? | CREATE TABLE table_name_74 (gold INTEGER, nation VARCHAR, silver VARCHAR) |
SELECT COUNT(nightly_rank) FROM table_17004367_3 WHERE episode_number_production_number = "06 1-06" | what is the nightly rank where the episode number production number is 06 1-06? | CREATE TABLE table_17004367_3 (nightly_rank VARCHAR, episode_number_production_number VARCHAR) |
SELECT MIN(bronze) FROM table_name_55 WHERE gold < 0 | What's the lowest bronze medal amount that has fewer than 0 gold? | CREATE TABLE table_name_55 (bronze INTEGER, gold INTEGER) |
SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" | What was the most laps with a finish of 10 and qualification of 106.185? | CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) |
SELECT COUNT(player) FROM table_2840500_2 WHERE nhl_team = "Edmonton Oilers" | How many players were drafted by the Edmonton Oilers? | CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR) |
SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion" | How many countries spent $83.7 billion on international tourism in 2012? | CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR) |
SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos" | When did the Rochester Rhinos begin to play? | CREATE TABLE table_name_48 (began_play VARCHAR, club VARCHAR) |
SELECT date FROM table_name_92 WHERE state = "colorado" | What was the date for Colorado? | CREATE TABLE table_name_92 (date VARCHAR, state VARCHAR) |
SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion" | What is the willow canyon of Stallion? | CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR) |
SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 | Name the total number of points for 1952 | CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) |
SELECT original_air_date FROM table_11404452_1 WHERE us_viewers__millions_ = "12.81" | What is the original air date when there were 12.81 million u.s viewers? | CREATE TABLE table_11404452_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT MAX(production_number) FROM table_name_66 WHERE director = "i. freleng" AND release_date = "1955-04-02" | What is the highest production number released on 1955-04-02 with i. freleng as the director? | CREATE TABLE table_name_66 (production_number INTEGER, director VARCHAR, release_date VARCHAR) |
SELECT became_consort FROM table_name_16 WHERE spouse = "james ii" | On what date did James II take a consort? | CREATE TABLE table_name_16 (became_consort VARCHAR, spouse VARCHAR) |
SELECT MAX(ep_no) FROM table_1467951_4 | What is the highest number of episodes? | CREATE TABLE table_1467951_4 (ep_no INTEGER) |
SELECT distance FROM table_name_13 WHERE stage = "4" | What was the distance of the course for stage 4? | CREATE TABLE table_name_13 (distance VARCHAR, stage VARCHAR) |
SELECT rookie FROM table_14132239_3 WHERE transition = "Brodie Merrill" AND offensive = "Pat Maddalena" | Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena? | CREATE TABLE table_14132239_3 (rookie VARCHAR, transition VARCHAR, offensive VARCHAR) |
SELECT event FROM table_name_33 WHERE record = "8–5–1" | What event had a record of 8–5–1? | CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR) |
SELECT directed_by FROM table_27927185_1 WHERE viewers__millions_ = "6.37" | Who directed the episode with 6.37 million viewers? | CREATE TABLE table_27927185_1 (directed_by VARCHAR, viewers__millions_ VARCHAR) |
SELECT apparent_magnitude FROM table_name_78 WHERE object_type = "globular cluster" | What is the Apparent magnitude of a globular cluster? | CREATE TABLE table_name_78 (apparent_magnitude VARCHAR, object_type 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 gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்" | What is every Gregorian month when the season in Tamil is இளவேனில்? | CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR) |
SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student | Show the ids of all the faculty members who participate in an activity and advise a student. | CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR, advisor VARCHAR) |
SELECT SUM(points) FROM table_name_98 WHERE goals = "29–30" | What is the number of points when goals were 29–30? | CREATE TABLE table_name_98 (points INTEGER, goals VARCHAR) |
SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1 | Which campus has the most faculties in year 2003? | CREATE TABLE faculty (campus VARCHAR, year VARCHAR, faculty VARCHAR); CREATE TABLE campuses (campus VARCHAR, id VARCHAR) |
SELECT school_club_team FROM table_name_26 WHERE pick > 83 | What is the school/club team of the player with a pick larger than 83? | CREATE TABLE table_name_26 (school_club_team VARCHAR, pick INTEGER) |
SELECT COUNT(silver) FROM table_name_78 WHERE bronze = 2 AND gold < 0 | What is the number of Silver medals with 2 Bronze and 0 Gold? | CREATE TABLE table_name_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT points FROM table_name_40 WHERE series = "queensland formula ford championship" AND position = "1st" | What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st? | CREATE TABLE table_name_40 (points VARCHAR, series VARCHAR, position VARCHAR) |
SELECT country FROM table_name_12 WHERE score = "293" | What is the Country of the Championship with a Score of 293? | CREATE TABLE table_name_12 (country VARCHAR, score VARCHAR) |
SELECT artist FROM table_name_87 WHERE peak_position < 2 AND sales > 200 OFFSET 000 | What artist had a peak position under 2, and more than 200,000 in sales? | CREATE TABLE table_name_87 (artist VARCHAR, peak_position VARCHAR, sales VARCHAR) |
SELECT year FROM table_name_97 WHERE category = "best costume design" | What year was best costume design the award category? | CREATE TABLE table_name_97 (year VARCHAR, category VARCHAR) |
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson" | How many times did Roy Emerson win the Australian Open? | CREATE TABLE table_197638_6 (australian_open VARCHAR, player VARCHAR) |
SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212 | Which Place has a Country of australia, and a Score of 70-70-72=212? | CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR) |
SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1 | What are the actual delivery dates of orders with quantity 1? | CREATE TABLE Customer_Orders (Actual_Delivery_Date VARCHAR, Order_ID VARCHAR); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Order_Quantity VARCHAR) |
SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2 | What position has a time less than 40.2 at the rome venue? | CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR) |
SELECT MIN(no) FROM table_28348757_3 WHERE production_code = "XLE02007" | Name the least number for xle02007 | CREATE TABLE table_28348757_3 (no INTEGER, production_code VARCHAR) |
SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = "e-350" | Name the average DDR3 speed for model e-350 | CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR) |
SELECT team FROM table_name_17 WHERE date = "november 17" | What team played on November 17? | CREATE TABLE table_name_17 (team VARCHAR, date VARCHAR) |
SELECT score FROM table_name_19 WHERE place = "t10" AND country = "zimbabwe" | What's the score for the t10 player from zimbabwe? | CREATE TABLE table_name_19 (score VARCHAR, place VARCHAR, country VARCHAR) |
SELECT date FROM table_name_24 WHERE venue = "windy hill" | On what date did the game at Windy Hill take place? | CREATE TABLE table_name_24 (date VARCHAR, venue VARCHAR) |
SELECT MAX(attendance) FROM table_name_27 WHERE week < 9 AND result = "l 24–23" | Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–23? | CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, result VARCHAR) |
SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66" | What was the high rebounds for the game that had a score of w 76-66? | CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR) |
SELECT entered_service FROM table_name_54 WHERE locomotive = "h1" | What is the Entered service date of the H1 Locomotive? | CREATE TABLE table_name_54 (entered_service VARCHAR, locomotive VARCHAR) |
SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal" | How many were in attendance for a result of D, at H venue, and Arsenal as an opponent? | CREATE TABLE table_name_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR) |
SELECT launched FROM table_name_63 WHERE laid_down = "31 october 1981" | What is Launched, when Laid Down is "31 October 1981"? | CREATE TABLE table_name_63 (launched VARCHAR, laid_down VARCHAR) |
SELECT conference_matchups FROM table_16046689_29 WHERE date = "January 1, 2009" AND bowl_game = "Capital One" | What teams played in the Capital One bowl game on January 1, 2009? | CREATE TABLE table_16046689_29 (conference_matchups VARCHAR, date VARCHAR, bowl_game VARCHAR) |
SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers" | What was the result of the game against San Francisco 49ers before week 16? | CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT chassis FROM table_name_59 WHERE entrant = "team lotus" AND year > 1964 | What chassis did team lotus use after 1964? | CREATE TABLE table_name_59 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) |
SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish" | Who proceeded to the quarter final when the london irish were eliminated from competition? | CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) |
SELECT college FROM table_26996293_1 WHERE position = "DE" | What college did the player who played DE go to? | CREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR) |
SELECT AVG(attendance) FROM table_name_72 WHERE game < 1 | What is the average attendance of game 1? | CREATE TABLE table_name_72 (attendance INTEGER, game INTEGER) |
SELECT SUM(losses) FROM table_name_75 WHERE portland_dfl = "westerns" AND draws > 1 | What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR) |
SELECT ga_date FROM table_10818465_1 WHERE model = "T5120" | What is the ga date of the t5120 model? | CREATE TABLE table_10818465_1 (ga_date VARCHAR, model VARCHAR) |
SELECT T2.location_name, T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1 | Show the location name and code with the least documents. | CREATE TABLE Document_locations (location_code VARCHAR); CREATE TABLE Ref_locations (location_name VARCHAR, location_code VARCHAR) |
SELECT total FROM table_name_96 WHERE finish = "t39" | What is the total for the player with a Finish of T39? | CREATE TABLE table_name_96 (total VARCHAR, finish VARCHAR) |
SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269 | How many colleges did pick number 269 attend? | CREATE TABLE table_14650162_1 (college VARCHAR, pick__number VARCHAR) |
SELECT character FROM table_name_1 WHERE year = 2010 AND award_ceremony = "indian television academy awards" | Which character was nominated in the 2010 Indian Television Academy Awards? | CREATE TABLE table_name_1 (character VARCHAR, year VARCHAR, award_ceremony VARCHAR) |
SELECT away_team FROM table_name_80 WHERE home_team = "geelong" | When the home team was geelong, who played as the away team? | CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.