question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the si prefix for thousand chuquet
CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR)
SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand"
Which Ofsted has a Capacity of 1677?
CREATE TABLE table_name_83 (ofsted VARCHAR, capacity VARCHAR)
SELECT ofsted FROM table_name_83 WHERE capacity = 1677
How many rounds was the fight with a decision by submission (punches)?
CREATE TABLE table_name_3 (round VARCHAR, method VARCHAR)
SELECT round FROM table_name_3 WHERE method = "submission (punches)"
Who was the couple on the bottom two?
CREATE TABLE table_26375386_18 (couple VARCHAR, result VARCHAR)
SELECT couple FROM table_26375386_18 WHERE result = "Bottom two"
How many golds have a bronze less than 1, and a silver less than 1?
CREATE TABLE table_name_82 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_82 WHERE bronze < 1 AND silver < 1
What is the Record of the game with a Score of 65-48?
CREATE TABLE table_name_38 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_38 WHERE score = "65-48"
Name the del pueblo for centennial 1988
CREATE TABLE table_15977768_1 (del_pueblo VARCHAR, centennial VARCHAR)
SELECT del_pueblo FROM table_15977768_1 WHERE centennial = "1988"
What is the nationality of the player in Position C from Round 1?
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_17 WHERE round = "1" AND position = "c"
What was home team Essendon's opponents score?
CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_9 WHERE home_team = "essendon"
What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?
CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR)
SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103
What is the weight for western ontario college?
CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR)
SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario"
Name the rank with finish of 12 and year of 1963
CREATE TABLE table_name_29 (rank VARCHAR, finish VARCHAR, year VARCHAR)
SELECT rank FROM table_name_29 WHERE finish = "12" AND year = "1963"
Name the h when c max is 99
CREATE TABLE table (h VARCHAR, c__max_ VARCHAR)
SELECT h FROM table WHERE c__max_ = 99
In what event was the compulsory dance score 28.12?
CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12"
Show all branch names with the number of members in each branch registered after 2015.
CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year INTEGER)
SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
what is the average b score when the gymnast is kōhei uchimura ( jpn )?
CREATE TABLE table_name_20 (b_score INTEGER, gymnast VARCHAR)
SELECT AVG(b_score) FROM table_name_20 WHERE gymnast = "kōhei uchimura ( jpn )"
What is the highest population of the region with a rank bigger than 9?
CREATE TABLE table_name_29 (population INTEGER, rank INTEGER)
SELECT MAX(population) FROM table_name_29 WHERE rank > 9
Who was the host team when the Miami Dolphins were the visiting team?
CREATE TABLE table_name_33 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_33 WHERE visiting_team = "miami dolphins"
What is the Score with a Visitor of bucks, and a Leading scorer with maurice williams (25)?
CREATE TABLE table_name_81 (score VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
SELECT score FROM table_name_81 WHERE visitor = "bucks" AND leading_scorer = "maurice williams (25)"
What were the official itv ratings in millions for semi-final 5?
CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, episode VARCHAR)
SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5"
How many roles are there?
CREATE TABLE ROLES (Id VARCHAR)
SELECT COUNT(*) FROM ROLES
What is the title of episode 10?
CREATE TABLE table_29436059_1 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_29436059_1 WHERE no_in_season = 10
For the week of August 6, who is the finalist?
CREATE TABLE table_name_26 (finalist VARCHAR, week VARCHAR)
SELECT finalist FROM table_name_26 WHERE week = "august 6"
What is the To par of the Player with a Score of 73-70-71-72=286?
CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_35 WHERE score = 73 - 70 - 71 - 72 = 286
What is the lowest number of minutes for a player with 47 steals?
CREATE TABLE table_24856332_4 (minutes INTEGER, steals VARCHAR)
SELECT MIN(minutes) FROM table_24856332_4 WHERE steals = 47
Which country placed t5?
CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR)
SELECT country FROM table_name_6 WHERE place = "t5"
What is the highest Week, when Date is "November 8, 1970"?
CREATE TABLE table_name_66 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970"
Who was the opponent in week 6?
CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_89 WHERE week = 6
What is the other that has 20.80% as the firefox?
CREATE TABLE table_name_85 (other VARCHAR, firefox VARCHAR)
SELECT other FROM table_name_85 WHERE firefox = "20.80%"
When did the first payment happen?
CREATE TABLE payment (payment_date VARCHAR)
SELECT payment_date FROM payment ORDER BY payment_date LIMIT 1
What was the inroductory phase for the episode with neil shubin as a guest?
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR)
SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin"
What is the RYds when the RAtt was 2, and the comp is 41?
CREATE TABLE table_name_35 (ryds VARCHAR, ratt VARCHAR, comp VARCHAR)
SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41"
What is the location of the school named Brisbane Girls' Grammar School?
CREATE TABLE table_11318462_29 (location VARCHAR, school VARCHAR)
SELECT location FROM table_11318462_29 WHERE school = "Brisbane Girls' Grammar school"
What is the date of the second round?
CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR)
SELECT date FROM table_name_66 WHERE round = "second round"
What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?
CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate?
CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR)
SELECT standard_name FROM table_name_49 WHERE version = "adsl2" AND downstream_rate = "01.5 1.5 mbit/s"
Which venue has 13,634 people in attendance?
CREATE TABLE table_name_57 (venue VARCHAR, attendance VARCHAR)
SELECT venue FROM table_name_57 WHERE attendance = "13,634"
Find the number of rooms with king bed for each decor type.
CREATE TABLE Rooms (decor VARCHAR, bedType VARCHAR)
SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor
What day was the appointment when Credentials Presented was jul 2, 1969?
CREATE TABLE table_name_79 (appointment VARCHAR, credentials_presented VARCHAR)
SELECT appointment FROM table_name_79 WHERE credentials_presented = "jul 2, 1969"
Show the employee ids for all employees with role name "Human Resource" or "Manager".
CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)
SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager"
List the names, color descriptions and product descriptions of products with category "Herbs".
CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)
SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"
What is the series 4 with sarah newman in series 1?
CREATE TABLE table_name_70 (series_4 VARCHAR, series_1 VARCHAR)
SELECT series_4 FROM table_name_70 WHERE series_1 = "sarah newman"
When is the Geelong game?
CREATE TABLE table_name_26 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_26 WHERE home_team = "geelong"
What stadium was used on November 13?
CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_45 WHERE date = "november 13"
What is population in the world when 788 (8.1%)?
CREATE TABLE table_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)
SELECT MIN(world) FROM table_19017269_5 WHERE latin_america_caribbean = "788 (8.1%)"
How many points were scored when the record was 6-8-6?
CREATE TABLE table_17360840_5 (points VARCHAR, record VARCHAR)
SELECT COUNT(points) FROM table_17360840_5 WHERE record = "6-8-6"
What is the OS X for the Home Media Center?
CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR)
SELECT os_x FROM table_name_88 WHERE name = "home media center"
what is the swimsuit score when the semifinal average score is 8.367 (10)?
CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR)
SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)"
What opposing team has second test as the status?
CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR)
SELECT opposing_team FROM table_name_12 WHERE status = "second test"
how many records were made on february 22
CREATE TABLE table_20010140_10 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_20010140_10 WHERE date = "February 22"
What is the value of D 45 O, when the value of D 41 √ is r 41 √?
CREATE TABLE table_name_60 (d_45_o VARCHAR, d_41_√ VARCHAR)
SELECT d_45_o FROM table_name_60 WHERE d_41_√ = "r 41 √"
WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON?
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_16 WHERE away_team = "workington"
What was the report when the average speed (mph) was 87.599?
CREATE TABLE table_2175685_1 (report VARCHAR, average_speed__mph_ VARCHAR)
SELECT report FROM table_2175685_1 WHERE average_speed__mph_ = "87.599"
What stadium is in the city of Debrecen?
CREATE TABLE table_name_81 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_81 WHERE city = "debrecen"
How many game sites are there where the team record is 1–7?
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR)
SELECT COUNT(game_site) FROM table_25380472_2 WHERE team_record = "1–7"
WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED?
CREATE TABLE table_name_48 (tournament VARCHAR)
SELECT 2011 FROM table_name_48 WHERE tournament = "tournaments played"
Which year first played with Double W-L of 8–3?
CREATE TABLE table_name_12 (first_year_played VARCHAR, doubles_w_l VARCHAR)
SELECT first_year_played FROM table_name_12 WHERE doubles_w_l = "8–3"
Which show was sent to syndication for its new/returning/same network.
CREATE TABLE table_169766_13 (show VARCHAR, new_returning_same_network VARCHAR)
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication"
What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283?
CREATE TABLE table_name_67 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_67 WHERE to_par = "+3" AND score = 76 - 69 - 69 - 69 = 283
What is the party of the minister who left office on 26 November 2002?
CREATE TABLE table_name_3 (party VARCHAR, left_office VARCHAR)
SELECT party FROM table_name_3 WHERE left_office = "26 november 2002"
How many years did Peter Lorimer play?
CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR)
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE player = "Peter Lorimer"
What is the Name, when the Time is 8:10.1?
CREATE TABLE table_name_92 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_92 WHERE time = "8:10.1"
How many episodes did Julie Martin wrote for the show If every episode has its own production code?
CREATE TABLE table_17623902_1 (production_code VARCHAR, written_by VARCHAR)
SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin"
What is the date for the winner Universitario after the 1943 season?
CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR)
SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943
Name the cyrillic name for orthodox christianity village and bačko dobro polje
CREATE TABLE table_2562572_20 (cyrillic_name_other_names VARCHAR, settlement VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_20 WHERE dominant_religion__2002_ = "Orthodox Christianity" AND type = "village" AND settlement = "Bačko Dobro Polje"
How many Latin Americans were there in the Northwest Territories in 2011?
CREATE TABLE table_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR)
SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = "Northwest Territories"
Which pick number attended McMaster College?
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"
What is the Score of the Round with Player Aaron Baddeley having a To par of +2?
CREATE TABLE table_name_61 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_61 WHERE to_par = "+2" AND player = "aaron baddeley"
How many athletes were named federico muller?
CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR)
SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller"
Can you tell me the Name that has the Height of 6-5, and the Year of junior?
CREATE TABLE table_name_55 (name VARCHAR, height VARCHAR, year VARCHAR)
SELECT name FROM table_name_55 WHERE height = "6-5" AND year = "junior"
How large was the crowd when North Melbourne played as the away team?
CREATE TABLE table_name_62 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_62 WHERE away_team = "north melbourne"
Date of november 29, 1959 had what lowest attendance?
CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_7 WHERE date = "november 29, 1959"
What years did the player with a t71 finish win?
CREATE TABLE table_name_68 (year_s__won VARCHAR, finish VARCHAR)
SELECT year_s__won FROM table_name_68 WHERE finish = "t71"
What town holds Stadion Zlatica?
CREATE TABLE table_28668784_1 (city___town VARCHAR, stadium VARCHAR)
SELECT city___town FROM table_28668784_1 WHERE stadium = "Stadion Zlatica"
What is the score of the game with an 11-32-11 record?
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_40 WHERE record = "11-32-11"
Name the least recognised seats
CREATE TABLE table_19304764_2 (recognised_seats INTEGER)
SELECT MIN(recognised_seats) FROM table_19304764_2
Are the customers holding coupons with amount 500 bad or good?
CREATE TABLE discount_coupons (coupon_id VARCHAR, coupon_amount VARCHAR); CREATE TABLE customers (good_or_bad_customer VARCHAR, coupon_id VARCHAR)
SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.coupon_amount = 500
What is the Mach with Vehicle Flight # m2-f2 #8 and an Altitude (meters) greater than 13,716?
CREATE TABLE table_name_88 (mach INTEGER, vehicle_flight__number VARCHAR, altitude__meters_ VARCHAR)
SELECT SUM(mach) FROM table_name_88 WHERE vehicle_flight__number = "m2-f2 #8" AND altitude__meters_ > 13 OFFSET 716
What is the document id, template id and description for document named "Robbin CV"?
CREATE TABLE Documents (document_id VARCHAR, template_id VARCHAR, Document_Description VARCHAR, document_name VARCHAR)
SELECT document_id, template_id, Document_Description FROM Documents WHERE document_name = "Robbin CV"
What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple?
CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72
What score has houston texans as the opponent?
CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_62 WHERE opponent = "houston texans"
When was the game happening at Halton Stadium?
CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"
What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?
CREATE TABLE table_10602294_1 (damage__usd_ VARCHAR, pressure VARCHAR)
SELECT damage__usd_ FROM table_10602294_1 WHERE pressure = "1003hPa (29.62inHg)"
What is the maximum founded year of the Worcester Tornadoes?
CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR)
SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes"
What is the MHZ frequency in carmel, california with an ERP W over 10?
CREATE TABLE table_name_53 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_53 WHERE city_of_license = "carmel, california" AND erp_w > 10
What is Best, when Name is Jimmy Vasser?
CREATE TABLE table_name_17 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_17 WHERE name = "jimmy vasser"
Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?
CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR)
SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niño"
Which class had a quantity made of 20?
CREATE TABLE table_name_19 (class VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_19 WHERE quantity_made = "20"
What are the highest points that have a year less than 1992, with wins less than 0?
CREATE TABLE table_name_49 (points INTEGER, year VARCHAR, wins VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE year < 1992 AND wins < 0
What is the score when Philadelphia was the visitor with a Record of 7–4–0?
CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"
What is the s B share for the shareholder that has 2.12 percent of votes?
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
SELECT MIN(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.12"
What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman?
CREATE TABLE table_name_18 (year INTEGER, role VARCHAR, title VARCHAR)
SELECT MIN(year) FROM table_name_18 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "alvin and the chipmunks meet the wolfman"
Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
CREATE TABLE table_name_64 (inns INTEGER, seasons VARCHAR, runs VARCHAR)
SELECT MAX(inns) FROM table_name_64 WHERE seasons = "1987–2007" AND runs > 11622
Which high school is located in Kyoto?
CREATE TABLE table_2518850_4 (high_school_name VARCHAR, prefecture VARCHAR)
SELECT high_school_name FROM table_2518850_4 WHERE prefecture = "Kyoto"
When was the score 123-112?
CREATE TABLE table_name_97 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_97 WHERE score = "123-112"
What is the Decision listed when the Home was Colorado?
CREATE TABLE table_name_28 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_28 WHERE home = "colorado"
Who built the Jim Crawford car?
CREATE TABLE table_name_76 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_76 WHERE driver = "jim crawford"
What is the average number of goals of the player with 234 apps and a rank above 8?
CREATE TABLE table_name_13 (goals INTEGER, apps VARCHAR, rank VARCHAR)
SELECT AVG(goals) FROM table_name_13 WHERE apps = 234 AND rank < 8
What is the Nationality when the club team is Peterborough Petes (OHL)?
CREATE TABLE table_11803648_20 (nationality VARCHAR, club_team VARCHAR)
SELECT nationality FROM table_11803648_20 WHERE club_team = "Peterborough Petes (OHL)"
What are the headquarters and industries of all companies?
CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR)
SELECT Headquarters, Industry FROM company