question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the dates where Hillcrest Reserve is the home grounds?
CREATE TABLE table_18752986_1 (first_season VARCHAR, home_ground_s_ VARCHAR)
SELECT first_season FROM table_18752986_1 WHERE home_ground_s_ = "Hillcrest Reserve"
For location Caversham, what is the name of the captain?
CREATE TABLE table_18752986_1 (captain VARCHAR, location VARCHAR)
SELECT captain FROM table_18752986_1 WHERE location = "Caversham"
With the nickname the swans, what is the home ground?
CREATE TABLE table_18752986_1 (home_ground_s_ VARCHAR, nickname VARCHAR)
SELECT home_ground_s_ FROM table_18752986_1 WHERE nickname = "Swans"
What is the record when the opponent is washington redskins?
CREATE TABLE table_18847692_2 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_18847692_2 WHERE opponent = "Washington Redskins"
What is the minimum number of opponents?
CREATE TABLE table_18847692_2 (opponents INTEGER)
SELECT MIN(opponents) FROM table_18847692_2
when area (km²) is 1605.35, how many provinces are there?
CREATE TABLE table_1888051_1 (province VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(province) FROM table_1888051_1 WHERE area__km²_ = "1605.35"
when province is monseñor nouel, what is the area (km²)?
CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, province VARCHAR)
SELECT area__km²_ FROM table_1888051_1 WHERE province = "Monseñor Nouel"
How many capitals are there when area (km²) is 1111.14?
CREATE TABLE table_1888051_1 (capital VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(capital) FROM table_1888051_1 WHERE area__km²_ = "1111.14"
Nagua has the area (km²) of?
CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, capital VARCHAR)
SELECT area__km²_ FROM table_1888051_1 WHERE capital = "Nagua"
During what period were parliament 11th?
CREATE TABLE table_1889233_2 (period_in_office VARCHAR, parliament VARCHAR)
SELECT period_in_office FROM table_1889233_2 WHERE parliament = "11th"
what parliament's name is lina loh woon lee?
CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)
SELECT parliament FROM table_1889233_2 WHERE name = "Lina Loh Woon Lee"
What number parliament held it's election in 1997?
CREATE TABLE table_1889233_2 (parliament VARCHAR, general_election_contested VARCHAR)
SELECT parliament FROM table_1889233_2 WHERE general_election_contested = 1997
What period were conscituency contested is aljunied grc?
CREATE TABLE table_1889233_2 (period_in_office VARCHAR, constituency_contested VARCHAR)
SELECT period_in_office FROM table_1889233_2 WHERE constituency_contested = "Aljunied GRC"
Which parliament is sylvia lim swee lian?
CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)
SELECT parliament FROM table_1889233_2 WHERE name = "Sylvia Lim Swee Lian"
When jim is eliminated what is the finish?
CREATE TABLE table_1893276_2 (finish VARCHAR, eliminated VARCHAR)
SELECT finish FROM table_1893276_2 WHERE eliminated = "Jim"
How many rewards are there for air date October 6, 2005?
CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR)
SELECT reward FROM table_1893276_2 WHERE air_date = "October 6, 2005"
What was eliminated on the air date of November 3, 2005?
CREATE TABLE table_1893276_2 (eliminated VARCHAR, air_date VARCHAR)
SELECT eliminated FROM table_1893276_2 WHERE air_date = "November 3, 2005"
How many air dates were there when Morgan was eliminated?
CREATE TABLE table_1893276_2 (air_date VARCHAR, eliminated VARCHAR)
SELECT COUNT(air_date) FROM table_1893276_2 WHERE eliminated = "Morgan"
When same target; linebacker ii offensive is the same target what is the unit?
CREATE TABLE table_18933037_3 (unit VARCHAR, mission_target VARCHAR)
SELECT unit FROM table_18933037_3 WHERE mission_target = "Same target; Linebacker II Offensive"
When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target?
CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR)
SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = "Hit by SAM at 38,500 feet just after bomb release"
When 7th bw attached to 43rd sw is the unit what is the b-52 model?
CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR)
SELECT b_52_model FROM table_18933037_3 WHERE unit = "7th BW attached to 43rd SW"
When 441st bs, 7th bw is the unit what is the b-52 model?
CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR)
SELECT b_52_model FROM table_18933037_3 WHERE unit = "441st BS, 7th BW"
When 27 gp h-e bombs the capacity of the bomb what is the cause of loss?
CREATE TABLE table_18933037_3 (cause_of_loss VARCHAR, bomb_capacity VARCHAR)
SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs"
Name the least clubs involved for leagues being none for semi finals
CREATE TABLE table_19089486_1 (clubs_involved INTEGER, leagues_entering_this_round VARCHAR, round VARCHAR)
SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals"
Name the new entries this round for third round
CREATE TABLE table_19089486_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_19089486_1 WHERE round = "Third round"
Name the leagues entering this round for 4
CREATE TABLE table_19089486_1 (leagues_entering_this_round VARCHAR, clubs_involved VARCHAR)
SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 4
Name the least clubs remaining
CREATE TABLE table_19089486_1 (clubs_remaining INTEGER)
SELECT MIN(clubs_remaining) FROM table_19089486_1
When conjunction junction is the episode title and the music is by bob dorough who is the performer?
CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR)
SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction Junction"
When interjection is the subject how many performers are there?
CREATE TABLE table_191105_2 (performed_by VARCHAR, subject VARCHAR)
SELECT COUNT(performed_by) FROM table_191105_2 WHERE subject = "interjection"
When pronoun is the subject what is the episode title?
CREATE TABLE table_191105_2 (episode_title VARCHAR, subject VARCHAR)
SELECT episode_title FROM table_191105_2 WHERE subject = "pronoun"
When interjection is the subject who are the lyrics by?
CREATE TABLE table_191105_2 (lyrics_by VARCHAR, subject VARCHAR)
SELECT lyrics_by FROM table_191105_2 WHERE subject = "interjection"
When zachary sanders is the performer how many first aired are there?
CREATE TABLE table_191105_2 (first_aired VARCHAR, performed_by VARCHAR)
SELECT COUNT(first_aired) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"
When zachary sanders is the performer how many people is the music by?
CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)
SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"
Name the world rank for market value 17.2
CREATE TABLE table_19112_3 (world_rank VARCHAR, market_value__billion_$_ VARCHAR)
SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.2"
Name the market value for rhb capital
CREATE TABLE table_19112_3 (market_value__billion_$_ VARCHAR, company VARCHAR)
SELECT market_value__billion_$_ FROM table_19112_3 WHERE company = "RHB Capital"
Name the profits for market value of 11.8
CREATE TABLE table_19112_3 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)
SELECT profits__billion_$_ FROM table_19112_3 WHERE market_value__billion_$_ = "11.8"
Name the industry for revenue being 2.1
CREATE TABLE table_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR)
SELECT industry FROM table_19112_3 WHERE revenue__billion_$_ = "2.1"
Name the total number of industry for maxis
CREATE TABLE table_19112_3 (industry VARCHAR, company VARCHAR)
SELECT COUNT(industry) FROM table_19112_3 WHERE company = "Maxis"
how many games with high rebounds where in february 26
CREATE TABLE table_19169116_6 (high_rebounds VARCHAR, date VARCHAR)
SELECT COUNT(high_rebounds) FROM table_19169116_6 WHERE date = "February 26"
which institutes gave the democratic renewal 18.0% – 22.0% on a poll from October 6, 1985?
CREATE TABLE table_1919538_1 (institute VARCHAR, democratic_renewal VARCHAR)
SELECT institute FROM table_1919538_1 WHERE democratic_renewal = "18.0% – 22.0%"
Name the number of seats to be won being % of popular vote at 6.88%
CREATE TABLE table_19283982_4 (_number_of_seats_to_be_won VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT _number_of_seats_to_be_won FROM table_19283982_4 WHERE _percentage_of_popular_vote = "6.88%"
Name the number of total votes for # of seats won being 30
CREATE TABLE table_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)
SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 30
Name the number of candidates for # of seats won being 43
CREATE TABLE table_19283982_4 (_number_of_candidates VARCHAR, _number_of_seats_won VARCHAR)
SELECT _number_of_candidates FROM table_19283982_4 WHERE _number_of_seats_won = 43
Name the number of leaders for % of popular vote being 11.05%
CREATE TABLE table_19283982_4 (leader VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%"
What is the location that has the 12th district?
CREATE TABLE table_19283806_4 (location VARCHAR, district VARCHAR)
SELECT location FROM table_19283806_4 WHERE district = "12th"
How many election results in 2012 had a Cook PVI of D+16?
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR)
SELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = "D+16"
What is the Cook PVI for the location that has a representative of Mike Thompson?
CREATE TABLE table_19283806_4 (cook_pvi VARCHAR, representative VARCHAR)
SELECT cook_pvi FROM table_19283806_4 WHERE representative = "Mike Thompson"
How many locations have a median household income in 2011 of $71,479?
CREATE TABLE table_19283806_4 (location VARCHAR, median_household_income__2011_ VARCHAR)
SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479"
What is the 2012 election results for locations whose representative is Barbara Lee?
CREATE TABLE table_19283806_4 (representative VARCHAR)
SELECT 2012 AS _election_results FROM table_19283806_4 WHERE representative = "Barbara Lee"
What is the latest season number for a show with a production code of 816?
CREATE TABLE table_19422702_1 (no_in_season INTEGER, production_code VARCHAR)
SELECT MAX(no_in_season) FROM table_19422702_1 WHERE production_code = 816
How many U.S. air dates were from an episode in Season 4?
CREATE TABLE table_19422702_1 (us_airdate VARCHAR, no_in_season VARCHAR)
SELECT COUNT(us_airdate) FROM table_19422702_1 WHERE no_in_season = 4
How many different C_{high} values are there for the good category?
CREATE TABLE table_1942366_9 (high VARCHAR, category VARCHAR)
SELECT STRUCT(high) FROM table_1942366_9 WHERE category = "Good"
What's the C_{high} when the C_{low} value is 250.5?
CREATE TABLE table_1942366_9 (high VARCHAR, low VARCHAR)
SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.5"
What's the C_{low} value when C_{high} is 12.0?
CREATE TABLE table_1942366_9 (low VARCHAR, high VARCHAR)
SELECT STRUCT(low) FROM table_1942366_9 WHERE STRUCT(high) = "12.0"
In how many different categories is the value of C_{low} 35.5?
CREATE TABLE table_1942366_9 (category VARCHAR, low VARCHAR)
SELECT COUNT(category) FROM table_1942366_9 WHERE STRUCT(low) = "35.5"
How many members were in the group that sold 65 million albums and singles?
CREATE TABLE table_19439814_1 (members VARCHAR, sold__albums_and_singles_ VARCHAR)
SELECT members FROM table_19439814_1 WHERE sold__albums_and_singles_ = "65 million"
What group had 29 studio albums?
CREATE TABLE table_19439814_1 (girl_group VARCHAR, studio_albums VARCHAR)
SELECT girl_group FROM table_19439814_1 WHERE studio_albums = 29
When bergen is 88, what is the alesund?
CREATE TABLE table_19439864_2 (ålesund INTEGER, bergen VARCHAR)
SELECT MIN(ålesund) FROM table_19439864_2 WHERE bergen = 88
How many elverum are tehre for et sted i scandinavia?
CREATE TABLE table_19439864_2 (elverum VARCHAR, song VARCHAR)
SELECT COUNT(elverum) FROM table_19439864_2 WHERE song = "Et sted i Scandinavia"
What was the total for radio luxembourg?
CREATE TABLE table_19439864_2 (total VARCHAR, song VARCHAR)
SELECT total FROM table_19439864_2 WHERE song = "Radio Luxembourg"
When oslo is 48, what is stavanger?
CREATE TABLE table_19439864_2 (stavanger INTEGER, oslo VARCHAR)
SELECT MIN(stavanger) FROM table_19439864_2 WHERE oslo = 48
What is the lowest total?
CREATE TABLE table_19439864_2 (total INTEGER)
SELECT MIN(total) FROM table_19439864_2
When the total score is 740, what is tromso?
CREATE TABLE table_19439864_2 (tromsø INTEGER, total VARCHAR)
SELECT MIN(tromsø) FROM table_19439864_2 WHERE total = 740
Who played in group 8 when Persinab Nabire played in Group 12?
CREATE TABLE table_19523142_5 (group_8 VARCHAR, group_12 VARCHAR)
SELECT group_8 FROM table_19523142_5 WHERE group_12 = "Persinab Nabire"
Who played in group 11 when Persipal Palu played in group 12?
CREATE TABLE table_19523142_5 (group_11 VARCHAR, group_12 VARCHAR)
SELECT group_11 FROM table_19523142_5 WHERE group_12 = "Persipal Palu"
Who played in group 12 when persikutim east kutai played in group 10?
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_10 VARCHAR)
SELECT group_12 FROM table_19523142_5 WHERE group_10 = "Persikutim East Kutai"
When persikos sorong city played in group 11, who played in group 7?
CREATE TABLE table_19523142_5 (group_7 VARCHAR, group_11 VARCHAR)
SELECT group_7 FROM table_19523142_5 WHERE group_11 = "Persikos Sorong City"
Nusa Ina only played once while group 7 played.
CREATE TABLE table_19523142_5 (group_7 VARCHAR, group_12 VARCHAR)
SELECT COUNT(group_7) FROM table_19523142_5 WHERE group_12 = "Nusa Ina"
Who played in group 12 when Group 9 played psid jombang?
CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR)
SELECT group_12 FROM table_19523142_5 WHERE group_9 = "PSID Jombang"
What is the longest number of weeks any 1 song was at number #1?
CREATE TABLE table_19542477_9 (whole_weeks INTEGER)
SELECT MAX(whole_weeks) FROM table_19542477_9
What is the title of every song, and how many weeks was each song at #1 for One Direction?
CREATE TABLE table_19542477_9 (song_s__—_weeks VARCHAR, artist_s_ VARCHAR)
SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ = "One Direction"
What is the title of every song, and how many weeks was each song at #1 for Rihanna in 2012?
CREATE TABLE table_19542477_9 (song_s__—_weeks VARCHAR, issue_years VARCHAR, artist_s_ VARCHAR)
SELECT song_s__—_weeks FROM table_19542477_9 WHERE issue_years = 2012 AND artist_s_ = "Rihanna"
What NHL team was the player from Calgary Centennials (WCHL) drafted for?
CREATE TABLE table_1965650_11 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT nhl_team FROM table_1965650_11 WHERE college_junior_club_team = "Calgary Centennials (WCHL)"
Who came from the University of Michigan (NCAA) team?
CREATE TABLE table_1965650_11 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT player FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"
How many players have the pick number 166?
CREATE TABLE table_1965650_11 (player VARCHAR, pick__number VARCHAR)
SELECT COUNT(player) FROM table_1965650_11 WHERE pick__number = 166
What is the nationality of the player from the University of Michigan (NCAA)?
CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"
What team did Russ Wiechnik, on the centre position, come from?
CREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1965650_11 WHERE position = "Centre" AND player = "Russ Wiechnik"
What place would you be in if your rank by average is less than 2.0?
CREATE TABLE table_19744915_14 (place VARCHAR, rank_by_average INTEGER)
SELECT place FROM table_19744915_14 WHERE rank_by_average < 2.0
What is the couples name where the average is 15.9?
CREATE TABLE table_19744915_14 (couple VARCHAR, average VARCHAR)
SELECT couple FROM table_19744915_14 WHERE average = "15.9"
If the total points is 50.5, what is the total number of dances?
CREATE TABLE table_19744915_14 (number_of_dances VARCHAR, total_points VARCHAR)
SELECT COUNT(number_of_dances) FROM table_19744915_14 WHERE total_points = "50.5"
If your rank by average is 9, what is the name of the couple?
CREATE TABLE table_19744915_14 (couple VARCHAR, rank_by_average VARCHAR)
SELECT couple FROM table_19744915_14 WHERE rank_by_average = 9
Name the number of party for richard l. hanna (r) 53.1% mike arcuri (d) 46.9%
CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_19753079_35 WHERE candidates = "Richard L. Hanna (R) 53.1% Mike Arcuri (D) 46.9%"
Name the party for new york 4
CREATE TABLE table_19753079_35 (party VARCHAR, district VARCHAR)
SELECT party FROM table_19753079_35 WHERE district = "New York 4"
Name the first elected for re-elected and brian higgins
CREATE TABLE table_19753079_35 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_19753079_35 WHERE result = "Re-elected" AND incumbent = "Brian Higgins"
Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%
CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR)
SELECT party FROM table_19753079_35 WHERE candidates = "Yvette Clarke (D) 90.6% Hugh Carr (R) 9.4%"
Name the result for new york 8
CREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR)
SELECT result FROM table_19753079_35 WHERE district = "New York 8"
Name the incumbent for lost renomination republican hold
CREATE TABLE table_19753079_4 (incumbent VARCHAR, result VARCHAR)
SELECT incumbent FROM table_19753079_4 WHERE result = "Lost renomination Republican hold"
Name the result for first elected being 1992
CREATE TABLE table_19753079_4 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_19753079_4 WHERE first_elected = 1992
Name the incumbent for alabama 6
CREATE TABLE table_19753079_4 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_19753079_4 WHERE district = "Alabama 6"
Name the number of song for julia bermejo
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Julia Bermejo"
Name the number of song for solydo
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo"
What tournament is in katowice?
CREATE TABLE table_19765685_2 (tournament VARCHAR, city VARCHAR)
SELECT tournament FROM table_19765685_2 WHERE city = "Katowice"
How many tournaments are also currently known as the hp open?
CREATE TABLE table_19765685_2 (country VARCHAR, also_currently_known_as VARCHAR)
SELECT COUNT(country) FROM table_19765685_2 WHERE also_currently_known_as = "HP Open"
How many defending champs from thailand?
CREATE TABLE table_19765685_2 (defending_champion VARCHAR, country VARCHAR)
SELECT COUNT(defending_champion) FROM table_19765685_2 WHERE country = "Thailand"
Name the opponent for june 12
CREATE TABLE table_19789597_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_19789597_5 WHERE date = "June 12"
Name the total number of date for l 63-77
CREATE TABLE table_19789597_5 (date VARCHAR, score VARCHAR)
SELECT COUNT(date) FROM table_19789597_5 WHERE score = "L 63-77"
Name the most number for viewers being 6.95
CREATE TABLE table_19834691_4 (_number INTEGER, viewers__millions_ VARCHAR)
SELECT MAX(_number) FROM table_19834691_4 WHERE viewers__millions_ = "6.95"
Name the total number of viewers for audience share in timeslot for 10.2%
CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = "10.2%"
Name the timeslot for 6.51 viewers
CREATE TABLE table_19834691_4 (timeslot VARCHAR, viewers__millions_ VARCHAR)
SELECT timeslot FROM table_19834691_4 WHERE viewers__millions_ = "6.51"
Name the uk air date for audience share in timeslot in 7.3%
CREATE TABLE table_19834691_4 (uk_air_date VARCHAR, audience_share_in_timeslot VARCHAR)
SELECT uk_air_date FROM table_19834691_4 WHERE audience_share_in_timeslot = "7.3%"