question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the record for july 18
CREATE TABLE table_17103645_10 (record VARCHAR, date VARCHAR)
SELECT record FROM table_17103645_10 WHERE date = "July 18"
What is the number of losses when there were less than 4 draws, and points were 9?
CREATE TABLE table_name_36 (losses VARCHAR, draws VARCHAR, points VARCHAR)
SELECT losses FROM table_name_36 WHERE draws < 4 AND points = 9
How many values reflect the overall record of the team coached by Frank Beamer?
CREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR)
SELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = "Frank Beamer"
How many bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen?
CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR)
SELECT COUNT(bowler) FROM table_22962745_35 WHERE batsmen = "David Hussey Azhar Mahmood Gurkeerat Singh"
How many buddhists are where s jain have 941?
CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR)
SELECT buddhist FROM table_14598_5 WHERE s_jain = "941"
What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?
CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)
SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28"
Which grade did the chin-up (reps) 9-10 receive?
CREATE TABLE table_name_54 (grade VARCHAR, chin_up__reps_ VARCHAR)
SELECT grade FROM table_name_54 WHERE chin_up__reps_ = "9-10"
What is the to par of player tom weiskopf, who has a 71-74=145 score?
CREATE TABLE table_name_60 (to_par VARCHAR, player VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_60 WHERE score = 71 - 74 = 145 AND player = "tom weiskopf"
Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?
CREATE TABLE table_name_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR)
SELECT number_of_electorates__2009_ FROM table_name_21 WHERE reserved_for___sc___st__none_ = "total:"
What is the NFL club with pick # 153?
CREATE TABLE table_name_60 (nfl_club VARCHAR, pick VARCHAR)
SELECT nfl_club FROM table_name_60 WHERE pick = 153
what is the place when losses is less than 12 and points is less than 19?
CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19
Which Tatsuhito Takaiwa has a Koji Kanemoto of liger (20:29)?
CREATE TABLE table_name_38 (tatsuhito_takaiwa VARCHAR, koji_kanemoto VARCHAR)
SELECT tatsuhito_takaiwa FROM table_name_38 WHERE koji_kanemoto = "liger (20:29)"
What are the special notes for an issue price under 24.95 with an edmonton oilers theme?
CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR)
SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers"
What date did the episode with a weekly ranking of 14 air?
CREATE TABLE table_name_62 (airdate VARCHAR, bbc_one_weekly_ranking VARCHAR)
SELECT airdate FROM table_name_62 WHERE bbc_one_weekly_ranking = 14
what are all the report where winning constructor is williams - renault and grand prix is south african grand prix
CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR)
SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AND grand_prix = "South African grand_prix"
Which nation has a heat of 4, and is ranked 8?
CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 8
Name the samurai for stampede of t. mask
CREATE TABLE table_name_97 (samurai VARCHAR, stampede VARCHAR)
SELECT samurai FROM table_name_97 WHERE stampede = "t. mask"
What is the frequency of the train named Garib nwaz exp?
CREATE TABLE table_name_10 (frequency__inbound_outbound_ VARCHAR, train_name VARCHAR)
SELECT frequency__inbound_outbound_ FROM table_name_10 WHERE train_name = "garib nwaz exp"
What is the location of the match against Martinis Knyzelis?
CREATE TABLE table_name_75 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_75 WHERE opponent = "martinis knyzelis"
Which FIS Nordic World Ski Championships has Winter Olympics of 1960?
CREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = "1960"
what is the highest game when the team is @boston and the series is 0-1?
CREATE TABLE table_name_53 (game INTEGER, team VARCHAR, series VARCHAR)
SELECT MAX(game) FROM table_name_53 WHERE team = "@boston" AND series = "0-1"
What is every year with average start of 27.2?
CREATE TABLE table_2597876_2 (year VARCHAR, avg_start VARCHAR)
SELECT year FROM table_2597876_2 WHERE avg_start = "27.2"
What sport had a final score of 3-2?
CREATE TABLE table_10548224_1 (sport VARCHAR, final_score VARCHAR)
SELECT sport FROM table_10548224_1 WHERE final_score = "3-2"
What was the length of the jumper representing FIN, in meters?
CREATE TABLE table_14407512_4 (nationality VARCHAR)
SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN"
What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996?
CREATE TABLE table_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 1996
What is the sum of the laps with a grid less than 28, retirement time, and a ducati 1098 f08 bikes?
CREATE TABLE table_name_5 (laps INTEGER, bike VARCHAR, grid VARCHAR, time VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid < 28 AND time = "retirement" AND bike = "ducati 1098 f08"
Who is the GC leader at ávila - segovia?
CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR)
SELECT gc_leader FROM table_name_51 WHERE course = "ávila - segovia"
What shows for series 4 when the seat shows 1?
CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR)
SELECT series_4 FROM table_name_27 WHERE seat = 1
What method does the opponent of Dan New use?
CREATE TABLE table_name_90 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_90 WHERE opponent = "dan new"
What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?
CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR)
SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251
Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
CREATE TABLE table_name_37 (week_6_oct_5 VARCHAR, week_14_nov_30 VARCHAR)
SELECT week_6_oct_5 FROM table_name_37 WHERE week_14_nov_30 = "texas (11-1)"
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"
Which rank has a total smaller than 1?
CREATE TABLE table_name_23 (rank INTEGER, total INTEGER)
SELECT AVG(rank) FROM table_name_23 WHERE total < 1
What is the dimensions of the u50 appliance?
CREATE TABLE table_name_27 (dimensions VARCHAR, name VARCHAR)
SELECT dimensions FROM table_name_27 WHERE name = "u50"
What was the result for the 2007 WCC when Sun Yue was the alternate?
CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR)
SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc"
How many trips started from Mountain View city and ended at Palo Alto city?
CREATE TABLE station (city VARCHAR, id VARCHAR); CREATE TABLE trip (end_station_id VARCHAR, id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR); CREATE TABLE trip (start_station_id VARCHAR, id VARCHAR)
SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = "Mountain View" AND T3.city = "Palo Alto"
What was the highest number of points in 1966?
CREATE TABLE table_name_99 (points INTEGER, year VARCHAR)
SELECT MAX(points) FROM table_name_99 WHERE year = 1966
How many events for orville moody, ranking below 3?
CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR)
SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = "orville moody"
What is Second Vice President, when Inaugurated is "15 March 1935"?
CREATE TABLE table_name_49 (second_vice_president VARCHAR, inaugurated VARCHAR)
SELECT second_vice_president FROM table_name_49 WHERE inaugurated = "15 march 1935"
What is the target market of the station with call sign KFXS?
CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)
SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS"
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954"
How many byes were then when there were less than 737 against?
CREATE TABLE table_name_13 (byes INTEGER, against INTEGER)
SELECT SUM(byes) FROM table_name_13 WHERE against < 737
Which Result has a Week smaller than 11, and Attendance of 17,568?
CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_87 WHERE week < 11 AND attendance = "17,568"
What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160
CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR)
SELECT COUNT(size__steps_) FROM table_name_26 WHERE just_ratio = "10:9" AND size__cents_ > 160
Can you tell me the High rebounds that has the Date of november 5?
CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_16 WHERE date = "november 5"
Who are all the candidates who ran in the district where Ralph Regula is the incumbent?
CREATE TABLE table_1341577_36 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341577_36 WHERE incumbent = "Ralph Regula"
What is Score, when Player is "Bill Rogers"?
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_80 WHERE player = "bill rogers"
What was the air date of the episode with the production code of 322?
CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322
When did the 55 kg participant race?
CREATE TABLE table_14981555_1 (date VARCHAR, weight__kg_ VARCHAR)
SELECT date FROM table_14981555_1 WHERE weight__kg_ = "55"
When in 2008 that has a 2007 of f?
CREATE TABLE table_name_30 (Id VARCHAR)
SELECT 2008 FROM table_name_30 WHERE 2007 = "f"
Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.
CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)
SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)
what's the district  with candidates being william madison whittington (d) unopposed
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342379_23 WHERE candidates = "William Madison Whittington (D) Unopposed"
What is the highest bronze when the silver was 0, the gold was larger than 0, and the total was larger than 2?
CREATE TABLE table_name_67 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_67 WHERE silver = 0 AND gold > 0 AND total > 2
What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer?
CREATE TABLE table_name_78 (episode VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)
SELECT COUNT(episode) FROM table_name_78 WHERE performer_1 = "jim sweeney" AND performer_2 = "steve steen"
How many numbers were listed under losing bonus when there were 68 tries for?
CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR)
SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68"
What is the Money of the Player in Place 5?
CREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = "5"
Name the final score for exhibition stadium for september 10
CREATE TABLE table_24126518_2 (final_score VARCHAR, location VARCHAR, date VARCHAR)
SELECT final_score FROM table_24126518_2 WHERE location = "Exhibition Stadium" AND date = "September 10"
Which player has West Virginia listed as their school/country?
CREATE TABLE table_name_11 (player VARCHAR, school_country VARCHAR)
SELECT player FROM table_name_11 WHERE school_country = "west virginia"
What town is Muscle Shoals High School located in?
CREATE TABLE table_11677691_10 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677691_10 WHERE school = "Muscle Shoals High school"
How many appointments are there?
CREATE TABLE appointment (Id VARCHAR)
SELECT COUNT(*) FROM appointment
Find the pixels of the screen modes that are used by both phones with full accreditation types and phones with Provisional accreditation types.
CREATE TABLE phone (screen_mode VARCHAR, Accreditation_type VARCHAR); CREATE TABLE screen_mode (pixels VARCHAR, Graphics_mode VARCHAR)
SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Full'
What is the lowest total?
CREATE TABLE table_19439864_2 (total INTEGER)
SELECT MIN(total) FROM table_19439864_2
What is the catalogue number for "Waves in the Air"?
CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_title VARCHAR)
SELECT catalogue_number FROM table_27932399_1 WHERE release_title = "Waves In The Air"
What was the score for United States when the player was Mike Reid and the To par was e?
CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT score FROM table_name_30 WHERE country = "united states" AND to_par = "e" AND player = "mike reid"
What party does incumbent Charles Edward Bennett belong to?
CREATE TABLE table_1341598_10 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341598_10 WHERE incumbent = "Charles Edward Bennett"
what is the total levels in 2007?
CREATE TABLE table_name_7 (level INTEGER, season VARCHAR)
SELECT SUM(level) FROM table_name_7 WHERE season = 2007
What is the national share of Guizhou's administrative division?
CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, administrative_division VARCHAR)
SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou"
Who is the July playmate with a December playmate Morgan Fox?
CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)
SELECT july FROM table_name_58 WHERE december = "morgan fox"
How many people attended when opponent was twins?
CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "twins"
Who was the home team with 3305 in attendance?
CREATE TABLE table_name_27 (home VARCHAR, attendance VARCHAR)
SELECT home FROM table_name_27 WHERE attendance = 3305
What was the home team score at North Melbourne's away game?
CREATE TABLE table_name_11 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_11 WHERE away_team = "north melbourne"
How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?
CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR)
SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt"
What is Trevor Cann's nationality?
CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_10 WHERE player = "trevor cann"
How many candidates were there in the year of 1987?
CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR)
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987"
What Field was played at in an away game against the bayhawks?
CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR)
SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks"
How many byes when the draws are less than 0?
CREATE TABLE table_name_22 (byes VARCHAR, draws INTEGER)
SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0
What was the sum for a top-10 U.S. open that had a top-25 bigger than 0?
CREATE TABLE table_name_83 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT SUM(top_10) FROM table_name_83 WHERE tournament = "u.s. open" AND top_25 > 0
What location was the game played at when Richmond was the away team?
CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_2 WHERE away_team = "richmond"
What shows for traditional when the population was 44,803?
CREATE TABLE table_name_14 (traditional VARCHAR, population VARCHAR)
SELECT traditional FROM table_name_14 WHERE population = "44,803"
What team was the opponent at Mile High Stadium?
CREATE TABLE table_13259009_2 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_13259009_2 WHERE game_site = "Mile High Stadium"
What is the opposing team with 11 against?
CREATE TABLE table_name_7 (opposing_teams VARCHAR, against VARCHAR)
SELECT opposing_teams FROM table_name_7 WHERE against = 11
Who was the opponent on 19 February 2011?
CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_97 WHERE date = "19 february 2011"
What rank is Belarus (BLR), which earned 15 medals total?
CREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus (blr)" AND total < 15
How many Picks have a Position of kicker, and an Overall smaller than 137?
CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137
What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?
CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)
SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973"
What is the ICAO for Asiana Airlines?
CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR)
SELECT icao FROM table_name_8 WHERE airline = "asiana airlines"
Who was eliminated on Banana Night?
CREATE TABLE table_name_33 (name VARCHAR, eliminated VARCHAR)
SELECT name FROM table_name_33 WHERE eliminated = "banana night"
How many players are on this list?
CREATE TABLE table_197638_6 (_number INTEGER)
SELECT MAX(_number) FROM table_197638_6
The winner and nominee 'Hidden Agenda' is from which country?
CREATE TABLE table_name_69 (country VARCHAR, winner_and_nominees VARCHAR)
SELECT country FROM table_name_69 WHERE winner_and_nominees = "hidden agenda"
Name of rivelino had how many highest caps?
CREATE TABLE table_name_65 (caps INTEGER, name VARCHAR)
SELECT MAX(caps) FROM table_name_65 WHERE name = "rivelino"
What was the method of resolution for the fight against jake brown?
CREATE TABLE table_name_77 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_77 WHERE opponent = "jake brown"
List the full name (first and last name), and salary for those employees who earn below 6000.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER)
SELECT first_name, last_name, salary FROM employees WHERE salary < 6000
What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58?
CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR)
SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58
How many stadiums are there?
CREATE TABLE stadium (Id VARCHAR)
SELECT COUNT(*) FROM stadium
In 2011, how many tourists visited the country that had 23.4 million tourists in 2012?
CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)
SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million"
Which Team/Chassis has a Year larger than 1987?
CREATE TABLE table_name_46 (team_chassis VARCHAR, year INTEGER)
SELECT team_chassis FROM table_name_46 WHERE year > 1987
What is Roman Bragin's position?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_14038363_1 WHERE player = "Roman Bragin"
what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28?
CREATE TABLE table_name_14 (city VARCHAR, floors VARCHAR, height__m_ VARCHAR, height__ft_ VARCHAR, rank VARCHAR)
SELECT city FROM table_name_14 WHERE height__ft_ > 328.1 AND rank > 56 AND height__m_ = 103 AND floors < 28
What is the colonized date for Michigan?
CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR)
SELECT colonized FROM table_name_92 WHERE state = "michigan"
What is the class of the a1 bm type?
CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_10 WHERE type = "a1 bm"