question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the event in a year before 1989? | CREATE TABLE table_name_37 (event VARCHAR, year INTEGER) | SELECT event FROM table_name_37 WHERE year < 1989 |
Which team had 342 total points? | CREATE TABLE table_24784769_1 (team VARCHAR, total_points VARCHAR) | SELECT team FROM table_24784769_1 WHERE total_points = 342 |
What Reserved for (SC / ST /None) with a Name of goverdhan? | CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "goverdhan" |
What is the total round with pick of 109? | CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_37 WHERE pick = 109 |
I want the NGC number for right ascension of 08h11m13.6s | CREATE TABLE table_name_92 (ngc_number VARCHAR, right_ascension___j2000__ VARCHAR) | SELECT ngc_number FROM table_name_92 WHERE right_ascension___j2000__ = "08h11m13.6s" |
What year has a winning finish of T27? | CREATE TABLE table_name_6 (year_s__won VARCHAR, finish VARCHAR) | SELECT year_s__won FROM table_name_6 WHERE finish = "t27" |
What is the average ranking for a react of 0.17300000000000001 and less than 5 lanes? | CREATE TABLE table_name_78 (rank INTEGER, react VARCHAR, lane VARCHAR) | SELECT AVG(rank) FROM table_name_78 WHERE react = 0.17300000000000001 AND lane < 5 |
What year was Hazel Grove the constituent for the liberal party? | CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR) | SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove" |
What is the number of people who attended the game later than game 6? | CREATE TABLE table_name_68 (attendance VARCHAR, game INTEGER) | SELECT COUNT(attendance) FROM table_name_68 WHERE game > 6 |
What is the highest crude death rate when deaths are 3 433 and average population is greater than 298? | CREATE TABLE table_name_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR) | SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = "3 433" AND average_population__x_1000_ > 298 |
What is the lyric fm for rnag 93.2? | CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR) | SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2" |
Who was the opponent when the score was 6-3, 6-3? | CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3" |
What team has over 1 tournament title, 0 in the regular season, and 2 total? | CREATE TABLE table_name_47 (team VARCHAR, total VARCHAR, tournament VARCHAR, regular_season VARCHAR) | SELECT team FROM table_name_47 WHERE tournament > 1 AND regular_season = "0" AND total = 2 |
What is the most points when the won is 9? | CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR) | SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9 |
Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0? | CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR) | SELECT league_cup_goals FROM table_name_61 WHERE total > "14" AND league_goals = "14" AND fa_cup_goals = "0" |
How many broadband subscribers are there where the population is ~3,644,070? | CREATE TABLE table_name_24 (number_of_broadband_subscribers VARCHAR, population VARCHAR) | SELECT number_of_broadband_subscribers FROM table_name_24 WHERE population = "~3,644,070" |
Name the most released for right here, right now | CREATE TABLE table_24600706_1 (released INTEGER, song VARCHAR) | SELECT MAX(released) FROM table_24600706_1 WHERE song = "Right Here, Right Now" |
What is the mountain classification name if the winner is Bernhard Eisel? | CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR) | SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Bernhard Eisel" |
What team won Race 17? | CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR) | SELECT winning_team FROM table_26334740_3 WHERE race = 17 |
What date was the game held in Towson? | CREATE TABLE table_name_76 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_76 WHERE city = "towson" |
What is the royal house for Wu at the state of cai? | CREATE TABLE table_name_45 (royal_house VARCHAR, name VARCHAR, state VARCHAR) | SELECT royal_house FROM table_name_45 WHERE name = "wu" AND state = "cai" |
How many goals against when the draws are fewer than 3? | CREATE TABLE table_name_20 (goals_against INTEGER, drawn INTEGER) | SELECT MAX(goals_against) FROM table_name_20 WHERE drawn < 3 |
What date did the new york giants win after 2011? | CREATE TABLE table_name_96 (date VARCHAR, winner VARCHAR, year VARCHAR) | SELECT date FROM table_name_96 WHERE winner = "new york giants" AND year > 2011 |
Who is the incumbent for the Oregon 5 District that was elected in 1996? | CREATE TABLE table_name_34 (incumbent VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_34 WHERE first_elected = 1996 AND district = "oregon 5" |
When did the enews start source start? | CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR) | SELECT started FROM table_name_99 WHERE start_source = "enews" |
What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281? | CREATE TABLE table_name_14 (touchdowns INTEGER, player VARCHAR, yards VARCHAR) | SELECT MIN(touchdowns) FROM table_name_14 WHERE player = "andrew glover" AND yards > 281 |
What is the Surface of the match with winner as outcome and a score of 7–5, 7–5? | CREATE TABLE table_name_76 (surface VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT surface FROM table_name_76 WHERE outcome = "winner" AND score = "7–5, 7–5" |
Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze? | CREATE TABLE table_name_1 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank > 9 AND total = 1 |
What was the broadcaste date for the episode with a run time of 24:44? | CREATE TABLE table_name_60 (broadcast_date VARCHAR, run_time VARCHAR) | SELECT broadcast_date FROM table_name_60 WHERE run_time = "24:44" |
What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez? | CREATE TABLE table_name_7 (binibining_pilipinas_international VARCHAR, year VARCHAR, binibining_pilipinas_universe VARCHAR) | SELECT binibining_pilipinas_international FROM table_name_7 WHERE year > 1990 AND binibining_pilipinas_universe = "maria lourdes gonzalez" |
What is the last match with a resigned manner of departure and a round 1 date of vacancy? | CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1" |
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1? | CREATE TABLE table_name_65 (result VARCHAR, competition VARCHAR, score VARCHAR) | SELECT result FROM table_name_65 WHERE competition = "friendly match" AND score = "1 – 1" |
What is the pali word for pride in poison/klesha? | CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR) | SELECT pali FROM table_name_87 WHERE poison_klesha = "pride" |
What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? | CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993" |
What Surface was used on 2 June 2003? | CREATE TABLE table_name_94 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_94 WHERE date = "2 june 2003" |
What is the Original air date for the episode written by Peter Ocko? | CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko" |
List the first name and last name of all customers. | CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR) | SELECT first_name, last_name FROM Customers |
What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010? | CREATE TABLE table_name_80 (player VARCHAR, year VARCHAR, pick VARCHAR, position VARCHAR) | SELECT player FROM table_name_80 WHERE pick = "3" AND position = "defense" AND year < 2010 |
Name the report for 6 may | CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_82 WHERE date = "6 may" |
Which score has a visitor of New York? | CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_62 WHERE visitor = "new york" |
On what date is the Score 94-109? | CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_54 WHERE score = "94-109" |
What are the fewest podiums in 2005 with fewer than 0 poles? | CREATE TABLE table_name_30 (podium INTEGER, season VARCHAR, pole VARCHAR) | SELECT MIN(podium) FROM table_name_30 WHERE season = "2005" AND pole < 0 |
When the Venue was victoria park, what was the Away team score? | CREATE TABLE table_name_61 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_61 WHERE venue = "victoria park" |
Who scored the most points on November 17? | CREATE TABLE table_25461946_5 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_25461946_5 WHERE date = "November 17" |
What is the Lineup from a Match that is 27? | CREATE TABLE table_name_12 (lineup VARCHAR, match VARCHAR) | SELECT lineup FROM table_name_12 WHERE match = "27" |
what's the average grid that has a time/retired piston and laps smaller than 15? | CREATE TABLE table_name_81 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_81 WHERE time_retired = "piston" AND laps < 15 |
Which Party has Years in Senate of —, and Years in Assembly of 2012–present? | CREATE TABLE table_name_12 (party VARCHAR, years_in_senate VARCHAR, years_in_assembly VARCHAR) | SELECT party FROM table_name_12 WHERE years_in_senate = "—" AND years_in_assembly = "2012–present" |
Name the number of processors for nec sx-4 vector processor | CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, cpu_type VARCHAR) | SELECT no_of_processors FROM table_27765443_2 WHERE cpu_type = "NEC SX-4 vector processor" |
Name the ethnic group with a buddhist of 0.19% | CREATE TABLE table_name_94 (ethnic_group VARCHAR, buddhist VARCHAR) | SELECT ethnic_group FROM table_name_94 WHERE buddhist = "0.19%" |
What is the stage number when the category is less than 1? | CREATE TABLE table_name_74 (stage VARCHAR, category INTEGER) | SELECT COUNT(stage) FROM table_name_74 WHERE category < 1 |
What is the Record with a Date with december 9? | CREATE TABLE table_name_97 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_97 WHERE date = "december 9" |
How tall was the member of Nymburk, who was born in 1982? | CREATE TABLE table_name_23 (height INTEGER, year_born VARCHAR, current_club VARCHAR) | SELECT MAX(height) FROM table_name_23 WHERE year_born = 1982 AND current_club = "nymburk" |
What's the total number of points for grace dunne with a draw over 5? | CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR, draw VARCHAR) | SELECT COUNT(points) FROM table_name_93 WHERE artist = "grace dunne" AND draw > 5 |
what status is the vehicle numbers of adb977554? | CREATE TABLE table_name_78 (status VARCHAR, vehicle_numbers VARCHAR) | SELECT status FROM table_name_78 WHERE vehicle_numbers = "adb977554" |
What week is a bye week? | CREATE TABLE table_name_64 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_64 WHERE date = "bye" |
What is the name of the leading scorer when the record was 9–6? | CREATE TABLE table_name_18 (leading_scorer VARCHAR, record VARCHAR) | SELECT leading_scorer FROM table_name_18 WHERE record = "9–6" |
Which Season was the Poles greater than 14? | CREATE TABLE table_name_27 (season VARCHAR, poles INTEGER) | SELECT season FROM table_name_27 WHERE poles > 14 |
United kingdom is the country what is the change (2011 to 2012)? | CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, country VARCHAR) | SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE country = "United Kingdom" |
Name the title for 2005 | CREATE TABLE table_name_2 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_2 WHERE year = 2005 |
Say the frequency of 1290 khz | CREATE TABLE table_name_31 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_31 WHERE frequency = "1290 khz" |
What is the velocity of the pilot named 'Thompson'? | CREATE TABLE flight (velocity INTEGER, pilot VARCHAR) | SELECT AVG(velocity) FROM flight WHERE pilot = 'Thompson' |
What is the total number of league goals for Simon Charlton? | CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR) | SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton" |
What is the Date of Catalogue number 602517739468? | CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) | SELECT date FROM table_name_90 WHERE catalogue = "602517739468" |
In what constituency was the result labour hold and Liberal democrat Elizabeth Newton won? | CREATE TABLE table_name_12 (constituency VARCHAR, result VARCHAR, liberal_democrats VARCHAR) | SELECT constituency FROM table_name_12 WHERE result = "labour hold" AND liberal_democrats = "elizabeth newton" |
What was game 3 when there were under 2.61m viewers? | CREATE TABLE table_27039190_3 (game_3 VARCHAR, viewers VARCHAR) | SELECT game_3 FROM table_27039190_3 WHERE viewers = "Under 2.61m" |
Which co-singers appear in the movie Pyaasa? | CREATE TABLE table_2528382_2 (Co VARCHAR, singers VARCHAR, movie_album VARCHAR) | SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa" |
What are the number of days in 1945 where the constituent was heywood and radcliffe? | CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR) | SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe" |
Which ICAO has a Fleet size of 2? | CREATE TABLE table_name_96 (icao VARCHAR, fleet_size VARCHAR) | SELECT icao FROM table_name_96 WHERE fleet_size = 2 |
Which type of song did miriam yeung sing? | CREATE TABLE table_name_66 (kind_of_the_song VARCHAR, singer VARCHAR) | SELECT kind_of_the_song FROM table_name_66 WHERE singer = "miriam yeung" |
How many documents do not have any expense? | CREATE TABLE Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR) | SELECT COUNT(*) FROM Documents WHERE NOT document_id IN (SELECT document_id FROM Documents_with_expenses) |
How many Opponents have a Result of win, and Nuggets points smaller than 115, and an Opponent of washington? | CREATE TABLE table_name_62 (opponents INTEGER, opponent VARCHAR, result VARCHAR, nuggets_points VARCHAR) | SELECT SUM(opponents) FROM table_name_62 WHERE result = "win" AND nuggets_points < 115 AND opponent = "washington" |
What is the lowest numbered division Cleveland played in? | CREATE TABLE table_2357201_1 (division INTEGER) | SELECT MIN(division) FROM table_2357201_1 |
What is the rank of manager Rob Mcdonald? | CREATE TABLE table_1218784_1 (rank VARCHAR, manager VARCHAR) | SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald" |
What was the score for the Atlanta Thrashers? | CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_23486853_3 WHERE opponent = "Atlanta Thrashers" |
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001? | CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR) | SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001" |
Who was the 3rd performer when Rory Bremner was the 4th performer? | CREATE TABLE table_name_11 (performer_3 VARCHAR, performer_4 VARCHAR) | SELECT performer_3 FROM table_name_11 WHERE performer_4 = "rory bremner" |
What was the format of the release by Triumfall? | CREATE TABLE table_name_31 (format VARCHAR, artist VARCHAR) | SELECT format FROM table_name_31 WHERE artist = "triumfall" |
In the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were there? | CREATE TABLE table_name_28 (wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) | SELECT COUNT(wins) FROM table_name_28 WHERE top_25 > 6 AND cuts_made < 13 |
Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez? | CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR) | SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez" |
What was the lowest crowd seen at a game that Richmond was the Away team in? | CREATE TABLE table_name_57 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_57 WHERE away_team = "richmond" |
When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event? | CREATE TABLE table_18602462_21 (event VARCHAR, final__bronze_medal_match VARCHAR) | SELECT event FROM table_18602462_21 WHERE final__bronze_medal_match = "Scheffers ( NED ) L 3-6, 1-6" |
How many people attended the game with a result of w 16-13 and a week earlier than 12? | CREATE TABLE table_name_85 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_85 WHERE result = "w 16-13" AND week < 12 |
What did the home team score when they played the away team of Geelong? | CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_10 WHERE away_team = "geelong" |
What is the total number played with 1 drawn, and less than 7 points? | CREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7 |
what is the most number where cattle is 13000 | CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR) | SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000 |
Who was the GT2 winning team when the GT3 winning team was #1 PTG? | CREATE TABLE table_11875915_2 (gt2_winning_team VARCHAR, gt3_winning_team VARCHAR) | SELECT gt2_winning_team FROM table_11875915_2 WHERE gt3_winning_team = "#1 PTG" |
How many FA trophies did Ceri Williams get with a smaller total than 19? | CREATE TABLE table_name_27 (fa_trophy VARCHAR, player VARCHAR, total VARCHAR) | SELECT COUNT(fa_trophy) FROM table_name_27 WHERE player = "ceri williams" AND total < 19 |
When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings? | CREATE TABLE table_name_86 (ratings VARCHAR, year VARCHAR, lap_by_lap VARCHAR) | SELECT ratings FROM table_name_86 WHERE year < 2004 AND lap_by_lap = "mike joy" |
What episodes was the show クロサギ shown on TBS? | CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) | SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クロサギ" |
What is the call sign for Thunder 106.1? | CREATE TABLE table_name_62 (call_sign VARCHAR, name VARCHAR) | SELECT call_sign FROM table_name_62 WHERE name = "thunder 106.1" |
WHat is the decile of the school in Purua? | CREATE TABLE table_name_38 (decile VARCHAR, area VARCHAR) | SELECT decile FROM table_name_38 WHERE area = "purua" |
Find the total ranking points for each player and their first name. | CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR) | SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name |
What Number of electorates (2009) has a District of mathura, and a Name of mant? | CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR) | SELECT MIN(number_of_electorates__2009_) FROM table_name_56 WHERE district = "mathura" AND name = "mant" |
What tail number was on the an-26, with 25/25 fatalities? | CREATE TABLE table_name_82 (tail_number VARCHAR, aircraft VARCHAR, fatalities VARCHAR) | SELECT tail_number FROM table_name_82 WHERE aircraft = "an-26" AND fatalities = "25/25" |
What was the score on October 13? | CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_94 WHERE date = "october 13" |
are rolled wafers in many episodes | CREATE TABLE table_15187735_17 (series_ep VARCHAR, segment_a VARCHAR) | SELECT series_ep FROM table_15187735_17 WHERE segment_a = "Rolled Wafers" |
In what Year was the Purse $150,000 with a Time of 1:49.00? | CREATE TABLE table_name_6 (year INTEGER, purse VARCHAR, time VARCHAR) | SELECT MIN(year) FROM table_name_6 WHERE purse = "$150,000" AND time = "1:49.00" |
Which label's year is 1993? | CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) | SELECT label FROM table_name_45 WHERE year = "1993" |
When was jack watson appointed? | CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR) | SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson" |
WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER? | CREATE TABLE table_name_56 (overall INTEGER, name VARCHAR) | SELECT AVG(overall) FROM table_name_56 WHERE name = "mark fischer" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.