answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(gold) FROM table_name_64 WHERE silver < 0
CREATE TABLE table_name_64 (gold INTEGER, silver INTEGER)
What is the gold medal count that has a silver medal count less than 0?
SELECT AVG(students) FROM table_name_25 WHERE pupil_teacher_ratio = 25.1
CREATE TABLE table_name_25 (students INTEGER, pupil_teacher_ratio VARCHAR)
What is the average number of students for schools with a pupil to teacher ratio of 25.1?
SELECT MIN(pupil_teacher_ratio) FROM table_name_13 WHERE city = "saratoga" AND students < 1213
CREATE TABLE table_name_13 (pupil_teacher_ratio INTEGER, city VARCHAR, students VARCHAR)
What is the lowest pupil to teacher ratio for Saratoga schools with smaller than 1213 students?
SELECT MAX(students) FROM table_name_13 WHERE city = "campbell" AND pupil_teacher_ratio > 25
CREATE TABLE table_name_13 (students INTEGER, city VARCHAR, pupil_teacher_ratio VARCHAR)
What is the highest number of students for schools in Campbell with pupil to teacher ratios over 25?
SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0
CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
Name the most rank for wins outdoor larger than 1 and wins indoor less than 0
SELECT MAX(rank) FROM table_name_1 WHERE country = "uk" AND wins__indoor_ > 5
CREATE TABLE table_name_1 (rank INTEGER, country VARCHAR, wins__indoor_ VARCHAR)
Name the most rank for uk and wins more than 5
SELECT AVG(wins__outdoor_) FROM table_name_61 WHERE rank > 4 AND wins__total_ < 3 AND wins__indoor_ > 0
CREATE TABLE table_name_61 (wins__outdoor_ INTEGER, wins__indoor_ VARCHAR, rank VARCHAR, wins__total_ VARCHAR)
Name the average wins outdoor with rank more than 4 and wins less than 3 with outdoor wins more than 0
SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7
CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR)
Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7
SELECT framed_size FROM table_name_22 WHERE date_completed = "08/87"
CREATE TABLE table_name_22 (framed_size VARCHAR, date_completed VARCHAR)
What was the frame size in 08/87?
SELECT print_name FROM table_name_39 WHERE date_completed = "07/87"
CREATE TABLE table_name_39 (print_name VARCHAR, date_completed VARCHAR)
What was the print name in 07/87?
SELECT framed_size FROM table_name_10 WHERE nickname = "grand central"
CREATE TABLE table_name_10 (framed_size VARCHAR, nickname VARCHAR)
What is the frame size that was nicknamed Grand Central?
SELECT date_completed FROM table_name_55 WHERE nickname = "little tavern"
CREATE TABLE table_name_55 (date_completed VARCHAR, nickname VARCHAR)
When was the Little Tavern completed?
SELECT AVG(1990 AS _1991) FROM table_name_26 WHERE played = 38 AND points = 40
CREATE TABLE table_name_26 (played VARCHAR, points VARCHAR)
Which 1990-1991 is the average one that has Played of 38, and Points of 40?
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE nationality = "canada" AND player = "jeff brown"
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, player VARCHAR)
Which College/Junior/Club Team has a Nationality of Canada and Jeff brown?
SELECT player FROM table_name_81 WHERE college_junior_club_team__league_ = "hc cska moscow (russia)"
CREATE TABLE table_name_81 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
Which Player has a Hc Cska Moscow (Russia)?
SELECT nationality FROM table_name_11 WHERE player = "daniel goneau"
CREATE TABLE table_name_11 (nationality VARCHAR, player VARCHAR)
What is Nationality of daniel goneau?
SELECT points FROM table_name_12 WHERE class = "500cc" AND machine = "nsr500"
CREATE TABLE table_name_12 (points VARCHAR, class VARCHAR, machine VARCHAR)
What points have 500cc as a class, and nsr500 as a machine?
SELECT COUNT(year) FROM table_name_24 WHERE points = 78
CREATE TABLE table_name_24 (year VARCHAR, points VARCHAR)
How many years have 78 for points?
SELECT class FROM table_name_45 WHERE machine = "nsr250" AND points > 97
CREATE TABLE table_name_45 (class VARCHAR, machine VARCHAR, points VARCHAR)
What class has nsr250 as the machine, with points greater than 97?
SELECT MIN(year) FROM table_name_24 WHERE wins > 0
CREATE TABLE table_name_24 (year INTEGER, wins INTEGER)
What is the lowest year that have wins greater than 0?
SELECT MAX(points) FROM table_name_49 WHERE year < 1992 AND wins < 0
CREATE TABLE table_name_49 (points INTEGER, year VARCHAR, wins VARCHAR)
What are the highest points that have a year less than 1992, with wins less than 0?
SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "st. louis cardinals"
CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR)
What was the lowest attendance at a game against the St. Louis Cardinals?
SELECT district FROM table_name_85 WHERE name = "milburn"
CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR)
What district is the parish Milburn in?
SELECT COUNT(population) FROM table_name_5 WHERE former_local_authority = "cockermouth rural district" AND name = "plumbland"
CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR)
What is the population of the Parish, Plumbland, that had a former local authority of Cockermouth Rural District?
SELECT district FROM table_name_58 WHERE name = "brough"
CREATE TABLE table_name_58 (district VARCHAR, name VARCHAR)
What is the district for the parish, Brough?
SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0
CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR)
What year featured lola motorsport as an entrant with over 0 points?
SELECT MIN(year) FROM table_name_40 WHERE engine = "judd"
CREATE TABLE table_name_40 (year INTEGER, engine VARCHAR)
When is the earliest year that there's a judd engine?
SELECT chassis FROM table_name_2 WHERE year = 1989 AND engine = "cosworth"
CREATE TABLE table_name_2 (chassis VARCHAR, year VARCHAR, engine VARCHAR)
What chassis is used in 1989 with a cosworth engine?
SELECT where_built FROM table_name_79 WHERE year_built < 1858
CREATE TABLE table_name_79 (where_built VARCHAR, year_built INTEGER)
Where was something built earlier than 1858?
SELECT name FROM table_name_89 WHERE year_built = 1857
CREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR)
What was built in 1857?
SELECT initial_owners FROM table_name_57 WHERE year_built = 1858 AND name = "wasco"
CREATE TABLE table_name_57 (initial_owners VARCHAR, year_built VARCHAR, name VARCHAR)
Who were the initial owners of Wasco in 1858?
SELECT type FROM table_name_31 WHERE where_built = "port blakeley"
CREATE TABLE table_name_31 (type VARCHAR, where_built VARCHAR)
What was the type of boat built in Port Blakeley
SELECT date FROM table_name_33 WHERE location = "arrowhead stadium"
CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)
What is the date of the game at Arrowhead Stadium?
SELECT opponent FROM table_name_70 WHERE week > 4 AND date = "sun. nov. 17"
CREATE TABLE table_name_70 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Who is the opponent of the game after week 4 on Sun. Nov. 17?
SELECT median_family_income FROM table_name_72 WHERE median_household_income = "$25,583"
CREATE TABLE table_name_72 (median_family_income VARCHAR, median_household_income VARCHAR)
What's the median family income with a household income of $25,583?
SELECT per_capita_income FROM table_name_34 WHERE median_household_income = "$51,914"
CREATE TABLE table_name_34 (per_capita_income VARCHAR, median_household_income VARCHAR)
What's the $51,914 median household income per capita?
SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker"
CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)
What was the winning score when Steve Stricker was runner-up?
SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270)
CREATE TABLE table_name_2 (margin_of_victory VARCHAR, winning_score VARCHAR)
What was the margin of victory when the winning score was −14 (63-67-73-67=270)?
SELECT runner_s__up FROM table_name_64 WHERE margin_of_victory = "1 stroke" AND date = "jan 30, 2000"
CREATE TABLE table_name_64 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
Who was the runnerup when the margin of victory was 1 stroke on jan 30, 2000?
SELECT margin_of_victory FROM table_name_67 WHERE winning_score = −12(66 - 67 - 64 - 71 = 268)
CREATE TABLE table_name_67 (margin_of_victory VARCHAR, winning_score VARCHAR)
What was the margin of victory when the winning score was −12 (66-67-64-71=268)?
SELECT date FROM table_name_5 WHERE margin_of_victory = "1 stroke" AND tournament = "colonial national invitation"
CREATE TABLE table_name_5 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
What day was the margin of victory 1 stroke when the tournament was colonial national invitation?
SELECT winning_score FROM table_name_5 WHERE runner_s__up = "greg norman"
CREATE TABLE table_name_5 (winning_score VARCHAR, runner_s__up VARCHAR)
What was the winning score for runnerup Greg Norman
SELECT builder FROM table_name_63 WHERE pennant_number = "q149"
CREATE TABLE table_name_63 (builder VARCHAR, pennant_number VARCHAR)
Which Builder has a Pennant number of Q149?
SELECT commissioned FROM table_name_8 WHERE pennant_number = "q144"
CREATE TABLE table_name_8 (commissioned VARCHAR, pennant_number VARCHAR)
On what date was the ship with a Pennant number of Q144 commissioned?
SELECT COUNT(ordered) FROM table_name_10 WHERE name = "monge"
CREATE TABLE table_name_10 (ordered VARCHAR, name VARCHAR)
How many ships are named Monge?
SELECT launched FROM table_name_17 WHERE spacecraft = "mariner 4"
CREATE TABLE table_name_17 (launched VARCHAR, spacecraft VARCHAR)
What launched has mariner 4 as the spacecraft?
SELECT launched FROM table_name_91 WHERE time_elapsed = "158 days (5 months, 8 days)"
CREATE TABLE table_name_91 (launched VARCHAR, time_elapsed VARCHAR)
What launched has 158 days (5 months, 8 days) as the time elapsed?
SELECT issue_date_s_ FROM table_name_44 WHERE artist = "andy gibb"
CREATE TABLE table_name_44 (issue_date_s_ VARCHAR, artist VARCHAR)
When was the song by Andy Gibb issued?
SELECT AVG(round) FROM table_name_57 WHERE college = "stanford" AND overall < 8
CREATE TABLE table_name_57 (round INTEGER, college VARCHAR, overall VARCHAR)
Which Round has a College of stanford, and an Overall smaller than 8?
SELECT SUM(pick__number) FROM table_name_59 WHERE college = "tennessee" AND overall < 270
CREATE TABLE table_name_59 (pick__number INTEGER, college VARCHAR, overall VARCHAR)
How many Picks have a College of tennessee, and an Overall smaller than 270?
SELECT MIN(pick__number) FROM table_name_92 WHERE college = "troy state" AND name = "reggie dwight" AND overall < 217
CREATE TABLE table_name_92 (pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR)
Which Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217?
SELECT MIN(earnings___) AS $__ FROM table_name_87 WHERE wins < 72 AND rank > 3
CREATE TABLE table_name_87 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3?
SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 2
CREATE TABLE table_name_86 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
SELECT MIN(losses) FROM table_name_53 WHERE wins > 0
CREATE TABLE table_name_53 (losses INTEGER, wins INTEGER)
What is the lowest number of losses for a team with more than 0 wins?
SELECT AVG(losses) FROM table_name_23 WHERE wins < 0
CREATE TABLE table_name_23 (losses INTEGER, wins INTEGER)
What is the average number of losses for teams with fewer than 0 wins?
SELECT AVG(wins) FROM table_name_55 WHERE team = "runcorn highfield" AND draws > 0
CREATE TABLE table_name_55 (wins INTEGER, team VARCHAR, draws VARCHAR)
What is the average number of wins for Runcorn Highfield with more than 0 draws?
SELECT MIN(losses) FROM table_name_28 WHERE team = "nottingham city" AND wins < 0
CREATE TABLE table_name_28 (losses INTEGER, team VARCHAR, wins VARCHAR)
What is the lowest number of losses for Nottingham City with fewer than 0 wins?
SELECT COUNT(weight) FROM table_name_53 WHERE team = "philadelphia 76ers"
CREATE TABLE table_name_53 (weight VARCHAR, team VARCHAR)
What is the weight of the player from the Philadelphia 76ers?
SELECT height FROM table_name_71 WHERE player = "larry hughes"
CREATE TABLE table_name_71 (height VARCHAR, player VARCHAR)
What is the height of the player, Larry Hughes?
SELECT player FROM table_name_41 WHERE to_club = "blackpool"
CREATE TABLE table_name_41 (player VARCHAR, to_club VARCHAR)
What player was moved to Blackpool?
SELECT end_date FROM table_name_99 WHERE to_club = "celtic"
CREATE TABLE table_name_99 (end_date VARCHAR, to_club VARCHAR)
A player was moved to celtic had an end of what date?
SELECT AVG(game) FROM table_name_23 WHERE february > 20 AND record = "41–17–4" AND points < 86
CREATE TABLE table_name_23 (game INTEGER, points VARCHAR, february VARCHAR, record VARCHAR)
Which Game is the average one that has a February larger than 20, and a Record of 41–17–4, and Points smaller than 86?
SELECT country FROM table_name_94 WHERE player = "david toms"
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
what country hosted david toms
SELECT score FROM table_name_87 WHERE game = 18
CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR)
What was the score for game 18?
SELECT kickoff___et__ FROM table_name_92 WHERE game_site = "ralph wilson stadium"
CREATE TABLE table_name_92 (kickoff___et__ VARCHAR, game_site VARCHAR)
What is the kickoff time for the game that was at Ralph Wilson Stadium?
SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots"
CREATE TABLE table_name_90 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)
What is the record for the game against the New England Patriots with a recap?
SELECT result FROM table_name_52 WHERE week = 11
CREATE TABLE table_name_52 (result VARCHAR, week VARCHAR)
What is the result of the game on week 11?
SELECT visitor FROM table_name_15 WHERE record = "3-0-2"
CREATE TABLE table_name_15 (visitor VARCHAR, record VARCHAR)
Who was the visitor that led to a 3-0-2 record?
SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"
CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
What is the original title of the Gypsy Magic film title used in nomination?
SELECT builder FROM table_name_64 WHERE number = 3
CREATE TABLE table_name_64 (builder VARCHAR, number VARCHAR)
Name the builder for number 3
SELECT date FROM table_name_42 WHERE works_number < 1673 AND number < 3
CREATE TABLE table_name_42 (date VARCHAR, works_number VARCHAR, number VARCHAR)
Name the date with works number less than 1673 and number less than 3
SELECT builder FROM table_name_90 WHERE works_number > 199 AND date = "4/1906"
CREATE TABLE table_name_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)
Name the builder for 4/1906 and works number more than 199
SELECT MAX(attendance) FROM table_name_10 WHERE result = "w 14-3" AND week > 10
CREATE TABLE table_name_10 (attendance INTEGER, result VARCHAR, week VARCHAR)
What was the largest number of people in attendance of the game with a W 14-3 result after week 10?
SELECT zares FROM table_name_87 WHERE date = "may 21–22"
CREATE TABLE table_name_87 (zares VARCHAR, date VARCHAR)
What is the percentage for Zares on May 21–22?
SELECT source FROM table_name_37 WHERE desus = "7%"
CREATE TABLE table_name_37 (source VARCHAR, desus VARCHAR)
What is the source for 7% DeSUS?
SELECT source FROM table_name_12 WHERE zares = "8.6%"
CREATE TABLE table_name_12 (source VARCHAR, zares VARCHAR)
What is the source for Zares at 8.6%?
SELECT source FROM table_name_7 WHERE date = "may 25–27"
CREATE TABLE table_name_7 (source VARCHAR, date VARCHAR)
What is the source corresponding to a date of May 25–27?
SELECT song FROM table_name_24 WHERE artist = "terence trent d'arby"
CREATE TABLE table_name_24 (song VARCHAR, artist VARCHAR)
What song is done by Terence Trent D'Arby?
SELECT result FROM table_name_66 WHERE date = "october 27, 2002"
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
What was the Result on October 27, 2002?
SELECT score FROM table_name_12 WHERE venue = "riyadh, saudi arabia"
CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR)
in riyadh, saudi arabia, what is the score?
SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9
CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR)
Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9?
SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4
CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR)
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4?
SELECT SUM(pocona_municipality___percentage_) FROM table_name_6 WHERE puerto_villarroel_municipality___percentage_ > 14.6 AND pojo_municipality___percentage_ < 88.5
CREATE TABLE table_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR)
Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5?
SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR)
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?
SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner"
CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR)
Which Pos has a Car # smaller than 18, and a Driver of mike skinner?
SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner"
CREATE TABLE table_name_75 (team VARCHAR, driver VARCHAR, car__number VARCHAR, pos VARCHAR, make VARCHAR)
Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner?
SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99
CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR)
Which Pos has a Team of roush fenway racing, and a Car # of 99?
SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7
CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR)
Which Car # has a Make of toyota, and a Pos of 7?
SELECT pos FROM table_name_68 WHERE team = "germian racing"
CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR)
Which Pos has a Team of germian racing?
SELECT opponent FROM table_name_64 WHERE score = "2–6"
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
Which Opponent has a Score of 2–6?
SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0"
CREATE TABLE table_name_8 (game INTEGER, series VARCHAR)
Which Game has a Series of flyers win 3–0? Question 3
SELECT series FROM table_name_84 WHERE date = "april 18"
CREATE TABLE table_name_84 (series VARCHAR, date VARCHAR)
Which Series is on april 18?
SELECT date FROM table_name_49 WHERE score = "9-2"
CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR)
Name the date with score of 9-2
SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern"
CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR)
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?
SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 3
CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR)
What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines?
SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford"
CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR)
What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon?
SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen"
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
SELECT SUM(population) FROM table_name_50 WHERE rank > 51 AND median_house__hold_income = "$25,250"
CREATE TABLE table_name_50 (population INTEGER, rank VARCHAR, median_house__hold_income VARCHAR)
What is the population where the rank is higher than 51 and the Median House-hold income is $25,250?
SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016"
CREATE TABLE table_name_59 (population INTEGER, median_house__hold_income VARCHAR)
What is the Population where the Median House-hold Income is $25,016?
SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345"
CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR)
What is the Number of Households that have a Per Capita Income of $21,345?