question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the hometown of the player that attends UCLA? | CREATE TABLE table_name_99 (hometown VARCHAR, college VARCHAR) | SELECT hometown FROM table_name_99 WHERE college = "ucla" |
Name the number location of georgia perimeter college | CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR) | SELECT COUNT(location) FROM table_16734640_1 WHERE institution = "Georgia Perimeter College" |
Which items in segment C is episode 160? | CREATE TABLE table_name_30 (segment_c VARCHAR, episode VARCHAR) | SELECT segment_c FROM table_name_30 WHERE episode = 160 |
What was the losing team in the 1993 season? | CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR) | SELECT losingteam FROM table_11236195_2 WHERE season = 1993 |
What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997? | CREATE TABLE table_name_48 (away_team VARCHAR, attendance VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_48 WHERE attendance = "6 december 1997" AND home_team = "torquay united" |
What is the agg when team #2 is 2006 UEFA Intertoto Cup? | CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" |
Tell me the date with week of 13 | CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_21 WHERE week = 13 |
Position of running back involves which college? | CREATE TABLE table_name_57 (college VARCHAR, position VARCHAR) | SELECT college FROM table_name_57 WHERE position = "running back" |
What 2003-2004 values are associated with an average of 1.377? | CREATE TABLE table_2865020_5 (average VARCHAR) | SELECT 2003 AS _04 FROM table_2865020_5 WHERE average = "1.377" |
What is the Location, when Event is "100m Butterfly"? | CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_72 WHERE event = "100m butterfly" |
What was the number of the game played on February 24? | CREATE TABLE table_name_29 (game INTEGER, date VARCHAR) | SELECT SUM(game) FROM table_name_29 WHERE date = "february 24" |
If the latitude is 08.979° s, what is the depth? | CREATE TABLE table_25675509_1 (depth VARCHAR, latitude VARCHAR) | SELECT depth FROM table_25675509_1 WHERE latitude = "08.979° S" |
What are the average profits of companies? | CREATE TABLE Companies (Profits_billion INTEGER) | SELECT AVG(Profits_billion) FROM Companies |
What is Player, when Position is DB, and when College is Saint Mary's? | CREATE TABLE table_name_71 (player VARCHAR, position VARCHAR, college VARCHAR) | SELECT player FROM table_name_71 WHERE position = "db" AND college = "saint mary's" |
Which Place has a Score of 71-70=141? | CREATE TABLE table_name_7 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_7 WHERE score = 71 - 70 = 141 |
Which Total has a Finish of t59? | CREATE TABLE table_name_81 (total INTEGER, finish VARCHAR) | SELECT MIN(total) FROM table_name_81 WHERE finish = "t59" |
List the state in the US with the most invoices. | CREATE TABLE invoices (billing_state VARCHAR, billing_country VARCHAR) | SELECT billing_state, COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1 |
Which event had Carlos Alexandre Pereira as opponent? | CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_55 WHERE opponent = "carlos alexandre pereira" |
Which Draws have a Team of annandale, and Losses smaller than 13? | CREATE TABLE table_name_58 (draws INTEGER, team VARCHAR, losses VARCHAR) | SELECT SUM(draws) FROM table_name_58 WHERE team = "annandale" AND losses < 13 |
What is the average entry in the against column with draws smaller than 0? | CREATE TABLE table_name_80 (against INTEGER, draws INTEGER) | SELECT AVG(against) FROM table_name_80 WHERE draws < 0 |
Which inning were the Minnesota Twins in on 06-07-1961? | CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR) | SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961" |
When was the away team geelong? | CREATE TABLE table_name_13 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_13 WHERE away_team = "geelong" |
what is the average rank when the day 1 is less than 71 and the country is romania? | CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR) | SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania" |
What is the score of the match on July 22, 2008? | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_98 WHERE date = "july 22, 2008" |
How many total games were played by the team which had a total of 16 points and less than 4 draws? | CREATE TABLE table_name_33 (played INTEGER, points VARCHAR, draws VARCHAR) | SELECT SUM(played) FROM table_name_33 WHERE points = 16 AND draws < 4 |
Name the manner of departure for date of vacancy 25 august 2008 | CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 2008" |
Tell me the carburetor for engine of 250-1v i-6 | CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR) | SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6" |
What is the result against Errol Zimmerman on 2007-04-07? | CREATE TABLE table_name_81 (result VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07" |
What's the value for played when the division is nbl div2 with 12th position? | CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR) | SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th" |
What is the lowest overall money list rank? | CREATE TABLE table_24330912_1 (money_list_rank INTEGER) | SELECT MIN(money_list_rank) FROM table_24330912_1 |
On what date was there a draw at Sydney Cricket Ground? | CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) | SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground" |
What was the crowd size when Geelong played at home? | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_58 WHERE home_team = "geelong" |
Name the number of year for 6–3, 6–2 hard surface | CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR) | SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard" |
What is average December when game is 30? | CREATE TABLE table_name_79 (december INTEGER, game VARCHAR) | SELECT AVG(december) FROM table_name_79 WHERE game = 30 |
How many results were there for the Stan Fox Stakes race? | CREATE TABLE table_1360997_2 (result VARCHAR, race VARCHAR) | SELECT COUNT(result) FROM table_1360997_2 WHERE race = "Stan Fox Stakes" |
What opponent has an attendance of 20,456? | CREATE TABLE table_name_7 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_7 WHERE attendance = "20,456" |
For the match ending in a score of 66-20, what was the stadium? | CREATE TABLE table_name_92 (stadium VARCHAR, score VARCHAR) | SELECT stadium FROM table_name_92 WHERE score = "66-20" |
Who is the away team at Windy Hill? | CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_69 WHERE venue = "windy hill" |
What round was northeastern college player Reggie Lewis drafted in? | CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR) | SELECT MIN(round) FROM table_name_26 WHERE college = "northeastern" AND player = "reggie lewis" |
Which Lost has a Drawn larger than 1, and Games smaller than 7? | CREATE TABLE table_name_8 (lost INTEGER, drawn VARCHAR, games VARCHAR) | SELECT MIN(lost) FROM table_name_8 WHERE drawn > 1 AND games < 7 |
Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? | CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR) | SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes" |
What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'? | CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR, brand VARCHAR) | SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id = T1.id WHERE T1.brand = 'Sigma' OR T1.brand = 'Olympus' |
What was the number of game that was played on March 19? | CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_53 WHERE date = "march 19" |
List the scores of all games when Miami were listed as the first Semi finalist | CREATE TABLE table_11214772_2 (score VARCHAR, semi_finalist__number1 VARCHAR) | SELECT score FROM table_11214772_2 WHERE semi_finalist__number1 = "Miami" |
Which manufacturer made Shoya Tomizawa's motorcycle? | CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa" |
What was the length of release 3.6? | CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR) | SELECT length FROM table_name_54 WHERE release = 3.6 |
When was the finale played when the show premiered on September 24, 2002? | CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) | SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002" |
When was the game played in Zagreb? | CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_79 WHERE city = "zagreb" |
Which Match has a Competition of Group Stage on 2000-09-17? | CREATE TABLE table_name_66 (match VARCHAR, competition VARCHAR, date VARCHAR) | SELECT match FROM table_name_66 WHERE competition = "group stage" AND date = "2000-09-17" |
What is he archive for the episode with a run time of 24:05? | CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_2102714_1 WHERE run_time = "24:05" |
What are the railway number(s) for year(s) of manufacture of 1905–1906? | CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR) | SELECT railway_number_s_ FROM table_name_47 WHERE year_s__of_manufacture = "1905–1906" |
List singer names and number of concerts for each singer. | CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR) | SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id |
Tell me the time/retired with Laps of 47 and driver of rené arnoux | CREATE TABLE table_name_47 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_47 WHERE laps = 47 AND driver = "rené arnoux" |
What is player Alexis Bwenge's pick number? | CREATE TABLE table_10960039_1 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_10960039_1 WHERE player = "Alexis Bwenge" |
Which pick came from Pittsburgh? | CREATE TABLE table_name_60 (pick VARCHAR, college VARCHAR) | SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh" |
How many units were sold in the US of the game that sold 346,000 units in japan? | CREATE TABLE table_name_72 (units_sold_in_the_us VARCHAR, units_sold_in_japan VARCHAR) | SELECT units_sold_in_the_us FROM table_name_72 WHERE units_sold_in_japan = "346,000" |
Where is the service pattern sydenham then fast to norwood junction? | CREATE TABLE table_1569516_1 (destination VARCHAR, service_pattern VARCHAR) | SELECT destination FROM table_1569516_1 WHERE service_pattern = "Sydenham then fast to Norwood Junction" |
Record of 18–15–6 belongs to what lowest attendance? | CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6" |
What date has boston as the visitor? | CREATE TABLE table_name_21 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_21 WHERE visitor = "boston" |
How many buildings are there? | CREATE TABLE building (Id VARCHAR) | SELECT COUNT(*) FROM building |
What is the country of player lee trevino, who has a to par of +2? | CREATE TABLE table_name_32 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_32 WHERE to_par = "+2" AND player = "lee trevino" |
Which date was hermanos rodríguez the location? | CREATE TABLE table_name_37 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_37 WHERE location = "hermanos rodríguez" |
What is the film dated 22/3/06 and redhouse lane / perfect world was the recipient? | CREATE TABLE table_name_35 (film VARCHAR, date VARCHAR, recipient VARCHAR) | SELECT film FROM table_name_35 WHERE date = "22/3/06" AND recipient = "redhouse lane / perfect world" |
Which Dec. (J2000) has a Redshift (km/ s) of 1331 ± 3? | CREATE TABLE table_name_31 (dec___j2000__ VARCHAR, redshift__km__s__ VARCHAR) | SELECT dec___j2000__ FROM table_name_31 WHERE redshift__km__s__ = "1331 ± 3" |
What is the lowest score that wes ellis got? | CREATE TABLE table_name_81 (score INTEGER, player VARCHAR) | SELECT MIN(score) FROM table_name_81 WHERE player = "wes ellis" |
Show the most common position of players in match seasons. | CREATE TABLE match_season (POSITION VARCHAR) | SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY COUNT(*) DESC LIMIT 1 |
Name the minimum inhabitants for markatal 49 | CREATE TABLE table_16278673_1 (inhabitants_per_km² INTEGER, markatal VARCHAR) | SELECT MIN(inhabitants_per_km²) FROM table_16278673_1 WHERE markatal = 49 |
What venue is used before 2012 with a result of 12th? | CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR, year VARCHAR) | SELECT venue FROM table_name_18 WHERE result = "12th" AND year < 2012 |
Please show the categories of the music festivals and the count. | CREATE TABLE music_festival (Category VARCHAR) | SELECT Category, COUNT(*) FROM music_festival GROUP BY Category |
What game number was the first game played at the Summit this season? | CREATE TABLE table_name_25 (game INTEGER, location VARCHAR) | SELECT MIN(game) FROM table_name_25 WHERE location = "the summit" |
What's the lowest Attendance for a Week of 2? | CREATE TABLE table_name_3 (attendance INTEGER, week VARCHAR) | SELECT MIN(attendance) FROM table_name_3 WHERE week = 2 |
What was the result of the game played on April 16 with Philadelphia as home team? | CREATE TABLE table_name_64 (result VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_64 WHERE home_team = "philadelphia" AND date = "april 16" |
What are the approximate translations when the morphological category is masc. sing. active participle? | CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) | SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "masc. sing. active participle" |
What is the date for catalog RCD 10160? | CREATE TABLE table_name_15 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_15 WHERE catalog = "rcd 10160" |
What is the country when the date shows October 24, 2008? | CREATE TABLE table_name_30 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_30 WHERE date = "october 24, 2008" |
Which European competitions have a Pos of 6? | CREATE TABLE table_name_85 (european_competitions VARCHAR, pos VARCHAR) | SELECT european_competitions FROM table_name_85 WHERE pos = 6 |
How many points did the Ford V8 with a Tyrrell 007 have? | CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR) | SELECT points FROM table_name_3 WHERE engine = "ford v8" AND chassis = "tyrrell 007" |
WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? | CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR) | SELECT poll_year FROM table_name_34 WHERE third = "the ting tings" |
What was the score for Peter Lonard? | CREATE TABLE table_name_97 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_97 WHERE player = "peter lonard" |
Name the location for 2-1 record | CREATE TABLE table_23192661_3 (location VARCHAR, record VARCHAR) | SELECT location FROM table_23192661_3 WHERE record = "2-1" |
What is the Datacenter for the Fault Tolerant Memory Sync Feature that has Yes for Itanium and No for Standard? | CREATE TABLE table_name_62 (datacenter VARCHAR, features VARCHAR, standard VARCHAR, itanium VARCHAR) | SELECT datacenter FROM table_name_62 WHERE standard = "no" AND itanium = "yes" AND features = "fault tolerant memory sync" |
What was the earliest season where a team got a 29th position? | CREATE TABLE table_25369796_1 (season INTEGER, position VARCHAR) | SELECT MIN(season) FROM table_25369796_1 WHERE position = "29th" |
what is the director of la ronde | CREATE TABLE table_name_23 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_23 WHERE original_title = "la ronde" |
Which cities are in European countries where English is not the official language? | CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE country (Code VARCHAR, Continent VARCHAR, Name VARCHAR) | SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND NOT T1.Name IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English') |
What is the total of silver when gold is less than 0? | CREATE TABLE table_name_30 (silver INTEGER, gold INTEGER) | SELECT SUM(silver) FROM table_name_30 WHERE gold < 0 |
Name the ship for oakland home port and NVR page of aor-3 | CREATE TABLE table_name_28 (ship VARCHAR, home_port VARCHAR, nvr_page VARCHAR) | SELECT ship FROM table_name_28 WHERE home_port = "oakland" AND nvr_page = "aor-3" |
What is the lowest Long, when Name is Kass, Rob, and when Avg/g is less than -0.30000000000000004? | CREATE TABLE table_name_81 (long INTEGER, name VARCHAR, avg_g VARCHAR) | SELECT MIN(long) FROM table_name_81 WHERE name = "kass, rob" AND avg_g < -0.30000000000000004 |
What was the length time of the 3.5 release? | CREATE TABLE table_16279520_1 (length VARCHAR, release VARCHAR) | SELECT length FROM table_16279520_1 WHERE release = "3.5" |
What is District, when Incumbent is "Richard Neal"? | CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_8 WHERE incumbent = "richard neal" |
What is the score when Philadelphia is at home? | CREATE TABLE table_name_84 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_84 WHERE home = "philadelphia" |
what amount of points were lost by 13? | CREATE TABLE table_12807904_5 (points VARCHAR, lost VARCHAR) | SELECT points FROM table_12807904_5 WHERE lost = "13" |
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | CREATE TABLE table_1341663_26 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%" |
What was the result of the game on January 5, 1926? | CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_79 WHERE date = "january 5, 1926" |
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272? | CREATE TABLE table_name_20 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272 |
Name the number of episodes that jim barnes wrote for 1.82 million viewers | CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82" |
What's listed for the Label with a Date of 29 July 1997? | CREATE TABLE table_name_51 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_51 WHERE date = "29 july 1997" |
Who was in Second Place with Isabelle Brayley came in Fourth? | CREATE TABLE table_name_31 (second VARCHAR, fourth VARCHAR) | SELECT second FROM table_name_31 WHERE fourth = "isabelle brayley" |
What is the broadband penetration where there are ~355,100 broadband subscribers? | CREATE TABLE table_name_31 (Broadband VARCHAR, number_of_broadband_subscribers VARCHAR) | SELECT Broadband AS penetration FROM table_name_31 WHERE number_of_broadband_subscribers = "~355,100" |
In 1971 at MCG, what was the score of the VFL Reserves? | CREATE TABLE table_name_35 (score VARCHAR, year VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT score FROM table_name_35 WHERE competition = "vfl reserves" AND venue = "mcg" AND year = "1971" |
Show the record companies shared by orchestras founded before 2003 and after 2003. | CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded INTEGER) | SELECT Record_Company FROM orchestra WHERE Year_of_Founded < 2003 INTERSECT SELECT Record_Company FROM orchestra WHERE Year_of_Founded > 2003 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.