answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT AVG(ends) FROM table_name_28 WHERE name = "weston"
|
Name the average ends for weston
|
CREATE TABLE table_name_28 (ends INTEGER, name VARCHAR)
|
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
|
Name the tournaments played for 2004
|
CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)
|
SELECT score FROM table_name_78 WHERE date = "1 december 2007"
|
What is the score on the 1 December 2007 game?
|
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR)
|
SELECT car_spec FROM table_name_68 WHERE team = "airwaves bmw" AND drivers = "rob collard"
|
What is the car specs for team Airwaves BMW's driver Rob Collard?
|
CREATE TABLE table_name_68 (car_spec VARCHAR, team VARCHAR, drivers VARCHAR)
|
SELECT score FROM table_name_84 WHERE date = "june 22"
|
What was the score from the game played on June 22?
|
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)
|
SELECT player FROM table_name_79 WHERE nationality = "united states" AND overall = "61 (from boston)"
|
Which Player has a Nationality of united states, and an Overall of 61 (from boston)?
|
CREATE TABLE table_name_79 (player VARCHAR, nationality VARCHAR, overall VARCHAR)
|
SELECT bbi FROM table_28798161_3 WHERE economy = "3.63"
|
if the economy is 3.63 what is the bbi
|
CREATE TABLE table_28798161_3 (bbi VARCHAR, economy VARCHAR)
|
SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0
|
What is the lowest year with tyres in g and less than 0 points?
|
CREATE TABLE table_name_32 (year INTEGER, tyres VARCHAR, points VARCHAR)
|
SELECT MAX(2005) FROM table_name_38 WHERE güzelçamlı’s_lost_panther = "the muse"
|
Which 2005 has a Güzelçamlı’s Lost Panther of the muse?
|
CREATE TABLE table_name_38 (güzelçamlı’s_lost_panther VARCHAR)
|
SELECT date FROM table_name_5 WHERE away_team = "footscray"
|
What was the date when Footscray was the away team?
|
CREATE TABLE table_name_5 (date VARCHAR, away_team VARCHAR)
|
SELECT 1990 FROM table_name_3 WHERE 1993 = "1r"
|
WHICH 1990 has a 1993 of 1r?
|
CREATE TABLE table_name_3 (Id VARCHAR)
|
SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim"
|
What is the lowest year for the game called The Elder Scrolls v: Skyrim?
|
CREATE TABLE table_name_99 (year INTEGER, game VARCHAR)
|
SELECT venue FROM table_name_16 WHERE losing_team = "south sydney rabbitohs"
|
Which venue had a losing team of south sydney rabbitohs?
|
CREATE TABLE table_name_16 (venue VARCHAR, losing_team VARCHAR)
|
SELECT tv_companions_featured FROM table_name_95 WHERE author = "william emms"
|
What is TV Companions Featured, when Author is "William Emms"?
|
CREATE TABLE table_name_95 (tv_companions_featured VARCHAR, author VARCHAR)
|
SELECT COUNT(crowd) FROM table_name_28 WHERE venue = "glenferrie oval"
|
What is the total number of the crowd at Glenferrie Oval?
|
CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR)
|
SELECT engine FROM table_name_30 WHERE points = 3
|
Which Engine has Points of 3?
|
CREATE TABLE table_name_30 (engine VARCHAR, points VARCHAR)
|
SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden"
|
How many won the Men's Open if the players are from Sweden?
|
CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR)
|
SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears"
|
Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?
|
CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)
|
SELECT high_rebounds FROM table_13762472_4 WHERE score = "W 111–92 (OT)"
|
who had high rebounds when score is w 111–92 (ot)
|
CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, score VARCHAR)
|
SELECT MIN(bronze) FROM table_name_93 WHERE silver = 7 AND total > 25
|
Which Bronze has a Silver of 7, and a Total larger than 25?
|
CREATE TABLE table_name_93 (bronze INTEGER, silver VARCHAR, total VARCHAR)
|
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60"
|
What is the average Year with Chassis equalling cooper t60?
|
CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR)
|
SELECT COUNT(candidates) FROM table_1342149_24 WHERE first_elected = 1941
|
Name the number of candidates for 1941
|
CREATE TABLE table_1342149_24 (candidates VARCHAR, first_elected VARCHAR)
|
SELECT date FROM table_name_69 WHERE location = "madrid, esp"
|
What is the date of the match located in Madrid, Esp?
|
CREATE TABLE table_name_69 (date VARCHAR, location VARCHAR)
|
SELECT winner FROM table_name_35 WHERE country = "united states" AND date = "november 24-december 6"
|
On the date november 24-december 6 what's the winner when the country is united states?
|
CREATE TABLE table_name_35 (winner VARCHAR, country VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_83 WHERE attendance = "18,545"
|
What was the score when the attendance was 18,545?
|
CREATE TABLE table_name_83 (score VARCHAR, attendance VARCHAR)
|
SELECT 2005 FROM table_name_59 WHERE win__percentage = "82.61"
|
WHat in 2005 has a Win % of 82.61?
|
CREATE TABLE table_name_59 (win__percentage VARCHAR)
|
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson"
|
How many field goals did duncan thompson have?
|
CREATE TABLE table_name_8 (field_goals VARCHAR, player VARCHAR)
|
SELECT MAX(rank__week_) FROM table_26198709_1 WHERE production_code = "1ALF05"
|
What is the weeks rank for the episode with the production code 1alf05?
|
CREATE TABLE table_26198709_1 (rank__week_ INTEGER, production_code VARCHAR)
|
SELECT method FROM table_name_24 WHERE event = "jungle fight 2"
|
Which is the method under the event Jungle Fight 2?
|
CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR)
|
SELECT SUM(races) FROM table_name_82 WHERE podiums < 3 AND wins = 0 AND season > 2001 AND points = "32"
|
What is the sum of Races, when Podiums is less than 3, when Wins is 0, when Season is after 2001, and when Points is 32?
|
CREATE TABLE table_name_82 (races INTEGER, points VARCHAR, season VARCHAR, podiums VARCHAR, wins VARCHAR)
|
SELECT AVG(sprint) FROM table_name_85 WHERE wins = 10 AND feature < 5
|
How many sprints on average had 10 wins and less than 5 features?
|
CREATE TABLE table_name_85 (sprint INTEGER, wins VARCHAR, feature VARCHAR)
|
SELECT country FROM table_name_88 WHERE name = "sodje"
|
From which country was Sodje loaned?
|
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
|
SELECT time_retired FROM table_name_95 WHERE grid = 8
|
What is the time/retired for grid 8?
|
CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR)
|
SELECT MAX(points) FROM table_name_53 WHERE chassis = "jbw" AND engine = "climax straight-4" AND year > 1961
|
What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961?
|
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, chassis VARCHAR, engine VARCHAR)
|
SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
|
What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?
|
CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
|
SELECT MIN(game) FROM table_name_92 WHERE decision = "weekes" AND record = "7-4-2"
|
What was the first game in which Weekes scored the decision goal and the record was 7-4-2?
|
CREATE TABLE table_name_92 (game INTEGER, decision VARCHAR, record VARCHAR)
|
SELECT MIN(rank) FROM table_name_52 WHERE games > 2
|
What is the smallest rank when there are more than 2 games?
|
CREATE TABLE table_name_52 (rank INTEGER, games INTEGER)
|
SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-2"
|
What is the smallest game number with a record of 16-7-2?
|
CREATE TABLE table_name_44 (game INTEGER, record VARCHAR)
|
SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"
|
Which Player has a Score smaller than 69, and a Place of t1?
|
CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR)
|
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "11"
|
Which Doctor Who episode has a Episode # of 11?
|
CREATE TABLE table_name_78 (doctor_who_episode VARCHAR, episode__number VARCHAR)
|
SELECT MAX(byes) FROM table_name_87 WHERE against > 1235 AND losses < 10 AND wins > 7
|
Which Byes have an Against larger than 1235, and Losses smaller than 10, and Wins larger than 7?
|
CREATE TABLE table_name_87 (byes INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)
|
SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component < 6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component > 10
|
Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components.
|
CREATE TABLE furniture_manufacte (Furniture_ID VARCHAR, manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR); CREATE TABLE furniture (Furniture_ID VARCHAR, num_of_component INTEGER)
|
SELECT COUNT(carries) FROM table_name_37 WHERE average < 8.7 AND touchdowns = 72
|
How many carries have an average under 8.7 and touchdowns of 72?
|
CREATE TABLE table_name_37 (carries VARCHAR, average VARCHAR, touchdowns VARCHAR)
|
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn"
|
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
|
CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
|
SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond"
|
What was the home team's score at the game where Richmond was the away team?
|
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
|
SELECT country_territory FROM table_name_89 WHERE mr_gay_international = "jason keatly"
|
In what Country/Territory did Jason Keatly win Mr. Gay Internatnional?
|
CREATE TABLE table_name_89 (country_territory VARCHAR, mr_gay_international VARCHAR)
|
SELECT _number FROM table_20124413_2 WHERE prod_code = "2.6"
|
How many numbers have the product code of 2.6?
|
CREATE TABLE table_20124413_2 (_number VARCHAR, prod_code VARCHAR)
|
SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp"
|
Which memeber has nsw as the state, a first elected of 1952, and alp as the party?
|
CREATE TABLE table_name_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR)
|
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1"
|
Tell me the constructor for alberto colombo and chassis of a1
|
CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR)
|
SELECT record FROM table_name_33 WHERE date = "december 5, 1999"
|
What was the Ravens' record on December 5, 1999?
|
CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR)
|
SELECT english_translation FROM table_name_23 WHERE lyricist_s_ = "giorgos moukidis" AND original_album = "ena (new edition)"
|
What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"
|
CREATE TABLE table_name_23 (english_translation VARCHAR, lyricist_s_ VARCHAR, original_album VARCHAR)
|
SELECT party FROM table_1805191_34 WHERE first_elected = 1998
|
Which party was elected first in 1998?
|
CREATE TABLE table_1805191_34 (party VARCHAR, first_elected VARCHAR)
|
SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti"
|
Name the date of vacancy for daniel uberti
|
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
|
SELECT artist FROM table_name_71 WHERE year = 2005
|
What artist was released in 2005?
|
CREATE TABLE table_name_71 (artist VARCHAR, year VARCHAR)
|
SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "3–1"
|
Which Opponent has a Game site of heinz field, and a Record of 3–1?
|
CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR)
|
SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
|
Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?
|
CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
|
SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"
|
How many strokes for arnold palmer with a to par of greater than 9?
|
CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR)
|
SELECT gvm__kg__technical_capacity FROM table_11497980_1 WHERE model = "15.180E"
|
If the model is 15.180e, what is the GVM (kg) Technical Capacity?
|
CREATE TABLE table_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR)
|
SELECT years FROM table_name_24 WHERE goals = 82
|
What Years have a Goal of 82?
|
CREATE TABLE table_name_24 (years VARCHAR, goals VARCHAR)
|
SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%"
|
When the other is n/a and the psc-pc is 30% what is the date?
|
CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR)
|
SELECT motogp_winner FROM table_12186237_1 WHERE circuit = "Catalunya"
|
Who is the Motogp winnder for the Catalunya Circuit?
|
CREATE TABLE table_12186237_1 (motogp_winner VARCHAR, circuit VARCHAR)
|
SELECT nationality FROM table_name_98 WHERE round < 3
|
Which Nationality has a Round smaller than 3?
|
CREATE TABLE table_name_98 (nationality VARCHAR, round INTEGER)
|
SELECT date FROM table_name_68 WHERE tournament = "prijedor"
|
When was the Prijedor tournament?
|
CREATE TABLE table_name_68 (date VARCHAR, tournament VARCHAR)
|
SELECT norwegian__nynorsk_ FROM table_name_12 WHERE danish = "farvel"
|
Which Norwegian (nynorsk) has a Danish of farvel?
|
CREATE TABLE table_name_12 (norwegian__nynorsk_ VARCHAR, danish VARCHAR)
|
SELECT bookmarking, _tagging, _rating_and_comments FROM table_name_1 WHERE list_management = "no" AND charting = "no" AND web_publishing = "no" AND name = "microsoft exchange server"
|
WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?
|
CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, charting VARCHAR)
|
SELECT COUNT(reservation_for_sc_st) FROM table_29785324_4 WHERE constituency_no = 191
|
How many reservations for sc/st are there in constituency 191?
|
CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR)
|
SELECT MAX(laps) FROM table_name_35 WHERE time_retired = "differential" AND grid > 2
|
what is the most laps with the time/retired is differential and the grid is more than 2?
|
CREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
|
SELECT college FROM table_name_68 WHERE height = "6-4" AND school = "lake howell high school"
|
What's the college of the player with a height of 6-4 and went to lake howell high school?
|
CREATE TABLE table_name_68 (college VARCHAR, height VARCHAR, school VARCHAR)
|
SELECT hometown FROM table_11677100_18 WHERE position = "Pitcher" AND school = "Saint Joseph Regional High school"
|
What is the hometown of the pitcher who's school was Saint Joseph Regional High School?
|
CREATE TABLE table_11677100_18 (hometown VARCHAR, position VARCHAR, school VARCHAR)
|
SELECT race FROM table_name_25 WHERE pole_position = "jacques laffite"
|
What race has a Pole Position of Jacques Laffite?
|
CREATE TABLE table_name_25 (race VARCHAR, pole_position VARCHAR)
|
SELECT candidates FROM table_2668329_18 WHERE incumbent = "Felix Walker"
|
Name the candidates for felix walker
|
CREATE TABLE table_2668329_18 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT report FROM table_name_13 WHERE date = "1 june"
|
Which Report is on 1 june?
|
CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR)
|
SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men"
|
Who was the original artist of the Top 12 Men theme?
|
CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)
|
SELECT player FROM table_name_33 WHERE position = "no pick" AND year = 1976
|
What player has a no pick position in 1976?
|
CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR)
|
SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2
|
Show the name of colleges that have at least two players.
|
CREATE TABLE match_season (College VARCHAR)
|
SELECT MAX(points) FROM table_name_78 WHERE entrant = "coloni spa"
|
What was the most points for Coloni Spa?
|
CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR)
|
SELECT home_team FROM table_name_82 WHERE attendance = "25 november 1997" AND away_team = "exeter city"
|
who is the home team when attendance is 25 november 1997 and the away team is exeter city?
|
CREATE TABLE table_name_82 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR)
|
SELECT date FROM table_name_23 WHERE score = "42-6"
|
What was the date of game with a score of 42-6?
|
CREATE TABLE table_name_23 (date VARCHAR, score VARCHAR)
|
SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac"
|
What was the population in 2011 of banatski karlovac?
|
CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR)
|
SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18
|
Which Name had a Rank of 18 Out of a number smaller than 149?
|
CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR)
|
SELECT tottenham_hotspur_career FROM table_name_26 WHERE goals = "10" AND nationality = "england" AND position = "df" AND club_apps = "118"
|
What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps?
|
CREATE TABLE table_name_26 (tottenham_hotspur_career VARCHAR, club_apps VARCHAR, position VARCHAR, goals VARCHAR, nationality VARCHAR)
|
SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno"
|
List all car plates in the capital of Wilno since the year of 1937.
|
CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)
|
SELECT state FROM table_name_47 WHERE appointment = "jul 12, 2001"
|
What state has an appointment for jul 12, 2001?
|
CREATE TABLE table_name_47 (state VARCHAR, appointment VARCHAR)
|
SELECT original_airdate FROM table_17467447_1 WHERE us_viewers__million_ = "5.50"
|
What is the air date when the U.S. viewers was 5.50 million?
|
CREATE TABLE table_17467447_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT coombe_road FROM table_name_14 WHERE woodside = "07:23"
|
What is the Coombe Road with a Woodside time of 07:23?
|
CREATE TABLE table_name_14 (coombe_road VARCHAR, woodside VARCHAR)
|
SELECT count_rectified FROM table_name_78 WHERE opponents = "single" AND positional_or_automatic = "either" AND material_or_non_material = "no"
|
Is the count rectified for single opponents, either positional or automatic, and no material or non-material?
|
CREATE TABLE table_name_78 (count_rectified VARCHAR, material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR)
|
SELECT SUM(crowd) FROM table_name_5 WHERE home_team = "richmond"
|
What's the crowd population of the home team located in Richmond?
|
CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR)
|
SELECT AVG(total) FROM table_name_13 WHERE county = "kilkenny" AND tally = "1–4" AND rank > 10
|
Which Total has a County of kilkenny, and a Tally of 1–4, and a Rank larger than 10?
|
CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, county VARCHAR, tally VARCHAR)
|
SELECT AVG(grid) FROM table_name_66 WHERE laps = 88
|
What's the average Grid with Laps of 88?
|
CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR)
|
SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21"
|
What was the score on February 21 when the home team was the Pittsburgh Penguins?
|
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
|
SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"
|
If the scoring average is 72.46, what is the best finish?
|
CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR)
|
SELECT kit_maker FROM table_name_44 WHERE manager = "trond sollied"
|
Which kit maker have Trond Sollied as a manager?
|
CREATE TABLE table_name_44 (kit_maker VARCHAR, manager VARCHAR)
|
SELECT AVG(play_offs) FROM table_name_15 WHERE league > 18 AND player = "john grant" AND total > 25
|
What is the mean number of play-offs when the league number was bigger than 18, where the player was John Grant and the total number was bigger than 25?
|
CREATE TABLE table_name_15 (play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)
|
SELECT games FROM table_name_89 WHERE points < 340 AND rank > 3
|
What is Games, when Points is less than 340, and when Rank is greater than 3?
|
CREATE TABLE table_name_89 (games VARCHAR, points VARCHAR, rank VARCHAR)
|
SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000"
|
Who was the opponent at the game attended by 45,000?
|
CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR)
|
SELECT COUNT(capacity) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec"
|
How many capacities are possible for the 1.6 Duratec model/engine?
|
CREATE TABLE table_1212189_1 (capacity VARCHAR, model_engine VARCHAR)
|
SELECT score FROM table_275162_1 WHERE course = "Bellerive country Club"
|
What was the winning score at bellerive country club?
|
CREATE TABLE table_275162_1 (score VARCHAR, course VARCHAR)
|
SELECT MIN(date) FROM table_name_92 WHERE label = "great expectations" AND format = "lp"
|
What is the earliest date with Great Expectations label with LP format?
|
CREATE TABLE table_name_92 (date INTEGER, label VARCHAR, format VARCHAR)
|
SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs"
|
What is the total number of picks from the PBA team of purefoods tender juicy hotdogs?
|
CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR)
|
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE version = "SoundDock series II"
|
How many times did the sounddock series II aux in?
|
CREATE TABLE table_24384861_1 (aux_in VARCHAR, version VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.