answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro"
|
CREATE TABLE table_name_20 (tournament VARCHAR, partnering VARCHAR)
|
Partnering of franco ferreiro had what tournament?
|
SELECT surface FROM table_name_51 WHERE date = "april 10, 2006"
|
CREATE TABLE table_name_51 (surface VARCHAR, date VARCHAR)
|
Date of april 10, 2006 had what surface?
|
SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva"
|
CREATE TABLE table_name_69 (score VARCHAR, surface VARCHAR, partnering VARCHAR)
|
Surface of clay, and a Partnering of júlio silva had what score?
|
SELECT score FROM table_name_15 WHERE date = "november 3, 2008"
|
CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR)
|
Date of november 3, 2008 had what score?
|
SELECT AVG(points) FROM table_name_69 WHERE name = "denis kornilov"
|
CREATE TABLE table_name_69 (points INTEGER, name VARCHAR)
|
Which Points have a Name of denis kornilov?
|
SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7
|
CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR)
|
Which Rank that a Name of thomas morgenstern, and Points larger than 288.7?
|
SELECT SUM(overall) FROM table_name_59 WHERE college = "louisiana tech" AND pick__number > 10
|
CREATE TABLE table_name_59 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
|
What is the overall number for Louisiana Tech college, and a pick more than 10?
|
SELECT AVG(pick__number) FROM table_name_66 WHERE name = "deji karim" AND round < 6
|
CREATE TABLE table_name_66 (pick__number INTEGER, name VARCHAR, round VARCHAR)
|
What was the pick number for Deji Karim, in a round lower than 6?
|
SELECT college FROM table_name_39 WHERE overall > 180
|
CREATE TABLE table_name_39 (college VARCHAR, overall INTEGER)
|
Which college had an overall number more than 180?
|
SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round > 3
|
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR, pick__number VARCHAR, college VARCHAR)
|
What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3?
|
SELECT AVG(pick) FROM table_name_22 WHERE school_club_team = "alabama" AND round < 9
|
CREATE TABLE table_name_22 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
|
What's the Pick average that has a School/Club Team of Alabama, with a Round that's smaller than 9?
|
SELECT COUNT(pick) FROM table_name_47 WHERE player = "robert ingalls"
|
CREATE TABLE table_name_47 (pick VARCHAR, player VARCHAR)
|
What's the sum of the Pick that has the Player of Robert Ingalls?
|
SELECT COUNT(pick) FROM table_name_69 WHERE position = "tackle" AND player = "woody adams" AND round > 22
|
CREATE TABLE table_name_69 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR)
|
What's the sum of the Pick that has the Position of Tackle, the Player Woody Adams, and a Round that's larger than 22?
|
SELECT position FROM table_name_86 WHERE round > 21
|
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
|
What Position has a Round that's larger than 21?
|
SELECT SUM(europe) FROM table_name_72 WHERE others = 0 AND league < 328 AND position = "mf"
|
CREATE TABLE table_name_72 (europe INTEGER, position VARCHAR, others VARCHAR, league VARCHAR)
|
What is the sum of the Europe totals for players with other appearances of 0, league appearances under 328, and a position of MF?
|
SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "6%"
|
CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR)
|
Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?
|
SELECT investment_income FROM table_name_30 WHERE region = "eastern england"
|
CREATE TABLE table_name_30 (investment_income VARCHAR, region VARCHAR)
|
Region of eastern england has what investment income?
|
SELECT investment_income FROM table_name_67 WHERE state_pensions = "7%" AND self_employed = "7%" AND other_income_sources = "2%"
|
CREATE TABLE table_name_67 (investment_income VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR, self_employed VARCHAR)
|
State pensions of 7%, and a Self employed of 7%, and a Other income sources of 2% has what investment income?
|
SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "66%"
|
CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR)
|
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?
|
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%"
|
CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)
|
Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?
|
SELECT working_tax_credit FROM table_name_20 WHERE employment___salaries_ & _wages_ = "64%" AND occupational_pensions = "6%"
|
CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)
|
Employment ( salaries & wages) of 64%, and a Occupational pensions of 6% has what working tax credit?
|
SELECT SUM(drawn) FROM table_name_61 WHERE games < 6
|
CREATE TABLE table_name_61 (drawn INTEGER, games INTEGER)
|
How many Drawn is which has a Games smaller than 6?
|
SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 1
|
CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR)
|
What is the Points that has 61 - 15 Point difference and a Drawn larger than 1?
|
SELECT SUM(drawn) FROM table_name_32 WHERE games > 6
|
CREATE TABLE table_name_32 (drawn INTEGER, games INTEGER)
|
How many Drawn has a Games larger than 6?
|
SELECT MIN(electorate) FROM table_name_45 WHERE quota = "78,076" AND candidates < 13
|
CREATE TABLE table_name_45 (electorate INTEGER, quota VARCHAR, candidates VARCHAR)
|
What is the smallest electorate with 78,076 quota and less than 13 candidates?
|
SELECT turnout FROM table_name_81 WHERE candidates = 15 AND valid_poll > 377 OFFSET 591
|
CREATE TABLE table_name_81 (turnout VARCHAR, candidates VARCHAR, valid_poll VARCHAR)
|
What is the turnout with 15 candidates and more than 377,591 valid poll?
|
SELECT country FROM table_name_19 WHERE rank = 79
|
CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR)
|
What country is ranked 79?
|
SELECT MIN(rank) FROM table_name_67 WHERE year > 1999 AND accolade = "the 100 greatest indie rock albums of all time"
|
CREATE TABLE table_name_67 (rank INTEGER, year VARCHAR, accolade VARCHAR)
|
What is the lowest rank for an album after 1999 and an Accolade of the 100 greatest indie rock albums of all time?
|
SELECT MIN(week) FROM table_name_32 WHERE date = "sunday november 28"
|
CREATE TABLE table_name_32 (week INTEGER, date VARCHAR)
|
Which Week is on sunday november 28?
|
SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants"
|
CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR)
|
How many weeks have an Opponent of at new york giants?
|
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"
|
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)
|
When is the Opponent of new england patriots?
|
SELECT week FROM table_name_79 WHERE result = "w 23–6"
|
CREATE TABLE table_name_79 (week VARCHAR, result VARCHAR)
|
Which week has a Result of w 23–6?
|
SELECT AVG(innhabitants) FROM table_name_87 WHERE mayor = "olav martin vik"
|
CREATE TABLE table_name_87 (innhabitants INTEGER, mayor VARCHAR)
|
How many people did Mayor Olav Martin Vik preside over?
|
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247
|
CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR)
|
What's the area of askøy, with a Municipal code less than 1247?
|
SELECT mayor FROM table_name_97 WHERE party = "krf"
|
CREATE TABLE table_name_97 (mayor VARCHAR, party VARCHAR)
|
What Mayor is from the KRF Party?
|
SELECT SUM(municipal_code) FROM table_name_35 WHERE party = "frp" AND area = 100
|
CREATE TABLE table_name_35 (municipal_code INTEGER, party VARCHAR, area VARCHAR)
|
What's the Municipal code of the FRP Party with an area of 100?
|
SELECT AVG(innhabitants) FROM table_name_51 WHERE party = "krf"
|
CREATE TABLE table_name_51 (innhabitants INTEGER, party VARCHAR)
|
How many people does the KRF Party preside over?
|
SELECT COUNT(overall) FROM table_name_63 WHERE position = "c" AND round > 9
|
CREATE TABLE table_name_63 (overall VARCHAR, position VARCHAR, round VARCHAR)
|
What is the total number of overall draft picks for player whose position is C and was picked after round 9?
|
SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white"
|
CREATE TABLE table_name_87 (position VARCHAR, round VARCHAR, player VARCHAR)
|
What position was Jafus White who was picked after round 1?
|
SELECT COUNT(overall) FROM table_name_37 WHERE player = "fred nixon"
|
CREATE TABLE table_name_37 (overall VARCHAR, player VARCHAR)
|
What is the total number of overall draft picks for Fred Nixon?
|
SELECT player FROM table_name_23 WHERE round < 9 AND overall > 143 AND position = "db"
|
CREATE TABLE table_name_23 (player VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR)
|
Who is the athlete who was picked before round 9, had an overall draft pick after number 143 and plays the position of db?
|
SELECT MAX(round) FROM table_name_38 WHERE overall = 152
|
CREATE TABLE table_name_38 (round INTEGER, overall VARCHAR)
|
What is the highest round of the player with an overall of 152?
|
SELECT AVG(round) FROM table_name_87 WHERE pick__number > 5 AND position = "defensive back" AND overall < 152
|
CREATE TABLE table_name_87 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)
|
What is the average round of the defensive back player with a pick # greater than 5 and an overall less than 152?
|
SELECT AVG(overall) FROM table_name_38 WHERE name = "john ayres" AND pick__number > 4
|
CREATE TABLE table_name_38 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
|
What is the average overall of John Ayres, who had a pick # greater than 4?
|
SELECT name FROM table_name_17 WHERE pick__number < 5 AND overall = 284
|
CREATE TABLE table_name_17 (name VARCHAR, pick__number VARCHAR, overall VARCHAR)
|
What is the name of the player with a pick # less than 5 and an overall of 284?
|
SELECT AVG(overall) FROM table_name_77 WHERE pick__number = 5 AND name = "ken whisenhunt"
|
CREATE TABLE table_name_77 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
|
What is the average overall of Ken Whisenhunt, who has a pick # of 5?
|
SELECT MIN(pick__number) FROM table_name_15 WHERE name = "john ayres"
|
CREATE TABLE table_name_15 (pick__number INTEGER, name VARCHAR)
|
What is the lowest pick # of John Ayres?
|
SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa"
|
CREATE TABLE table_name_47 (team VARCHAR, last_match VARCHAR)
|
What is the name of team with Palmeiras 4-2 portuguesa as the last match?
|
SELECT manner_of_departure FROM table_name_34 WHERE replaced_by = "tita"
|
CREATE TABLE table_name_34 (manner_of_departure VARCHAR, replaced_by VARCHAR)
|
What was the manner of departure replaced by tita?
|
SELECT last_match FROM table_name_8 WHERE manner_of_departure = "sacked" AND outgoing_manager = "geninho"
|
CREATE TABLE table_name_8 (last_match VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)
|
What is the name of the last match that had a sacked manner of departure and a geninho outgoing manner?
|
SELECT last_match FROM table_name_26 WHERE date_of_vacancy = "round 2" AND outgoing_manager = "ney franco"
|
CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
|
What is the last match with a vacancy date of round 2 and Ney Franco as outgoing manager?
|
SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1"
|
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
|
What is the last match with a resigned manner of departure and a round 1 date of vacancy?
|
SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9
|
CREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR)
|
What is the highest effic with an avg/g of 91.9?
|
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-0"
|
CREATE TABLE table_name_73 (att_cmp_int VARCHAR, effic VARCHAR, gp_gs VARCHAR)
|
What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0?
|
SELECT SUM(avg_g) FROM table_name_61 WHERE effic = 858.4
|
CREATE TABLE table_name_61 (avg_g INTEGER, effic VARCHAR)
|
What is the sum avg/g with an effic of 858.4?
|
SELECT mascot FROM table_name_11 WHERE county = "32 hendricks"
|
CREATE TABLE table_name_11 (mascot VARCHAR, county VARCHAR)
|
What is the mascot for the school in 32 Hendricks County?
|
SELECT location FROM table_name_26 WHERE county = "79 tippecanoe" AND school = "lafayette t. jefferson"
|
CREATE TABLE table_name_26 (location VARCHAR, county VARCHAR, school VARCHAR)
|
Where is Lafayette T. Jefferson School in 79 Tippecanoe county?
|
SELECT location FROM table_name_15 WHERE mascot = "royals"
|
CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR)
|
Where is the school with Royals as their mascot?
|
SELECT score FROM table_name_79 WHERE date = "february 12"
|
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
|
What was the score for the game on February 12?
|
SELECT score FROM table_name_10 WHERE date = "february 29"
|
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
|
What was the score for the game on February 29?
|
SELECT home FROM table_name_64 WHERE visitor = "chicago"
|
CREATE TABLE table_name_64 (home VARCHAR, visitor VARCHAR)
|
Where was the home team in the game played against Chicago?
|
SELECT MAX(season) FROM table_name_29 WHERE game = "fcs midwest region" AND score = "40-33"
|
CREATE TABLE table_name_29 (season INTEGER, game VARCHAR, score VARCHAR)
|
Which Season has a Game of fcs midwest region, and a Score of 40-33?
|
SELECT game FROM table_name_37 WHERE result = "win" AND opponent = "new hampshire" AND season < 2008
|
CREATE TABLE table_name_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR)
|
Which Game has a Result of win, and an Opponent of new hampshire, and a Season smaller than 2008?
|
SELECT MAX(season) FROM table_name_26 WHERE score = "39-27"
|
CREATE TABLE table_name_26 (season INTEGER, score VARCHAR)
|
Which Season has a Score of 39-27?
|
SELECT result FROM table_name_80 WHERE goal = 5
|
CREATE TABLE table_name_80 (result VARCHAR, goal VARCHAR)
|
What result has a goal of 5?
|
SELECT record FROM table_name_42 WHERE date = "may 25"
|
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)
|
What's the record on May 25?
|
SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7"
|
CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)
|
What's greatest attendance on May 7?
|
SELECT january FROM table_name_17 WHERE record = "28–14–8"
|
CREATE TABLE table_name_17 (january VARCHAR, record VARCHAR)
|
Which January has a Record of 28–14–8?
|
SELECT MAX(points) FROM table_name_64 WHERE game < 43 AND january > 8
|
CREATE TABLE table_name_64 (points INTEGER, game VARCHAR, january VARCHAR)
|
Which Points is the highest one that has a Game smaller than 43, and a January larger than 8?
|
SELECT AVG(wins) FROM table_name_8 WHERE team = "norton" AND year = 1966 AND points = 8
|
CREATE TABLE table_name_8 (wins INTEGER, points VARCHAR, team VARCHAR, year VARCHAR)
|
What is the mean number of wins for the norton team in 1966, when there are 8 points?
|
SELECT MAX(year) FROM table_name_57 WHERE team = "ajs" AND wins < 0
|
CREATE TABLE table_name_57 (year INTEGER, team VARCHAR, wins VARCHAR)
|
What is the most recent year for the ajs team when there are fewer than 0 wins?
|
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc"
|
CREATE TABLE table_name_91 (points INTEGER, year VARCHAR, class VARCHAR)
|
What is the smallest point amount for years prior to 1958 when the class is 350cc?
|
SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955
|
CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
|
What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?
|
SELECT date FROM table_name_64 WHERE first_prize = "$161,480"
|
CREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR)
|
When was the game that had a first prize of $161,480?
|
SELECT winner FROM table_name_76 WHERE date = "may 2011"
|
CREATE TABLE table_name_76 (winner VARCHAR, date VARCHAR)
|
Who won on May 2011?
|
SELECT general_classification FROM table_name_63 WHERE stage = "13"
|
CREATE TABLE table_name_63 (general_classification VARCHAR, stage VARCHAR)
|
What is the general classification with a 13 stage?
|
SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"
|
CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
|
What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?
|
SELECT general_classification FROM table_name_21 WHERE points_classification = "daniele bennati" AND young_rider_classification = "morris possoni" AND stage = "3"
|
CREATE TABLE table_name_21 (general_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
|
What is the general classification of the stage 3 with Daniele Bennati as the points classification and Morris Possoni as the young rider classification.
|
SELECT general_classification FROM table_name_37 WHERE young_rider_classification = "riccardo riccò"
|
CREATE TABLE table_name_37 (general_classification VARCHAR, young_rider_classification VARCHAR)
|
What is the general classification with riccardo riccò as the young rider classification?
|
SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde"
|
CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)
|
What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?
|
SELECT points_classification FROM table_name_92 WHERE stage = "15"
|
CREATE TABLE table_name_92 (points_classification VARCHAR, stage VARCHAR)
|
What is the point classification of stage 15?
|
SELECT AVG(week) FROM table_name_53 WHERE game_site = "memorial stadium"
|
CREATE TABLE table_name_53 (week INTEGER, game_site VARCHAR)
|
what week number was at memorial stadium?
|
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12
|
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
|
before week 12 what was the attendance on 1983-11-21?
|
SELECT MIN(attendance) FROM table_name_34 WHERE week = 16
|
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR)
|
on week 16, what was the lowest attendance?
|
SELECT venue FROM table_name_82 WHERE margin_of_victory = "7 strokes"
|
CREATE TABLE table_name_82 (venue VARCHAR, margin_of_victory VARCHAR)
|
At what venue is the margin of victory 7 strokes?
|
SELECT COUNT(purse___) AS $__ FROM table_name_41 WHERE champion = "sherri steinhauer" AND venue = "woburn golf and country club"
|
CREATE TABLE table_name_41 (purse___ VARCHAR, champion VARCHAR, venue VARCHAR)
|
What was the purse when Sherri Steinhauer was champion at Woburn Golf and Country Club?
|
SELECT exit_date FROM table_name_9 WHERE to_club = "cardiff city"
|
CREATE TABLE table_name_9 (exit_date VARCHAR, to_club VARCHAR)
|
What is the exit date of the player who transferred to Cardiff City?
|
SELECT exit_date FROM table_name_58 WHERE to_club = "portsmouth"
|
CREATE TABLE table_name_58 (exit_date VARCHAR, to_club VARCHAR)
|
What is the exit date of the player who transferred to Portsmouth?
|
SELECT player FROM table_name_25 WHERE pos = "fw"
|
CREATE TABLE table_name_25 (player VARCHAR, pos VARCHAR)
|
Which player has a position of FW?
|
SELECT frequency_mhz FROM table_name_92 WHERE erp_w > 4 AND call_sign = "w218ap"
|
CREATE TABLE table_name_92 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
|
Which Frequency MHz has an ERP W larger than 4, and a Call sign of w218ap?
|
SELECT city_of_license FROM table_name_42 WHERE frequency_mhz = "91.5 fm"
|
CREATE TABLE table_name_42 (city_of_license VARCHAR, frequency_mhz VARCHAR)
|
Which City of license has a Frequency MHz of 91.5 fm?
|
SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba"
|
CREATE TABLE table_name_64 (city_of_license VARCHAR, call_sign VARCHAR)
|
Which City of license has a Call sign of w220ba?
|
SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = "89.3 fm"
|
CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR)
|
Which ERP W has a Frequency MHz of 89.3 fm?
|
SELECT SUM(wins) FROM table_name_15 WHERE player = "greg norman"
|
CREATE TABLE table_name_15 (wins INTEGER, player VARCHAR)
|
How many wins does Greg Norman have?
|
SELECT MIN(played) FROM table_name_89 WHERE position = 6 AND drawn < 1
|
CREATE TABLE table_name_89 (played INTEGER, position VARCHAR, drawn VARCHAR)
|
What is the lowest number played with a position of 6 and less than 1 draw?
|
SELECT MAX(against) FROM table_name_86 WHERE team = "palmeiras" AND position < 4
|
CREATE TABLE table_name_86 (against INTEGER, team VARCHAR, position VARCHAR)
|
What is the highest against value for Palmeiras and position less than 4?
|
SELECT MAX(played) FROM table_name_69 WHERE lost > 2 AND team = "palmeiras" AND drawn < 1
|
CREATE TABLE table_name_69 (played INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)
|
What is the highest number played with more than 2 lost for Palmeiras and less than 1 draw?
|
SELECT AVG(lost) FROM table_name_86 WHERE against < 5
|
CREATE TABLE table_name_86 (lost INTEGER, against INTEGER)
|
What is the average number lost when the against value is less than 5?
|
SELECT COUNT(won_by_2_or_more_goals_difference) FROM table_name_3 WHERE difference = "2" AND points > 9 AND team = "america-rj" AND played > 7
|
CREATE TABLE table_name_3 (won_by_2_or_more_goals_difference VARCHAR, played VARCHAR, team VARCHAR, difference VARCHAR, points VARCHAR)
|
How many values for a win by 2 or more goals correspond to a difference of 2, more than 9 points, and the America-RJ team when more than 7 are played?
|
SELECT AVG(total) FROM table_name_90 WHERE year_of_census > 1971 AND serbs = "10,412 (32.88%)"
|
CREATE TABLE table_name_90 (total INTEGER, year_of_census VARCHAR, serbs VARCHAR)
|
What is the average total of the census after 1971 with 10,412 (32.88%) Serbs?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.