answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Fisheries University"
What is the Japanese orthography for National Fisheries University?
CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)
SELECT home_team FROM table_name_65 WHERE date = "wednesday, 25 february 1998"
Which Home team is on Wednesday, 25 february 1998?
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_74 WHERE date = "december 27"
I want to know the final score for december 27
CREATE TABLE table_name_74 (final_score VARCHAR, date VARCHAR)
SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones"
how many broadcaste dates features the overtones
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, singer_s_ VARCHAR)
SELECT MIN(laps) FROM table_name_86 WHERE rider = "marco simoncelli" AND grid > 11
What is the lowest number of laps for Marco Simoncelli on a grid higher than 11?
CREATE TABLE table_name_86 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT year_in_novel FROM table_name_18 WHERE published_as_serial = "november 1934-april 1935, blue book"
Which year in novel has a Published as serial of november 1934-april 1935, blue book?
CREATE TABLE table_name_18 (year_in_novel VARCHAR, published_as_serial VARCHAR)
SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh"
What country placed t6 with player Vijay Singh?
CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT MAX(date) FROM table_name_90 WHERE type = "0-4-4 forney locomotive" AND number > 20 AND works_number > 23754
What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754?
CREATE TABLE table_name_90 (date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR)
SELECT ethnic_group FROM table_name_98 WHERE other = "5%"
Which ethnic group has 5% of people categorizing religion as other?
CREATE TABLE table_name_98 (ethnic_group VARCHAR, other VARCHAR)
SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207
In what place did the golfer that scored 68-70-69=207 finish?
CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR)
SELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = "aa" AND school = "centerville"
What is the IHSAA class of Centerville, which plays IHSAA class AA football?
CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)
SELECT event FROM table_name_94 WHERE position = "4th"
What is Event, when Position is 4th?
CREATE TABLE table_name_94 (event VARCHAR, position VARCHAR)
SELECT slalom FROM table_name_32 WHERE overall = "25" AND season = 2009
Which Slalom has an overall of 25 in the 2009 season?
CREATE TABLE table_name_32 (slalom VARCHAR, overall VARCHAR, season VARCHAR)
SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks"
Name the sport with championships less than 1 and club of erie bayhawks
CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR)
SELECT record FROM table_name_71 WHERE date = "3 march 2013"
Which Record has a Date of 3 march 2013?
CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)
SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?
CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR)
SELECT capacity FROM table_name_39 WHERE acceleration_0_100km_h = "11.1 s"
what is the capacity when the acceleration 1-100km/h is 11.1 s?
CREATE TABLE table_name_39 (capacity VARCHAR, acceleration_0_100km_h VARCHAR)
SELECT rating FROM table_name_96 WHERE viewers__m_ = 2.73
What Rating has Viewers (m) of 2.73?
CREATE TABLE table_name_96 (rating VARCHAR, viewers__m_ VARCHAR)
SELECT SUM(points) FROM table_name_31 WHERE goals_for > 225 AND goals_against = 190
What are the total number of points with more than 225 goals and a Goals against of 190?
CREATE TABLE table_name_31 (points INTEGER, goals_for VARCHAR, goals_against VARCHAR)
SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07"
When 17.07 is the loa (metres) what is the type of yacht?
CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR)
SELECT date FROM table_name_95 WHERE opponent = "angels" AND loss = "sanderson (0–1)"
Which date has an Opponent of angels, and a Loss of sanderson (0–1)?
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT name FROM table_name_15 WHERE transfer_window = "summer" AND transfer_fee = "undisclosed" AND moving_from = "brussels"
What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels?
CREATE TABLE table_name_15 (name VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)
SELECT championship FROM table_name_8 WHERE opponent = "richard fromberg"
What was the championship during the match with the opponent of richard fromberg?
CREATE TABLE table_name_8 (championship VARCHAR, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_56 WHERE game_site = "riverfront stadium"
What's the Lowest Attendance with a Game site of Riverfront Stadium?
CREATE TABLE table_name_56 (attendance INTEGER, game_site VARCHAR)
SELECT MAX(year) FROM table_name_22 WHERE country = "morocco"
What is the year for the country of Morocco?
CREATE TABLE table_name_22 (year INTEGER, country VARCHAR)
SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3
What is the sum of bronze when silver is greater than 3?
CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER)
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10
How many fastest laps were there for a rd that equals 10?
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)
SELECT * FROM customer_master_index ORDER BY cmi_details DESC
List all information about customer master index, and sort them by details in descending order.
CREATE TABLE customer_master_index (cmi_details VARCHAR)
SELECT finish FROM table_name_50 WHERE engine = "buick" AND start = "16th"
What was Andretti's finish for the year he had a Buick engine and started 16th?
CREATE TABLE table_name_50 (finish VARCHAR, engine VARCHAR, start VARCHAR)
SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T2.gradepoint >= 3.8
Find the distinct student first names of all students that have grade point at least 3.8 in one course.
CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade VARCHAR)
SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn"
What is the IATA when France was the country, and the ICAO was lfrn?
CREATE TABLE table_name_72 (iata VARCHAR, country VARCHAR, icao VARCHAR)
SELECT record FROM table_name_42 WHERE game = 67
What's the record of game 67?
CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR)
SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City"
how many times is the team oklahoma city?
CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE network = "TV2" AND main_presenter = "Øyvind Mund"
What is the highest year premiered for the TV2 network when main present is øyvind mund?
CREATE TABLE table_24224647_2 (year_premiered INTEGER, network VARCHAR, main_presenter VARCHAR)
SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 2 ORDER BY COUNT(*)
List the cities which have more than 2 airports sorted by the number of airports.
CREATE TABLE airports (city VARCHAR)
SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112
Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112
CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)
SELECT MIN(code) FROM table_name_98 WHERE type = "m" AND name = "saint-sylvère" AND region < 17
What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère?
CREATE TABLE table_name_98 (code INTEGER, region VARCHAR, type VARCHAR, name VARCHAR)
SELECT date FROM table_name_4 WHERE away_team = "richmond"
On which date did Richmond play as an away team?
CREATE TABLE table_name_4 (date VARCHAR, away_team VARCHAR)
SELECT average_attendance_per_match FROM table_27708484_3 WHERE elevation = "1500 m"
what is the average attendance per match wheree the elevation is 1500 m?
CREATE TABLE table_27708484_3 (average_attendance_per_match VARCHAR, elevation VARCHAR)
SELECT AVG(match) FROM table_name_65 WHERE home_away = "away" AND opponent_team = "perak fa (malaysia)"
What is the average match when the singapore armed forces played away against perak fa (malaysia)?
CREATE TABLE table_name_65 (match INTEGER, home_away VARCHAR, opponent_team VARCHAR)
SELECT total FROM table_150343_3 WHERE country_territory = "Venezuela"
What is Venezuela's total rank?
CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR)
SELECT SUM(T1.games) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000
How many home games did the team Boston Red Stockings play from 1990 to 2000 in total?
CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (games INTEGER, team_id VARCHAR, year VARCHAR)
SELECT score FROM table_name_14 WHERE opponent = "new jersey nets"
What was the score for the game against the New Jersey Nets?
CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11"
What is the score of the Boston Bruins game from April 11?
CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT defending_forces FROM table_name_77 WHERE name = "danna"
Which defending forces have the name Danna?
CREATE TABLE table_name_77 (defending_forces VARCHAR, name VARCHAR)
SELECT result FROM table_19810459_1 WHERE background = "Business major"
What was the result for the contestant whose background was as a business major?
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
SELECT date FROM table_name_88 WHERE location = "gold coast"
On what Date was the Tournament in Gold Coast?
CREATE TABLE table_name_88 (date VARCHAR, location VARCHAR)
SELECT DISTINCT Nominee FROM musical WHERE Award <> "Tony Award"
What are the distinct nominees of the musicals with the award that is not "Tony Award"?
CREATE TABLE musical (Nominee VARCHAR, Award VARCHAR)
SELECT city FROM table_name_58 WHERE opponent = "poland"
What city did Yugoslavia play against Poland in?
CREATE TABLE table_name_58 (city VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_name_43 WHERE stadium = "texas stadium" AND date = "september 17"
What was the final score at texas stadium on September 17?
CREATE TABLE table_name_43 (final_score VARCHAR, stadium VARCHAR, date VARCHAR)
SELECT league FROM table_16636344_1 WHERE year = "2010"
What was the team's league in 2010?
CREATE TABLE table_16636344_1 (league VARCHAR, year VARCHAR)
SELECT state FROM table_name_35 WHERE name = "yi"
What is the state Yi?
CREATE TABLE table_name_35 (state VARCHAR, name VARCHAR)
SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop"
What party is Sanford Bishop a member of?
CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR)
SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-12"
What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?
CREATE TABLE table_name_33 (home VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT record FROM table_name_15 WHERE date = "may 21"
What was the record on May 21?
CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)
SELECT directed_by FROM table_13301516_1 WHERE original_air_date = "January 15, 2008"
Who directed the episode that originally aired on January 15, 2008?
CREATE TABLE table_13301516_1 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler"
What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)?
CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR)
SELECT engine FROM table_name_1 WHERE rounds = "5-6"
What's the engine used for rounds 5-6?
CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR)
SELECT MAX(rank) FROM table_19744915_18 WHERE result = "Safe" AND public = 8
When 8 is the public and the result is safe what is the highest rank?
CREATE TABLE table_19744915_18 (rank INTEGER, result VARCHAR, public VARCHAR)
SELECT MAX(crowd) FROM table_name_86 WHERE away_team = "geelong"
When the away team is Geelong, what is the highest crowd count?
CREATE TABLE table_name_86 (crowd INTEGER, away_team VARCHAR)
SELECT total_candidates FROM table_2676980_4 WHERE registered_voters = 47742
What is the number of total candidates when registered voters is 47742?
CREATE TABLE table_2676980_4 (total_candidates VARCHAR, registered_voters VARCHAR)
SELECT MIN(population_canada_2011_census) FROM table_1011906_1 WHERE seat_of_rcm = "Cowansville"
what is the minimum population canada 2011 census with seat of rcm being cowansville
CREATE TABLE table_1011906_1 (population_canada_2011_census INTEGER, seat_of_rcm VARCHAR)
SELECT loss FROM table_name_63 WHERE record = "54–42"
What was the loss of the game with a record of 54–42?
CREATE TABLE table_name_63 (loss VARCHAR, record VARCHAR)
SELECT time_retired FROM table_name_80 WHERE constructor = "bmw sauber" AND driver = "nick heidfeld"
What is the Time/Retired for the BMW Sauber, and Nick Heidfeld?
CREATE TABLE table_name_80 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT comp FROM table_name_81 WHERE score = "393"
What's the comp when the score was 393?
CREATE TABLE table_name_81 (comp VARCHAR, score VARCHAR)
SELECT date_of_birth__age_ FROM table_name_85 WHERE caps = 32
What is the birthday of caps of 32?
CREATE TABLE table_name_85 (date_of_birth__age_ VARCHAR, caps VARCHAR)
SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27
How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?
CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard"
Which constructor made the car with a rb1 chassis and which is driven by David Coulthard?
CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT opponent FROM table_name_81 WHERE week > 2 AND date = "november 19, 1995"
Which Opponent has a Week larger than 2 on november 19, 1995?
CREATE TABLE table_name_81 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida"
What country does Roberto Almeida live?
CREATE TABLE customers (country VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT MIN(catches) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
If the player is Hashan Tillakaratne, what is the catches minimum?
CREATE TABLE table_26041144_16 (catches INTEGER, player VARCHAR)
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
I want the tyres for hans binder
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
SELECT ihsaa_class FROM table_name_40 WHERE county = "83 vermillion"
What is the IHSAA class when the county was 83 vermillion?
CREATE TABLE table_name_40 (ihsaa_class VARCHAR, county VARCHAR)
SELECT lost FROM table_name_64 WHERE _percentage_won = "55.37"
Name the lost for % won of 55.37
CREATE TABLE table_name_64 (lost VARCHAR, _percentage_won VARCHAR)
SELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = "180.00"
What are the number of winning tickets that have 180.00 as the prize (eur)?
CREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR)
SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)"
Which Result has a Category of outstanding actor (drama)?
CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR)
SELECT Investor FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) DESC LIMIT 1
What is the investor that has invested in the most number of entrepreneurs?
CREATE TABLE entrepreneur (Investor VARCHAR)
SELECT opponent FROM table_name_44 WHERE score = "92-111"
Which Opponent has a Score of 92-111?
CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR)
SELECT COUNT(date) FROM table_28898974_3 WHERE incumbent = "James Rutherford"
When james rutherford is the incumbent how many dates are there?
CREATE TABLE table_28898974_3 (date VARCHAR, incumbent VARCHAR)
SELECT label FROM table_name_37 WHERE region = "australia"
Which label is in Australia?
CREATE TABLE table_name_37 (label VARCHAR, region VARCHAR)
SELECT home_team FROM table_name_42 WHERE match_no = "23"
Who is the Home Team for Match No. 23?
CREATE TABLE table_name_42 (home_team VARCHAR, match_no VARCHAR)
SELECT singer FROM table_2528382_5 WHERE movie_album = "Amar Deep"
Who sang for the movie Amar Deep?
CREATE TABLE table_2528382_5 (singer VARCHAR, movie_album VARCHAR)
SELECT cfl_team FROM table_28059992_2 WHERE player = "Patrice Denis"
Name the cfl team for patrice denis
CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR)
SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore"
What party did the incumbent Thomas P. Moore belong to?
CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)
SELECT release_date FROM table_name_22 WHERE sspec_number = "slbze(c0)slbr8"
What is Release Date, when sSpec Number is SLBZE(C0)SLBR8?
CREATE TABLE table_name_22 (release_date VARCHAR, sspec_number VARCHAR)
SELECT pictorials FROM table_1566848_7 WHERE centerfold_model = "Ava Fabian"
Who were the pictorials when the centerfold model was Ava Fabian?
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82"
What is Name, when WSU Year(s) is 1981-82?
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)
SELECT fencing_victories__pts_ FROM table_name_68 WHERE total = 5640
Which Fencing Victories (pts) has a Total of 5640?
CREATE TABLE table_name_68 (fencing_victories__pts_ VARCHAR, total VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_9 WHERE program = "radio rezonans"
What is the average MHz Frequency of radio rezonans?
CREATE TABLE table_name_9 (frequency_mhz INTEGER, program VARCHAR)
SELECT crowd FROM table_name_51 WHERE venue = "arden street oval"
What was the crowd size at Arden Street Oval?
CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)
SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga"
How man horse power did the ship covadonga have?
CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)
SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters"
what is 2004 when the tournament is paris masters?
CREATE TABLE table_name_49 (tournament VARCHAR)
SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne"
How many points did the away team from Melbourne score?
CREATE TABLE table_name_40 (away_team VARCHAR)
SELECT COUNT(failures) FROM table_name_76 WHERE country = "russia" AND family = "r14 r-14" AND partial_failures < 0
What is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0?
CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR)
SELECT COUNT(date) FROM table_1566848_7 WHERE pictorials = "Female s disk jockey"
What is the date of the issue where the pictorials is of Female s disk jockey?
CREATE TABLE table_1566848_7 (date VARCHAR, pictorials VARCHAR)
SELECT MAX(attendance) FROM table_name_98 WHERE week > 8 AND result = "w 42–0"
What is the Attendance after Week 8 with a Result of W 42–0?
CREATE TABLE table_name_98 (attendance INTEGER, week VARCHAR, result VARCHAR)
SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2"
How many power stations are connected to grid at Heysham 2
CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR)
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
Name of choice b. Randell is the name of which District Residence?
CREATE TABLE table_name_4 (district_residence VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_92 WHERE pick = 116
What Nationality is the Pick that is 116?
CREATE TABLE table_name_92 (nationality VARCHAR, pick VARCHAR)
SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable"
Name the Company which has a Price in USD of free / negotiable?
CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR)