question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which hometown is the played Dajuan Wagner from?
CREATE TABLE table_name_11 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_name_11 WHERE player = "dajuan wagner"
Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob?
CREATE TABLE table_name_39 (no_5 VARCHAR, no_4 VARCHAR, no_8 VARCHAR, no_10 VARCHAR)
SELECT no_5 FROM table_name_39 WHERE no_8 = "logan" AND no_10 = "ethan" AND no_4 = "jacob"
On what date was the race in Melbourne, Victoria?
CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR)
SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria"
What type of settlement has a population of 1441?
CREATE TABLE table_2562572_26 (type VARCHAR, population__2011_ VARCHAR)
SELECT type FROM table_2562572_26 WHERE population__2011_ = 1441
What was the score of the tie that had Tottenham Hotspur as the home team?
CREATE TABLE table_name_35 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_35 WHERE home_team = "tottenham hotspur"
What is the label that has the most albums?
CREATE TABLE albums (label VARCHAR)
SELECT label FROM albums GROUP BY label ORDER BY COUNT(*) DESC LIMIT 1
When tony kanaan is the driver what is the average speed miles per hour?
CREATE TABLE table_1771753_3 (average_speed__mph_ VARCHAR, driver VARCHAR)
SELECT average_speed__mph_ FROM table_1771753_3 WHERE driver = "Tony Kanaan"
When the A Score was larger than 5.933 with a total of 19.833, what nation was this?
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833
What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə?
CREATE TABLE table_23915_4 (translation VARCHAR, ipa___são_paulo__ VARCHAR)
SELECT translation FROM table_23915_4 WHERE ipa___são_paulo__ = "dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə"
Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club"
Which country has a rand of 2 and a silver less than 6?
CREATE TABLE table_name_42 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_42 WHERE rank = "2" AND silver < 6
What was the home team's score at Corio Oval?
CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_20 WHERE venue = "corio oval"
What is the average total medals of the team with 2 gold and less than 1 silver?
CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1
What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473?
CREATE TABLE table_name_21 (assists VARCHAR, minutes VARCHAR, player VARCHAR, position VARCHAR, goals VARCHAR)
SELECT COUNT(assists) FROM table_name_21 WHERE position = "striker" AND goals < 4 AND player = "edmundo rodriguez" AND minutes < 473
What amount of Gold does Russia have and have a rank larger than 1?
CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_8 WHERE nation = "russia" AND rank > 1
What is Madeleine Dupont's shot pct.?
CREATE TABLE table_name_96 (shot_pct VARCHAR, skip VARCHAR)
SELECT shot_pct FROM table_name_96 WHERE skip = "madeleine dupont"
What is download bandwith where the provider is deutsche telekom ag?
CREATE TABLE table_1773908_3 (down__up_to_kbit_s_ INTEGER, provider VARCHAR)
SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = "Deutsche Telekom AG"
What is the highest grid that has 55 laps?
CREATE TABLE table_name_1 (grid INTEGER, laps VARCHAR)
SELECT MAX(grid) FROM table_name_1 WHERE laps = 55
What is the number of departments in Division "AS"?
CREATE TABLE DEPARTMENT (Division VARCHAR)
SELECT COUNT(*) FROM DEPARTMENT WHERE Division = "AS"
Who directed the episode that had a production code of 2j5457?
CREATE TABLE table_25851971_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457"
Which 1st (m) is the lowest one that has a Nationality of aut, and Points larger than 273.5?
CREATE TABLE table_name_28 (nationality VARCHAR, points VARCHAR)
SELECT MIN(1 AS st__m_) FROM table_name_28 WHERE nationality = "aut" AND points > 273.5
Which Club has a Rank of 1?
CREATE TABLE table_name_69 (club VARCHAR, rank VARCHAR)
SELECT club FROM table_name_69 WHERE rank = "1"
How many different municipal mayors were there in the municipality with an area of 42.66 km2?
CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"
Name the school/club team for jawann oldham
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_15621965_14 WHERE player = "Jawann Oldham"
what's the frequency mhz with city of license being chattanooga, tennessee
CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = "Chattanooga, Tennessee"
What is the Home team score for the Home team of Melbourne?
CREATE TABLE table_name_98 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_98 WHERE home_team = "melbourne"
Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR)
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada"
Away result of 0–3, and a Season of 1969-70 is what competition?
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)
SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70"
What are the record companies of orchestras in descending order of years in which they were founded?
CREATE TABLE orchestra (Record_Company VARCHAR, Year_of_Founded VARCHAR)
SELECT Record_Company FROM orchestra ORDER BY Year_of_Founded DESC
What's the zodiac sing for the month whose transcription is Karakadakhom?
CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR)
SELECT zodiac_sign FROM table_20354_5 WHERE transcription = "karakadakhom"
Find the number and average age of students living in each city.
CREATE TABLE student (city_code VARCHAR, age INTEGER)
SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code
Which team opponent had a loss with their pitcher Dotson (8-6)?
CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)"
Street Address of 401 n. wabash avenue involves what name?
CREATE TABLE table_name_32 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_32 WHERE street_address = "401 n. wabash avenue"
Who was the winning team for circuit zolder?
CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR)
SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"
Name the most founded for bison
CREATE TABLE table_27378582_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = "Bison"
What's the record of the game that Leandro Barbosa (32) had the high points?
CREATE TABLE table_name_12 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_12 WHERE high_points = "leandro barbosa (32)"
What rank is the nation that has a bronze of source: Maltese Olympic Committee?
CREATE TABLE table_name_29 (rank VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_29 WHERE bronze = "source: maltese olympic committee"
What is the source of a move from Swindon Town?
CREATE TABLE table_name_43 (source VARCHAR, moving_from VARCHAR)
SELECT source FROM table_name_43 WHERE moving_from = "swindon town"
Which home team's venue is Windy Hill?
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_86 WHERE venue = "windy hill"
List the most common type of artworks.
CREATE TABLE artwork (TYPE VARCHAR)
SELECT TYPE FROM artwork GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
Who is the player with a t8 place?
CREATE TABLE table_name_67 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_67 WHERE place = "t8"
What is the amount of trees, that require replacement when district is leninsky?
CREATE TABLE table_10342194_3 (amount_of_trees VARCHAR, _that_require_replacement VARCHAR, district VARCHAR)
SELECT amount_of_trees, _that_require_replacement FROM table_10342194_3 WHERE district = "Leninsky"
Who was the opponent with a Loss of Leal (1–4)?
CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_35 WHERE loss = "leal (1–4)"
What is the Results¹ that was a friendly game and played on June 25?
CREATE TABLE table_name_12 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
SELECT results¹ FROM table_name_12 WHERE type_of_game = "friendly" AND date = "june 25"
How many times was the finish t32?
CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR)
SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"
What is the home team score when the away team is Melbourne?
CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_95 WHERE away_team = "melbourne"
What is the sum of the points when there are fewer than 4 games?
CREATE TABLE table_name_87 (points INTEGER, games INTEGER)
SELECT SUM(points) FROM table_name_87 WHERE games < 4
What is the Record with a Leading scorer with andrew bogut (29)?
CREATE TABLE table_name_49 (record VARCHAR, leading_scorer VARCHAR)
SELECT record FROM table_name_49 WHERE leading_scorer = "andrew bogut (29)"
What is the amount of oil terminal in 2004?
CREATE TABLE table_name_51 (product VARCHAR)
SELECT 2004 FROM table_name_51 WHERE product = "oil terminal"
How many points are for the Fall Bay RFC club?
CREATE TABLE table_name_91 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_91 WHERE club = "fall bay rfc"
What were the original teams for the season that was won at-home by Mark Pinkhasovich?
CREATE TABLE table_name_15 (original_teams VARCHAR, at_home_winner VARCHAR)
SELECT original_teams FROM table_name_15 WHERE at_home_winner = "mark pinkhasovich"
What is the result on November 1, 1992?
CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_53 WHERE date = "november 1, 1992"
What september has 10.35 in November?
CREATE TABLE table_15945862_1 (september VARCHAR, november VARCHAR)
SELECT september FROM table_15945862_1 WHERE november = "10.35"
What was the score when Altrincham was home?
CREATE TABLE table_name_26 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_26 WHERE home_team = "altrincham"
The boat named Agamemnon has what status?
CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_94 WHERE name = "agamemnon"
What was the score for the away team, southport?
CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_19 WHERE away_team = "southport"
Who was the winner on 28 December 2007?
CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_59 WHERE date = "28 december 2007"
What was the result of events held at Nor Elverum, prior to 2010?
CREATE TABLE table_name_22 (result VARCHAR, year VARCHAR, venue VARCHAR)
SELECT result FROM table_name_22 WHERE year < 2010 AND venue = "nor elverum"
What is the lowest attendance total on August 26?
CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_71 WHERE date = "august 26"
How many verbs mean to grow, to produce
CREATE TABLE table_1745843_10 (part_1 VARCHAR, verb_meaning VARCHAR)
SELECT COUNT(part_1) FROM table_1745843_10 WHERE verb_meaning = "to grow, to produce"
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"
What is the NCBI Accession Number for the length of 5304bp/377aa?
CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR)
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa"
What's the total long for an avg/g over 0.2, fewer than 2 loss, and a gain less than 8?
CREATE TABLE table_name_30 (long VARCHAR, gain VARCHAR, avg_g VARCHAR, loss VARCHAR)
SELECT COUNT(long) FROM table_name_30 WHERE avg_g > 0.2 AND loss < 2 AND gain < 8
What is the q1+q2 time in which q1 is 1:18.574?
CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574"
Name the stock for colt model mt6601
CREATE TABLE table_12834315_4 (stock VARCHAR, colt_model_no VARCHAR)
SELECT stock FROM table_12834315_4 WHERE colt_model_no = "MT6601"
What is the paper type that the one that was issued on 26 july 2007 done on?
CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR)
SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007"
Name the lowest Round with Opponent of rolando delgado?
CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_18 WHERE opponent = "rolando delgado"
Tell me the lowest other for albanians more than 8793 and Roma less than 1030
CREATE TABLE table_name_47 (other INTEGER, albanians VARCHAR, roma VARCHAR)
SELECT MIN(other) FROM table_name_47 WHERE albanians > 8793 AND roma < 1030
How high was the highest building in feet in the city of cologne?
CREATE TABLE table_name_66 (height__ft_ INTEGER, city VARCHAR)
SELECT MAX(height__ft_) FROM table_name_66 WHERE city = "cologne"
At what game number was the attendance at Conseco Fieldhouse 14,486?
CREATE TABLE table_17288825_7 (game INTEGER, location_attendance VARCHAR)
SELECT MAX(game) FROM table_17288825_7 WHERE location_attendance = "Conseco Fieldhouse 14,486"
What episode has average ratings of 7.4%?
CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR)
SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%"
what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?
CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)
SELECT AVG(shot_volume__cm_3__) FROM table_name_73 WHERE shot_diameter__cm_ < 6.04
What was the game site week 15?
CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_79 WHERE week = 15
What was the result when the opponent was Celtic?
CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_55 WHERE opponent = "celtic"
How many games occur on the date December 12?
CREATE TABLE table_17325580_6 (game VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_17325580_6 WHERE date = "December 12"
Which divisions have 565 as the number of winning tickets?
CREATE TABLE table_20195922_3 (divisions VARCHAR, number_of_winning_tickets VARCHAR)
SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565
Who had the high assists in Game 22?
CREATE TABLE table_name_85 (high_assists VARCHAR, game VARCHAR)
SELECT high_assists FROM table_name_85 WHERE game = 22
What suumer team was James Lomangino from St. John's on?
CREATE TABLE table_20589703_2 (summer_team VARCHAR, college VARCHAR, player VARCHAR)
SELECT summer_team FROM table_20589703_2 WHERE college = "St. John's" AND player = "James Lomangino"
WHAT IS THE POSITION FOR BRAZIL, WITH 27 GOALS, AND FOR NECA?
CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR, nationality VARCHAR, goals VARCHAR)
SELECT position FROM table_name_83 WHERE nationality = "brazil" AND goals = 27 AND name = "neca"
What is the location and what is the attendance of game 38?
CREATE TABLE table_15780049_6 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_15780049_6 WHERE game = 38
What is the year listed when tied is listed as 11?
CREATE TABLE table_28848697_4 (year VARCHAR, tied VARCHAR)
SELECT year FROM table_28848697_4 WHERE tied = 11
Which role did joemon play before 1991?
CREATE TABLE table_name_34 (role VARCHAR, year VARCHAR, direction VARCHAR)
SELECT role FROM table_name_34 WHERE year < 1991 AND direction = "joemon"
Tell me the team 2 for team 1 being la nuova piovese (veneto a)
CREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)
SELECT team_2 FROM table_name_46 WHERE team_1 = "la nuova piovese (veneto a)"
Which ZX Spectrum has a C=64 of c64, and a Title of ankh?
CREATE TABLE table_name_7 (zx_spectrum VARCHAR, c64 VARCHAR, title VARCHAR, c VARCHAR)
SELECT zx_spectrum FROM table_name_7 WHERE c = 64 = c64 AND title = "ankh"
Which rider has a lap of 23, grid smaller than 18, and time +44.333?
CREATE TABLE table_name_29 (rider VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_29 WHERE laps = 23 AND grid < 18 AND time = "+44.333"
How many languages are in these films?
CREATE TABLE film (language_id VARCHAR)
SELECT COUNT(DISTINCT language_id) FROM film
What was the record at the game against the Blue Jays with a loss of Batista (0–3)?
CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)"
Who reported the game on 6 october?
CREATE TABLE table_name_67 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_67 WHERE date = "6 october"
On the game that put the team at 34-44, what was the attendance?
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
SELECT SUM(attendance) FROM table_name_95 WHERE record = "34-44"
In 1948-10-28, what were the lowest Goals in Tehran, Iran?
CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR)
SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28"
How many scores did Goodman give to "samba / young hearts run free", which was in second place?
CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR)
SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run Free"
Which trip started from the station with the largest dock count? Give me the trip id.
CREATE TABLE trip (id VARCHAR, start_station_id VARCHAR); CREATE TABLE station (id VARCHAR, dock_count VARCHAR)
SELECT T1.id FROM trip AS T1 JOIN station AS T2 ON T1.start_station_id = T2.id ORDER BY T2.dock_count DESC LIMIT 1
when points against is points again, which are the drawn?
CREATE TABLE table_20396710_1 (drawn VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"
Which Lost has Points smaller than 12, and a Drawn larger than 1?
CREATE TABLE table_name_39 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT COUNT(lost) FROM table_name_39 WHERE points < 12 AND drawn > 1
Who won third place in the Zurich Tournament?
CREATE TABLE table_name_34 (third_place VARCHAR, tournament VARCHAR)
SELECT third_place FROM table_name_34 WHERE tournament = "zurich"
What was the Billboard peak for the album released on February 2, 1976 by MCA?
CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)
SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976"
what was the chassis built by simca-gordini and driven by max de terra?
CREATE TABLE table_name_5 (chassis VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_5 WHERE constructor = "simca-gordini" AND driver = "max de terra"
What was John Watson's total laps with a grid of less than 7?
CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_21 WHERE driver = "john watson" AND grid < 7
Who were the guests for the episode with an original airdate of december 07?
CREATE TABLE table_25691838_12 (guest VARCHAR, original_airdate VARCHAR)
SELECT guest FROM table_25691838_12 WHERE original_airdate = "December 07"
What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002?
CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR)
SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002"