question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
What is the Roman entry for the allophone of [[[|k]]]?
SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]"
CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR)
What tournament had Greg Rusedski as a finalist?
SELECT tournament FROM table_name_68 WHERE finalist = "greg rusedski"
CREATE TABLE table_name_68 (tournament VARCHAR, finalist VARCHAR)
Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000.
SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000
CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER)
How many times was Louisiana-Monroe a visiting team?
SELECT COUNT(time) FROM table_26842217_6 WHERE visiting_team = "Louisiana-Monroe"
CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR)
What is number 4's title?
SELECT title FROM table_name_36 WHERE number = 4
CREATE TABLE table_name_36 (title VARCHAR, number VARCHAR)
Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
What was the SECR number of the item made in 1861?
SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861"
CREATE TABLE table_name_31 (secr_numbers VARCHAR, year_made VARCHAR)
What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85?
SELECT AVG(jianshu) FROM table_name_29 WHERE rank < 2 AND qiangshu < 9.85
CREATE TABLE table_name_29 (jianshu INTEGER, rank VARCHAR, qiangshu VARCHAR)
On what date was the game against San Diego Chargers played?
SELECT date FROM table_13258851_2 WHERE opponent = "San Diego Chargers"
CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)
What is the highest Laps, when Bike is "Yamaha YZF-R1", when Rider is "David Checa", and when Grid is greater than 18?
SELECT MAX(laps) FROM table_name_78 WHERE bike = "yamaha yzf-r1" AND rider = "david checa" AND grid > 18
CREATE TABLE table_name_78 (laps INTEGER, grid VARCHAR, bike VARCHAR, rider VARCHAR)
Tell me the number range for 4vip
SELECT no_range FROM table_name_36 WHERE type = "4vip"
CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)
What was the population of сурдук in 2011?
SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
What is terry's record when he fights julio paulino?
SELECT record FROM table_name_21 WHERE opponent = "julio paulino"
CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR)
What was the record when they played in the Miami Arena, before game 24?
SELECT record FROM table_name_67 WHERE game < 24 AND location = "miami arena"
CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)
What date did the episode with a production code of 60072 originally air?
SELECT original_air_date FROM table_28140590_1 WHERE production_code = 60072
CREATE TABLE table_28140590_1 (original_air_date VARCHAR, production_code VARCHAR)
What season was there a 2nd place finish?
SELECT season FROM table_name_81 WHERE position = "2nd"
CREATE TABLE table_name_81 (season VARCHAR, position VARCHAR)
How many 5 points field goals is minimum
SELECT MIN(field_goals__5_points_) FROM table_14342367_15
CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER)
Who were the opposing team when playing in the Portugal venue?
SELECT opponents FROM table_name_49 WHERE venue = "portugal"
CREATE TABLE table_name_49 (opponents VARCHAR, venue VARCHAR)
Find the IDs of customers whose name contains "Diana".
SELECT customer_id FROM customers WHERE customer_name LIKE "%Diana%"
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR)
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
SELECT partial_thromboplastin_time FROM table_20592988_1 WHERE platelet_count = "Decreased"
CREATE TABLE table_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
Name the league for 2000
SELECT league FROM table_2553861_1 WHERE year = 2000
CREATE TABLE table_2553861_1 (league VARCHAR, year VARCHAR)
What is the average heat that has 52.83 sb mark and lane less than 4?
SELECT AVG(heat) FROM table_name_28 WHERE mark = "52.83 sb" AND lane < 4
CREATE TABLE table_name_28 (heat INTEGER, mark VARCHAR, lane VARCHAR)
Can you tell me the lowest Pts/game that has the Games larger than 6?
SELECT MIN(pts_game) FROM table_name_98 WHERE games > 6
CREATE TABLE table_name_98 (pts_game INTEGER, games INTEGER)
what is the country when the player is bill nary?
SELECT country FROM table_name_7 WHERE player = "bill nary"
CREATE TABLE table_name_7 (country VARCHAR, player VARCHAR)
What was the airdate of the episode of production code 214?
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214
CREATE TABLE table_28787871_3 (original_air_date VARCHAR, production_code VARCHAR)
How many millions of viewers did Episode number 16 have?
SELECT viewers__in_millions_ FROM table_26139378_1 WHERE episode__number = 16
CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR)
Which fleet was named Orenburg?
SELECT fleet FROM table_name_87 WHERE name = "orenburg"
CREATE TABLE table_name_87 (fleet VARCHAR, name VARCHAR)
Name the record for attendance location of palace of auburn hills 15,210
SELECT record FROM table_17103729_8 WHERE location_attendance = "Palace of Auburn Hills 15,210"
CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR)
Which away has apoel as the club?
SELECT away FROM table_name_41 WHERE club = "apoel"
CREATE TABLE table_name_41 (away VARCHAR, club VARCHAR)
Who is the head coach of the team located in Mudgeeraba?
SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba"
CREATE TABLE table_name_53 (head_coach VARCHAR, location VARCHAR)
What school did the player drafted for the New York Mets attend?
SELECT school FROM table_name_4 WHERE team = "new york mets"
CREATE TABLE table_name_4 (school VARCHAR, team VARCHAR)
What team has a position of running back and picked after 2?
SELECT team FROM table_name_44 WHERE pick > 2 AND position = "running back"
CREATE TABLE table_name_44 (team VARCHAR, pick VARCHAR, position VARCHAR)
what is the position when lot is less than 14, goal difference is +1 and drawn is more than 15?
SELECT SUM(position) FROM table_name_88 WHERE lost < 14 AND goal_difference = "+1" AND drawn > 15
CREATE TABLE table_name_88 (position INTEGER, drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR)
Name the total for jamie carragher
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher"
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)
How many positions have a Postseason of relegation playoffs and a tier of 3?
SELECT COUNT(pos) FROM table_name_11 WHERE postseason = "relegation playoffs" AND tier = 3
CREATE TABLE table_name_11 (pos VARCHAR, postseason VARCHAR, tier VARCHAR)
How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9?
SELECT COUNT(wins) FROM table_name_89 WHERE scored < 24 AND conceded > 25 AND draws > 5 AND position < 9
CREATE TABLE table_name_89 (wins VARCHAR, position VARCHAR, draws VARCHAR, scored VARCHAR, conceded VARCHAR)
On which ground did the team play Aston Villa?
SELECT ground FROM table_name_83 WHERE opponent = "aston villa"
CREATE TABLE table_name_83 (ground VARCHAR, opponent VARCHAR)
Name the try bonus for kenfig hill rfc
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
what is the highest pick for the position tight end?
SELECT MAX(pick) FROM table_name_20 WHERE position = "tight end"
CREATE TABLE table_name_20 (pick INTEGER, position VARCHAR)
How many points did South Melbourne score as the home team?
SELECT home_team AS score FROM table_name_26 WHERE home_team = "south melbourne"
CREATE TABLE table_name_26 (home_team VARCHAR)
What is the Time with a Score that is 80-34?
SELECT time FROM table_name_38 WHERE score = "80-34"
CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR)
What is the lowest apps for rank 3 and 0% wins?
SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0
CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)
What is the score of the home team aginst Essendon?
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)
What is the average round of the s position player from the college of Mississippi and has an overall less than 214?
SELECT AVG(round) FROM table_name_79 WHERE position = "s" AND college = "mississippi" AND overall < 214
CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
How many flights do we have?
SELECT COUNT(*) FROM Flight
CREATE TABLE Flight (Id VARCHAR)
Which position was morristown minutemen in?
SELECT position FROM table_name_1 WHERE team = "morristown minutemen"
CREATE TABLE table_name_1 (position VARCHAR, team VARCHAR)
Where did Bob Murphy of the United States place?
SELECT place FROM table_name_74 WHERE country = "united states" AND player = "bob murphy"
CREATE TABLE table_name_74 (place VARCHAR, country VARCHAR, player VARCHAR)
error (see notes)
SELECT MIN(weeks_at_number_1) FROM table_25760427_2
CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
How many high rebounds are listed for game 35?
SELECT COUNT(high_rebounds) FROM table_27704187_8 WHERE game = 35
CREATE TABLE table_27704187_8 (high_rebounds VARCHAR, game VARCHAR)
What was the attendance in week 8?
SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 8
CREATE TABLE table_14875671_1 (attendance INTEGER, week VARCHAR)
What is the average and total transaction amount?
SELECT AVG(transaction_amount), SUM(transaction_amount) FROM Financial_transactions
CREATE TABLE Financial_transactions (transaction_amount INTEGER)
What's the sum of attendance when banbury united is the away team and tie no is over 102?
SELECT SUM(attendance) FROM table_name_62 WHERE away_team = "banbury united" AND tie_no > 102
CREATE TABLE table_name_62 (attendance INTEGER, away_team VARCHAR, tie_no VARCHAR)
Name the high assists for april 8
SELECT high_assists FROM table_17355628_10 WHERE date = "April 8"
CREATE TABLE table_17355628_10 (high_assists VARCHAR, date VARCHAR)
Original airdate for #6 with 1.246 viewers?
SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246
CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)
How many Attendances on 13 april 1903?
SELECT attendance FROM table_name_37 WHERE date = "13 april 1903"
CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR)
tries against is 29, what is the points against?
SELECT points_against FROM table_name_97 WHERE tries_against = "29"
CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR)
How many Wins in the Year with more than 16 Races?
SELECT wins FROM table_name_7 WHERE races > 16
CREATE TABLE table_name_7 (wins VARCHAR, races INTEGER)
What year was Teresa Wright nominated best supporting actress?
SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress"
CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR)
Name the Date which has a Oil Pattern of chameleon, and a Event of lake county indiana classic?
SELECT date FROM table_name_51 WHERE oil_pattern = "chameleon" AND event = "lake county indiana classic"
CREATE TABLE table_name_51 (date VARCHAR, oil_pattern VARCHAR, event VARCHAR)
How many teams scored exactly 38 points
SELECT COUNT(team) FROM table_14288212_1 WHERE points_for = 38
CREATE TABLE table_14288212_1 (team VARCHAR, points_for VARCHAR)
What is Rank, when Event is "LAPT3 Punta Del Este"?
SELECT rank FROM table_name_65 WHERE event = "lapt3 punta del este"
CREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)
Name the visiting team for stadium of ralph wilson stadium
SELECT visiting_team FROM table_name_67 WHERE stadium = "ralph wilson stadium"
CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR)
Who was the opponent of the game on August 8?
SELECT opponent FROM table_name_36 WHERE date = "august 8"
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)
What was the maximum rank for the vote percentage of 5.6%
SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = "5.6%"
CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR)
What is south melbourne's home side score?
SELECT home_team AS score FROM table_name_53 WHERE home_team = "south melbourne"
CREATE TABLE table_name_53 (home_team VARCHAR)
What is the loss with 319 points?
SELECT lost FROM table_name_66 WHERE points_for = "319"
CREATE TABLE table_name_66 (lost VARCHAR, points_for VARCHAR)
How many average points did the player with a time/retired of +16.789 and have more laps than 68 have?
SELECT AVG(points) FROM table_name_8 WHERE time_retired = "+16.789" AND laps > 68
CREATE TABLE table_name_8 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
What is the result for an H/A of H and a round value of R6 replay?
SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay"
CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR)
Name the record for april 22
SELECT record FROM table_name_52 WHERE date = "april 22"
CREATE TABLE table_name_52 (record VARCHAR, date VARCHAR)
What is the location for Egypt in 2013?
SELECT location FROM table_name_81 WHERE year = "2013" AND country = "egypt"
CREATE TABLE table_name_81 (location VARCHAR, year VARCHAR, country VARCHAR)
What's the Italian Pluperfect when the English is We Had Heard?
SELECT italian FROM table_name_83 WHERE english = "we had heard"
CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR)
Who was the home team that played against the visiting team Minnesota?
SELECT home FROM table_name_63 WHERE visitor = "minnesota"
CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR)
Who scored the most points when the Bucks played against Houston?
SELECT high_points FROM table_27756014_6 WHERE team = "Houston"
CREATE TABLE table_27756014_6 (high_points VARCHAR, team VARCHAR)
Crockett High School had which number(#)?
SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett"
CREATE TABLE table_12032893_1 (_number VARCHAR, high_school VARCHAR)
What was the attendance at the West Ham United home game?
SELECT attendance FROM table_name_69 WHERE home_team = "west ham united"
CREATE TABLE table_name_69 (attendance VARCHAR, home_team VARCHAR)
What is the country that has a place of T6 that Eduardo Romero plays for?
SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero"
CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR)
What is the Country of the Player with a To par of +1?
SELECT country FROM table_name_59 WHERE to_par = "+1"
CREATE TABLE table_name_59 (country VARCHAR, to_par VARCHAR)
What was the record of the game that had a loss of Stottlemyre (10-12)?
SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-12)"
CREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR)
The highest year for the series titled dragon laws ii: kidnapped is what?
SELECT MAX(year) FROM table_name_12 WHERE series_title = "dragon laws ii: kidnapped"
CREATE TABLE table_name_12 (year INTEGER, series_title VARCHAR)
What is the average Round, when Player is "Gurnest Brown", and when Pick # is greater than 180?
SELECT AVG(round) FROM table_name_84 WHERE player = "gurnest brown" AND pick__number > 180
CREATE TABLE table_name_84 (round INTEGER, player VARCHAR, pick__number VARCHAR)
Which driver had a time/retired of fuel system?
SELECT driver FROM table_name_2 WHERE time_retired = "fuel system"
CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR)
What was the name of the race on 24 September?
SELECT name FROM table_name_37 WHERE date = "24 september"
CREATE TABLE table_name_37 (name VARCHAR, date VARCHAR)
What was the home teams score while playing the away team of south melbourne?
SELECT home_team AS score FROM table_name_73 WHERE away_team = "south melbourne"
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
Name the winning constructor for abu dhabi grand prix
SELECT winning_constructor FROM table_name_22 WHERE grand_prix = "abu dhabi grand prix"
CREATE TABLE table_name_22 (winning_constructor VARCHAR, grand_prix VARCHAR)
What is the family friendly status of the punk genre song from the 1970s?
SELECT family_friendly FROM table_name_8 WHERE decade = "1970s" AND genre = "punk"
CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)
What School or Club team has an overall score of 21?
SELECT school_club_team FROM table_name_15 WHERE overall = 21
CREATE TABLE table_name_15 (school_club_team VARCHAR, overall VARCHAR)
What is the low lap total for the under 4 grid car driven by juan pablo montoya?
SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya"
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR)
how many population estimate 2005 are for majene?
SELECT COUNT(population_estimate_2005) FROM table_name_86 WHERE capital = "majene"
CREATE TABLE table_name_86 (population_estimate_2005 VARCHAR, capital VARCHAR)
Who constructed piercarlo ghinzani's car with under 44 laps?
SELECT constructor FROM table_name_59 WHERE laps < 44 AND driver = "piercarlo ghinzani"
CREATE TABLE table_name_59 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)?
SELECT pre__season FROM table_name_24 WHERE mar_3 = "nr" AND poll = "usa today/espn coaches' poll (top 25)"
CREATE TABLE table_name_24 (pre__season VARCHAR, mar_3 VARCHAR, poll VARCHAR)
What is the loss when the record is 38-33?
SELECT loss FROM table_name_67 WHERE record = "38-33"
CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)
What is the rank when there are more than 107 laps and the qual is 137.825?
SELECT rank FROM table_name_26 WHERE laps > 107 AND qual = "137.825"
CREATE TABLE table_name_26 (rank VARCHAR, laps VARCHAR, qual VARCHAR)
What is the points ranking of Chicago Fire?
SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"
CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR)
Which Stadium has a Visiting team of pittsburgh steelers?
SELECT stadium FROM table_name_44 WHERE visiting_team = "pittsburgh steelers"
CREATE TABLE table_name_44 (stadium VARCHAR, visiting_team VARCHAR)
what is redskins (score) against tennessee titans 27
SELECT redskins__score_ FROM table_20074209_1 WHERE opponent__score_ = "Tennessee Titans 27"
CREATE TABLE table_20074209_1 (redskins__score_ VARCHAR, opponent__score_ VARCHAR)
Who is the week 12 for the week 4 of Gerard Ewelina?
SELECT week_12 FROM table_name_35 WHERE week_4 = "gerard ewelina"
CREATE TABLE table_name_35 (week_12 VARCHAR, week_4 VARCHAR)
Which state or territory had a channel number of exactly 7?
SELECT state_or_territory FROM table_27871460_2 WHERE channel_number = 7
CREATE TABLE table_27871460_2 (state_or_territory VARCHAR, channel_number VARCHAR)
What club has a tries for count of 19?
SELECT club FROM table_12886178_5 WHERE tries_for = "19"
CREATE TABLE table_12886178_5 (club VARCHAR, tries_for VARCHAR)
Which Track(s) is on 18 november 1985?
SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985"
CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR)
In what region and year was Jacob the number 2 name and Ryan the number 10 name?
SELECT region__year_ FROM table_name_98 WHERE no_2 = "jacob" AND no_10 = "ryan"
CREATE TABLE table_name_98 (region__year_ VARCHAR, no_2 VARCHAR, no_10 VARCHAR)