text
stringlengths
114
1.06k
### question: What is the barony for the Ballintaggart townland? ### answer: SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" ### context: CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR)
### question: What is the poor law union for the Barnahely towland? ### answer: SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" ### context: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR)
### question: What is the barony of the townland whose area is 150 acres? ### answer: SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150 ### context: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR)
### question: In which townlands is the civil parish Monkstown? ### answer: SELECT townland FROM table_30120619_1 WHERE civil_parish = "Monkstown" ### context: CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR)
### question: Which townland has an area of 165 acres? ### answer: SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165 ### context: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR)
### question: Name the total number of barony for kilmore ### answer: SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore" ### context: CREATE TABLE table_30120559_1 (barony VARCHAR, townland VARCHAR)
### question: Name the poor law union for area being 332 ### answer: SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332 ### context: CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)
### question: How many townlands are there for caheragh and is larger than 270 acres? ### answer: SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270 ### context: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR)
### question: Which civil parish is for the townland clooncugger? ### answer: SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger" ### context: CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR)
### question: How many poor law unions have an area of 262 acres and is in drinagh civil parish? ### answer: SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh" ### context: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR)
### question: How many current account balances are associated with GDP at constant prices growth rates of 4.6? ### answer: SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6" ### context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR)
### question: How many export volume of goods/services values are associated with GDP at constant prices values of 3.072? ### answer: SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = "3.072" ### context: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR)
### question: How many export volume of goods and services values are associated with GDP at current prices of 161.340? ### answer: SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340" ### context: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
### question: What is the current account balance for an export volume of goods and service value of -4.2? ### answer: SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = "-4.2" ### context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR)
### question: What is the current account balance for a GDP at current prices of 142.640? ### answer: SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640" ### context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
### question: What is the GDP at constant prices for a current account balance of 12.8? ### answer: SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8" ### context: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR)
### question: Tell me the games for total less than 4 for swimming 1968 ### answer: SELECT games FROM table_name_87 WHERE total < 4 AND sport = "swimming" AND years = "1968" ### context: CREATE TABLE table_name_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR)
### question: Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3 ### answer: SELECT COUNT(bronze) FROM table_name_16 WHERE silver = 0 AND sport = "wrestling" AND total > 3 ### context: CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR)
### question: Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 ### answer: SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0 ### context: CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR)
### question: What is the lowest round for an offensive guard when the overall is smaller than 150? ### answer: SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard" ### context: CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR)
### question: Which college was the player selected from in round 1? ### answer: SELECT college FROM table_name_43 WHERE round = 1 ### context: CREATE TABLE table_name_43 (college VARCHAR, round VARCHAR)
### question: Tell me the DA for bureau chief ada ### answer: SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" ### context: CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR)
### question: Tell me the left office for enrico la loggia ### answer: SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" ### context: CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR)
### question: Tell me the portfolio of minister of carlo giovanardi ### answer: SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" ### context: CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR)
### question: Tell me the left office for mirko tremaglia ### answer: SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" ### context: CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR)
### question: What School/Club Team has a Player named Juan Dixon and a Position of guard? ### answer: SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "juan dixon" ### context: CREATE TABLE table_name_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)
### question: Which Player's Position is guard and played in Toronto during the Years 2007-08? ### answer: SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08" ### context: CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)
### question: What Player is from Argentina and whose position is a guard-forward? ### answer: SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina" ### context: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR)
### question: What School/Club Team played in Toronto during 2012? ### answer: SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012" ### context: CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR)
### question: What was the result of the syracuse grand prix? ### answer: SELECT result FROM table_name_80 WHERE event = "syracuse grand prix" ### context: CREATE TABLE table_name_80 (result VARCHAR, event VARCHAR)
### question: What year has a result of 3 in the venue of Jarama. ### answer: SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" ### context: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)
### question: Tell me the highest opponents for record of 7-3 and vikings points more than 7 ### answer: SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7 ### context: CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)
### question: Tell me the most attendance for game less than 1 ### answer: SELECT MAX(attendance) FROM table_name_15 WHERE game < 1 ### context: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER)
### question: Tell me the surface of 2 december 1974 ### answer: SELECT surface FROM table_name_58 WHERE date = "2 december 1974" ### context: CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)
### question: Name the score for moscow, ussr 15 february 1971 ### answer: SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" ### context: CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR)
### question: Name the lowest year for 12th position ### answer: SELECT MIN(year) FROM table_name_4 WHERE position = "12th" ### context: CREATE TABLE table_name_4 (year INTEGER, position VARCHAR)
### question: Tell me the competition for half marathon ### answer: SELECT competition FROM table_name_70 WHERE notes = "half marathon" ### context: CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR)
### question: Tell me the category of na director ### answer: SELECT category FROM table_name_75 WHERE director = "na" ### context: CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR)
### question: I want to know the highest heat rank for overall rank of t63 and time less than 25.47 ### answer: SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47 ### context: CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)
### question: Tell me the country for lane of 6 ### answer: SELECT country FROM table_name_66 WHERE lane = 6 ### context: CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR)
### question: Tell me the overall rank for heat rank of 8 ### answer: SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8 ### context: CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR)
### question: Tell me the position of chris clark ### answer: SELECT position FROM table_name_8 WHERE player = "chris clark" ### context: CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR)
### question: Tell me the nhl team for 74 ### answer: SELECT nhl_team FROM table_name_75 WHERE pick = "74" ### context: CREATE TABLE table_name_75 (nhl_team VARCHAR, pick VARCHAR)
### question: Tell me the pick for canada centre ### answer: SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada" ### context: CREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR)
### question: Tell me the format for geffen of the united states ### answer: SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states" ### context: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR)
### question: Tell me the format for worldwide region july 22, 2008 ### answer: SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008" ### context: CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR)
### question: Tell me the label for digital download for bonus tracks version ### answer: SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks version" ### context: CREATE TABLE table_name_39 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR)
### question: Which team has a rank of 6? ### answer: SELECT team FROM table_name_43 WHERE rank = 6 ### context: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR)
### question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 ### answer: SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8" ### context: CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR)
### question: Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8 ### answer: SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8" ### context: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR)
### question: Tell me the VIN code for compression ratio of 10.50:1 ### answer: SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1" ### context: CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR)
### question: Tell me the network for 13 january 2009 ### answer: SELECT network FROM table_name_80 WHERE premiere = "13 january 2009" ### context: CREATE TABLE table_name_80 (network VARCHAR, premiere VARCHAR)
### question: Tell me the prize for belgium ### answer: SELECT prize FROM table_name_53 WHERE country_region = "belgium" ### context: CREATE TABLE table_name_53 (prize VARCHAR, country_region VARCHAR)
### question: Tell me the 13 january 2009 host ### answer: SELECT host FROM table_name_19 WHERE premiere = "13 january 2009" ### context: CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR)
### question: Tell me the host for rtl-tvi ### answer: SELECT host FROM table_name_6 WHERE network = "rtl-tvi" ### context: CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR)
### question: I want to meet that has a time 2:15.93 ### answer: SELECT meet FROM table_name_92 WHERE time = "2:15.93" ### context: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR)
### question: Tell me the location of lithuania 12 october 2013 ### answer: SELECT location FROM table_name_86 WHERE nationality = "lithuania" AND date = "12 october 2013" ### context: CREATE TABLE table_name_86 (location VARCHAR, nationality VARCHAR, date VARCHAR)
### question: Tell me the title of work for year more than 2009 ### answer: SELECT title_of_work FROM table_name_17 WHERE year > 2009 ### context: CREATE TABLE table_name_17 (title_of_work VARCHAR, year INTEGER)
### question: When was there a Result of 8–0 and a Score of 1–0? ### answer: SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–0" ### context: CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)
### question: What was the result of Bridgeview, Illinois? ### answer: SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois" ### context: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR)
### question: When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur? ### answer: SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia , pennsylvania" ### context: CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)
### question: What was the score on June 28, 2009? ### answer: SELECT score FROM table_name_56 WHERE date = "june 28, 2009" ### context: CREATE TABLE table_name_56 (score VARCHAR, date VARCHAR)
### question: Tell me the nationality of pick 140 ### answer: SELECT nationality FROM table_name_67 WHERE pick = "140" ### context: CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR)
### question: Tell me the position for pick of 146 ### answer: SELECT position FROM table_name_7 WHERE pick = "146" ### context: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)
### question: Tell me the NHL team for mike gaffney ### answer: SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney" ### context: CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR)
### question: Tell me the nationality of pick of 153 ### answer: SELECT nationality FROM table_name_85 WHERE pick = "153" ### context: CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR)
### question: Tell me the player for pick of 145 ### answer: SELECT player FROM table_name_9 WHERE pick = "145" ### context: CREATE TABLE table_name_9 (player VARCHAR, pick VARCHAR)
### question: What tournament took place on October 11, 2013? ### answer: SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013" ### context: CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)
### question: Which tournament took place on June 18, 2013? ### answer: SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013" ### context: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
### question: What is the average week on November 7, 1976 with an attendance less than 46,735? ### answer: SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735 ### context: CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR)
### question: Who is the opponent for week 5? ### answer: SELECT opponent FROM table_name_96 WHERE week = 5 ### context: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)
### question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2 ### answer: SELECT MAX(overall_rank) FROM table_name_68 WHERE heat_rank > 4 AND lane < 2 ### context: CREATE TABLE table_name_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR)
### question: Who is the partner with a runner-up outcome on April 6, 1992? ### answer: SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992" ### context: CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR)
### question: What outcome occurs on a hard surface with a score of 4–6, 6–7(3)? ### answer: SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4–6, 6–7(3)" ### context: CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR)
### question: On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7? ### answer: SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–7" ### context: CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR)
### question: What is the most losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953? ### answer: SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953 ### context: CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR)
### question: Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6 ### answer: SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6–0, 5–7, 3–6" ### context: CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR)
### question: Tell me the outcome of 2–6, 1–6 ### answer: SELECT outcome FROM table_name_40 WHERE score = "2–6, 1–6" ### context: CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR)
### question: Tell me the surface for eastbourne 14 june 1999 ### answer: SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999" ### context: CREATE TABLE table_name_6 (surface VARCHAR, tournament VARCHAR, date VARCHAR)
### question: Tell me the category for result of won and year more than 2009 ### answer: SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009 ### context: CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR)
### question: Tell me the nominated work larger than 2011 ### answer: SELECT nominated_work FROM table_name_54 WHERE year > 2011 ### context: CREATE TABLE table_name_54 (nominated_work VARCHAR, year INTEGER)
### question: Tell me the result for primetime emmy awards ### answer: SELECT result FROM table_name_94 WHERE association = "primetime emmy awards" ### context: CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR)
### question: What competition was held 1 March 1909? ### answer: SELECT competition FROM table_name_31 WHERE date = "1 march 1909" ### context: CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR)
### question: Tell me the total number of gold for total less than 1 ### answer: SELECT COUNT(gold) FROM table_name_62 WHERE total < 1 ### context: CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER)
### question: Tell me the model for total production of 1347 ### answer: SELECT model FROM table_name_30 WHERE total_production = 1347 ### context: CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR)
### question: What is the total amount of Gold from guatemala and silver smaller than 0? ### answer: SELECT SUM(gold) FROM table_name_88 WHERE nation = "guatemala" AND silver < 0 ### context: CREATE TABLE table_name_88 (gold INTEGER, nation VARCHAR, silver VARCHAR)
### question: Tell me the event for 2012 london games ### answer: SELECT event FROM table_name_70 WHERE games = "2012 london" ### context: CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR)
### question: Tell me the games for men's 5000 metres ### answer: SELECT games FROM table_name_18 WHERE event = "men's 5000 metres" ### context: CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR)
### question: When did the w 20-19 happen? ### answer: SELECT date FROM table_name_72 WHERE result = "w 20-19" ### context: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR)
### question: What was the attendance of the w 28-13 game? ### answer: SELECT attendance FROM table_name_61 WHERE result = "w 28-13" ### context: CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR)
### question: Tell me the voting turnout for 1985 general elections ### answer: SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985 ### context: CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)
### question: What is total number of wins for England? ### answer: SELECT SUM(total) FROM table_name_59 WHERE nation = "england" ### context: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR)
### question: The Soviet Union has won more than 2 Silver, but how many Bronzes? ### answer: SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2 ### context: CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)
### question: Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997? ### answer: SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close" ### context: CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)
### question: I want the average for evening gown of 7.52 and swimsuit larger than 7.78 ### answer: SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 ### context: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)
### question: Tell me the lowest interview for oklahoma and swimsuit less than 8.8 ### answer: SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8 ### context: CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)
### question: Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76 ### answer: SELECT SUM(evening_gown) FROM table_name_53 WHERE average = 9.06 AND swimsuit < 8.76 ### context: CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR)
### question: Tell me the highest interview for north carolina and evening gown more than 7.68 ### answer: SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68 ### context: CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)
### question: Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? ### answer: SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson" ### context: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)
### question: Tell me the category for 2012 and drama league award ### answer: SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award" ### context: CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR)