answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT home FROM table_name_70 WHERE visitor = "trail blazers" | Who was the home team where Trail Blazers were the visitor? | CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) |
SELECT AVG(goals_scored) FROM table_name_69 WHERE place > 1 AND team = "once municipal" AND points < 27 | For Once Municipal, what were the goals scored that had less than 27 points and greater than place 1? | CREATE TABLE table_name_69 (goals_scored INTEGER, points VARCHAR, place VARCHAR, team VARCHAR) |
SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox" | What is the highest rank of the 2009 xbox? | CREATE TABLE table_name_95 (rank INTEGER) |
SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena" | What was the Attendance at Jobing.com Arena? | CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR) |
SELECT forward_caste FROM table_name_80 WHERE scheduled_caste = "89.50%" | WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 89.50%? | CREATE TABLE table_name_80 (forward_caste VARCHAR, scheduled_caste VARCHAR) |
SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2 | Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? | CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR) |
SELECT player FROM table_name_94 WHERE competition = "ballarat football league" | Tell me the player for ballarat football league | CREATE TABLE table_name_94 (player VARCHAR, competition VARCHAR) |
SELECT DISTINCT Venue FROM debate | Show the distinct venues of debates | CREATE TABLE debate (Venue VARCHAR) |
SELECT constructor FROM table_name_67 WHERE time_retired = "engine" AND grid = 1 | What constructor is grid 1 with a time/retired of engine? | CREATE TABLE table_name_67 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) |
SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 Β½β x 26β" AND firebox = "Belpaire" AND valve_gear = "Stephenson" | How many engines were built with a cylinder size of 20 Β½β x 26β, firebox is belpaire and valve gear is from Stephenson? | CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR) |
SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = "CNG" | how many times is the fuel propulsion is cng? | CREATE TABLE table_10007452_3 (fleet_series__quantity_ VARCHAR, fuel_propulsion VARCHAR) |
SELECT opponent FROM table_name_73 WHERE date = "may 12" | Name the opponent for may 12 | CREATE TABLE table_name_73 (opponent VARCHAR, date VARCHAR) |
SELECT DISTINCT last_name FROM Maintenance_Engineers | What are all the distinct last names of all the engineers? | CREATE TABLE Maintenance_Engineers (last_name VARCHAR) |
SELECT jury_points FROM table_name_5 WHERE televote_points = "3" | What was the Jury Points value when there were 3 Televote Points? | CREATE TABLE table_name_5 (jury_points VARCHAR, televote_points VARCHAR) |
SELECT opponent FROM table_26360571_2 WHERE date = "February 22, 1983" | List the opposing team from february 22, 1983. | CREATE TABLE table_26360571_2 (opponent VARCHAR, date VARCHAR) |
SELECT notes FROM table_name_8 WHERE country = "south africa" | What are the notes for South Africa? | CREATE TABLE table_name_8 (notes VARCHAR, country VARCHAR) |
SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell" | Which team picked Blaine Russell? | CREATE TABLE table_2840500_6 (nhl_team VARCHAR, player VARCHAR) |
SELECT region FROM table_name_6 WHERE date = "february 14, 2002" | Name the region for february 14, 2002 | CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) |
SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883" | What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883? | CREATE TABLE table_name_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) |
SELECT team_captain FROM table_27374004_2 WHERE club = "K.F.C. Germinal Beerschot" | Who is the team captain when the club is k.f.c. germinal beerschot? | CREATE TABLE table_27374004_2 (team_captain VARCHAR, club VARCHAR) |
SELECT part_4 FROM table_name_51 WHERE part_2 = "batt" | What is Part 4, when Part 2 is "batt"? | CREATE TABLE table_name_51 (part_4 VARCHAR, part_2 VARCHAR) |
SELECT SUM(overall) FROM table_name_55 WHERE round = 3 | What is the overall sum of round 3? | CREATE TABLE table_name_55 (overall INTEGER, round VARCHAR) |
SELECT player FROM table_name_60 WHERE score = 76 - 73 - 73 = 222 | What is Player, when Score is "76-73-73=222"? | CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR) |
SELECT SUM(version) FROM table_name_89 WHERE name = "coptic small letter sampi" AND year > 2005 | Give the sum of the version with the coptic small letter sampi, and a year after 2005. | CREATE TABLE table_name_89 (version INTEGER, name VARCHAR, year VARCHAR) |
SELECT original_air_date FROM table_18217753_1 WHERE season__number = 9 | What is the original air date of season 9? | CREATE TABLE table_18217753_1 (original_air_date VARCHAR, season__number VARCHAR) |
SELECT time FROM table_name_42 WHERE laps = 22 AND grid = 15 | What is Time, when Laps is 22, and when Grid is 15? | CREATE TABLE table_name_42 (time VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT qual_2 FROM table_name_55 WHERE qual_1 = "1:01.630" | What was the qualifying 2 time for the team with a qualifying 1 time of 1:01.630? | CREATE TABLE table_name_55 (qual_2 VARCHAR, qual_1 VARCHAR) |
SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8β8)" | Loss of de la rosa (8β8) has what average attendance? | CREATE TABLE table_name_97 (attendance INTEGER, loss VARCHAR) |
SELECT Name FROM actor ORDER BY Name | List the name of actors in ascending alphabetical order. | CREATE TABLE actor (Name VARCHAR) |
SELECT party FROM table_1346137_4 WHERE district = "South Carolina 3" | What was the winning part in the district of South Carolina 3? | CREATE TABLE table_1346137_4 (party VARCHAR, district VARCHAR) |
SELECT pick FROM table_name_95 WHERE nfl_club = "buffalo bills" | What is the pick of the NFL club buffalo bills? | CREATE TABLE table_name_95 (pick VARCHAR, nfl_club VARCHAR) |
SELECT to_par FROM table_name_30 WHERE money___Β£__ = "200,000" AND country = "australia" | Name the to par with money of 200,000 for australia | CREATE TABLE table_name_30 (to_par VARCHAR, money___Β£__ VARCHAR, country VARCHAR) |
SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" | Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? | CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) |
SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte" | What Marisa Monte song choice was song during top 5? | CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR) |
SELECT COUNT(prothrombin_time) FROM table_1555308_1 WHERE platelet_count = "Decreased or unaffected" | How many entries for prothrombin time are there where platelet count is "decreased or unaffected"? | CREATE TABLE table_1555308_1 (prothrombin_time VARCHAR, platelet_count VARCHAR) |
SELECT COUNT(*) FROM campuses | How many CSU campuses are there? | CREATE TABLE campuses (Id VARCHAR) |
SELECT semifinalists FROM table_29295463_9 WHERE champion = "Mats Wilander 7-6, 6-3" | Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion? | CREATE TABLE table_29295463_9 (semifinalists VARCHAR, champion VARCHAR) |
SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris" | How many sales took place with a peak of 1 for Boris? | CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR) |
SELECT score FROM table_name_76 WHERE date = "09-oct-2006" | What is the Score for 09-oct-2006? | CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) |
SELECT venue FROM table_name_90 WHERE extra = "short race" AND year < 1999 | Tell me the venue for extra of short race and year less than 1999 | CREATE TABLE table_name_90 (venue VARCHAR, extra VARCHAR, year VARCHAR) |
SELECT club_name FROM table_28243323_1 WHERE writer_composer = "Larry Spokes" | Name the team that has a song writer named larry spokes. | CREATE TABLE table_28243323_1 (club_name VARCHAR, writer_composer VARCHAR) |
SELECT date FROM table_name_38 WHERE episode = "one" | What date did episode one air on? | CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR) |
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death" | Name the song that has a track larger than 7 and means death. | CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR) |
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support" | Is wireless combo keyboard and mouse support part of the DDM class? | CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR) |
SELECT venue FROM table_name_6 WHERE result = "2β2 (d)" | What is the Venue of the Competition with a Result of 2β2 (d)? | CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR) |
SELECT team FROM table_22879262_13 WHERE date = "May 3" | Where does the team play May 3? | CREATE TABLE table_22879262_13 (team VARCHAR, date VARCHAR) |
SELECT player FROM table_name_32 WHERE eliminated = "episode 4" | Who's the player that was eliminated on episode 4? | CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR) |
SELECT nationality FROM table_name_78 WHERE lane = 4 | What is the nationality of lane 4? | CREATE TABLE table_name_78 (nationality VARCHAR, lane VARCHAR) |
SELECT bp FROM table_19179465_1 WHERE club = "Halifax" | What was the B.P. of club Halifax? | CREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR) |
SELECT MIN(game) FROM table_name_10 WHERE march < 12 AND score = "10β1" | Which Game has a March smaller than 12, and a Score of 10β1? | CREATE TABLE table_name_10 (game INTEGER, march VARCHAR, score VARCHAR) |
SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia" | What cover has Throne of Aquilonia as the title? | CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR) |
SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" | Which rd. took place at Hockenheimring? | CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR) |
SELECT MAX(season__number) FROM table_25800134_14 WHERE airdate = "February 2, 1970" | What is the season # for the episode with air date february 2, 1970? | CREATE TABLE table_25800134_14 (season__number INTEGER, airdate VARCHAR) |
SELECT date FROM table_name_60 WHERE tie_no = "1" | What date has 1 as the tie no.? | CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR) |
SELECT automobile_name FROM table_name_18 WHERE year = "1956-1958" | What is the name of the car that was made in the years 1956-1958? | CREATE TABLE table_name_18 (automobile_name VARCHAR, year VARCHAR) |
SELECT MAX(attendance) FROM table_name_74 WHERE date = "october 22, 1967" AND week < 6 | What is the highest attendance for the game that was before week 6 on October 22, 1967? | CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 | What is the campus fee of "San Francisco State University" in year 1996? | CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR) |
SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013" | NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013? | CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR) |
SELECT rounds FROM table_name_69 WHERE entrant = "alfa romeo spa" AND driver = "luigi fagioli" | In what rounds did Luigi Fagioli drive for Alfa Romeo SPA? | CREATE TABLE table_name_69 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR) |
SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = "700" | What's the quantity preserved when the fleet number was 700? | CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) |
SELECT december FROM table_name_76 WHERE february = "anne-marie fox" | Who is the December playmate with a February playmate Anne-Marie Fox? | CREATE TABLE table_name_76 (december VARCHAR, february VARCHAR) |
SELECT crowd FROM table_name_13 WHERE score = "101-105" | What was the crowd size for the game with a score of 101-105? | CREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR) |
SELECT position FROM table_name_50 WHERE name = "allen gamboa" | What is the position of Allen Gamboa? | CREATE TABLE table_name_50 (position VARCHAR, name VARCHAR) |
SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre" | What is the total of attendance at Venue h when Auxerre were playing? | CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR) |
SELECT name FROM table_name_78 WHERE snatch = "157.0" | Who has a Snatch of 157.0? | CREATE TABLE table_name_78 (name VARCHAR, snatch VARCHAR) |
SELECT masculine_u_stems FROM table_name_18 WHERE neuter_a_stems = "skip" AND masculine_a_stems = "fisker" | What is the u form of the word with a neuter form of skip and a masculine a-ending of fisker? | CREATE TABLE table_name_18 (masculine_u_stems VARCHAR, neuter_a_stems VARCHAR, masculine_a_stems VARCHAR) |
SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03 | What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03? | CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR) |
SELECT date FROM table_name_4 WHERE score_in_the_final = "3β6, 2β6, 4β6" | What Date has a Score in the final of 3β6, 2β6, 4β6? | CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR) |
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train) | List the object number of railways that do not have any trains. | CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR) |
SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66 | How many players led Game #66 in scoring? | CREATE TABLE table_13619053_8 (high_points VARCHAR, game VARCHAR) |
SELECT SUM(points) FROM table_name_33 WHERE year = 1975 AND wins < 0 | What is the sum of all points in 1975 with 0 wins? | CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR) |
SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936 | Tell me the lowest ties played with a debut of 1936 | CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR) |
SELECT club FROM table_name_4 WHERE capacity = "25138" | Which club has a capacity of 25138? | CREATE TABLE table_name_4 (club VARCHAR, capacity VARCHAR) |
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart" | Which First elected is the lowest one that has an Incumbent of william stewart? | CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR) |
SELECT COUNT(first_elected) FROM table_1805191_6 WHERE incumbent = "Diane Watson" | How many people were first elected with an incument of diane watson? | CREATE TABLE table_1805191_6 (first_elected VARCHAR, incumbent VARCHAR) |
SELECT runner_s__up FROM table_name_27 WHERE winning_score = β15(66 - 67 - 70 - 70 = 273) | Who was the runner-up for the event that ended with a winning score of β15 (66-67-70-70=273)? | CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR) |
SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0 | What is the highest field goals when there were more than 1 touchdown and 0 extra points? | CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) |
SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" AND played > 38 | How many positions have figueirense as the team, with a played greater than 38? | CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR) |
SELECT COUNT(league) AS Cup FROM table_name_70 WHERE total < 25 AND league > 19 | How many League cups had a total less than 25 and a league larger than 19? | CREATE TABLE table_name_70 (league VARCHAR, total VARCHAR) |
SELECT score FROM table_name_82 WHERE game = 5 | What is the score for game 5? | CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR) |
SELECT opponent FROM table_name_82 WHERE score = "74-66" | What is the Opponent of the game with a Score of 74-66? | CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR) |
SELECT record FROM table_name_32 WHERE score = "1β3" AND visitor = "chicago black hawks" AND date = "november 15" | What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1β3? | CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) |
SELECT COUNT(outcome) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)" | How many outcomes occur for score in the final of 6β3, 6β4, 7β6 (13β11)? | CREATE TABLE table_26202940_6 (outcome VARCHAR, score_in_the_final VARCHAR) |
SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5 | What was the % 2006 rating in 2006 where there were 5 seats? | CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR) |
SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th" | What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? | CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR) |
SELECT pinyin FROM table_name_89 WHERE chinese = "θΊε" | Which Pinyin has a Chinese of θΊε? | CREATE TABLE table_name_89 (pinyin VARCHAR, chinese VARCHAR) |
SELECT location FROM table_name_44 WHERE established = 2000 | What is the location of the university that was established in 2000? | CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR) |
SELECT rd FROM table_1132568_3 WHERE grand_prix = "Monaco grand_prix" | What number is the Monaco Grand Prix? | CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR) |
SELECT city FROM table_name_21 WHERE oil_pattern = "chameleon" AND event = "go rv'ing classic" | What city had the chameleon oil pattern at the Go RV'ing Classic? | CREATE TABLE table_name_21 (city VARCHAR, oil_pattern VARCHAR, event VARCHAR) |
SELECT date FROM table_name_73 WHERE home_team = "portland" AND game = "game 1" | On what date was the game 1 played at Portland? | CREATE TABLE table_name_73 (date VARCHAR, home_team VARCHAR, game VARCHAR) |
SELECT label FROM table_name_31 WHERE country = "spain" | Which label is from Spain? | CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR) |
SELECT party FROM table_name_68 WHERE district = "ohio 6" | What is the party in Ohio 6 District? | CREATE TABLE table_name_68 (party VARCHAR, district VARCHAR) |
SELECT languages FROM table_21133193_1 WHERE member_countries = "Estonia" | Name the languages for estonia | CREATE TABLE table_21133193_1 (languages VARCHAR, member_countries VARCHAR) |
SELECT music FROM table_name_20 WHERE style = "jive" | Which music is jive? | CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR) |
SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open" | What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open? | CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR) |
SELECT country FROM table_name_21 WHERE player = "larry mize" | What country is Larry Mize from? | CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) |
SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = "acgs" | What U15 3rd Quad has a U15 2nd Quad of ACGS? | CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR) |
SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval" | What was the away team score at Western Oval? | CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) |
SELECT record FROM table_name_16 WHERE date = "november 23" | What is Record, when Date is November 23? | CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR) |
SELECT date_of_birth__age_ FROM table_name_49 WHERE player = "henry qiodravu" | What is the date of birth of Henry Qiodravu? | CREATE TABLE table_name_49 (date_of_birth__age_ VARCHAR, player VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.