answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT score FROM table_name_71 WHERE game = 30 | What was the score for game number 30? | CREATE TABLE table_name_71 (score VARCHAR, game VARCHAR) |
SELECT competition FROM table_name_23 WHERE score = "2-0" AND venue = "amman" | What competition resulted in 2-0 score, hosted in Amman? | CREATE TABLE table_name_23 (competition VARCHAR, score VARCHAR, venue VARCHAR) |
SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio" | What is the power of the Baguio station? | CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR) |
SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos" | How many times was the result is hired by serepisos? | CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR) |
SELECT high_assists FROM table_27744976_6 WHERE date = "November 17" | Who had the high assists on November 17? | CREATE TABLE table_27744976_6 (high_assists VARCHAR, date VARCHAR) |
SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2" | Name the winner for nick nuyens for general classification and stage of 2 | CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) |
SELECT 2009 FROM table_name_5 WHERE 2001 = "not masters series" | What was 2009, when 2001 was, "not masters series"? | CREATE TABLE table_name_5 (Id VARCHAR) |
SELECT COUNT(lowest_mark) FROM table_29842201_1 WHERE _percentage_pass = 76 | How many lowest mark entries are there when % passed is 76? | CREATE TABLE table_29842201_1 (lowest_mark VARCHAR, _percentage_pass VARCHAR) |
SELECT home FROM table_name_38 WHERE date = "november 16, 1946" | What is the Home team on November 16, 1946? | CREATE TABLE table_name_38 (home VARCHAR, date VARCHAR) |
SELECT AVG(gold) FROM table_name_40 WHERE bronze > 1 | What is the average number of gold medals won among the nations that won more than 1 bronze? | CREATE TABLE table_name_40 (gold INTEGER, bronze INTEGER) |
SELECT AVG(popular_votes) FROM table_name_2 WHERE office = "us representative 4" AND percentage = "1.59%" AND year > 1992 | How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? | CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR) |
SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division" | What is every website with specialization of engineering and division of dhaka division? | CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR) |
SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea' | Show paragraph details for paragraph with text 'Korea ' . | CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR) |
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin" | What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? | CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) |
SELECT title FROM table_26429771_1 WHERE no_in_season = 8 | What is the name of chapter 8 of season 4? | CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR) |
SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5 | What is the largest number of Games Played with Losses of 3, and more Wins than 5? | CREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR) |
SELECT home FROM table_name_7 WHERE visitor = "bucks" AND date = "11 march 2008" | In the game on 11 March 2008 with a visiting team of Bucks, who was the home team? | CREATE TABLE table_name_7 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "TCA" | What is the Alpha 2 code for the area also known as TCA? | CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR) |
SELECT score FROM table_name_37 WHERE game = 25 | What is the score of game 25? | CREATE TABLE table_name_37 (score VARCHAR, game VARCHAR) |
SELECT MAX(attendance) FROM table_name_39 WHERE away_team = "wrexham" | What is the highest Attendance when the away team was Wrexham? | CREATE TABLE table_name_39 (attendance INTEGER, away_team VARCHAR) |
SELECT attendance FROM table_name_40 WHERE opponent = "oakland raiders" | What is the Attendance at the game against the Oakland Raiders? | CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR) |
SELECT MIN(round) FROM table_name_15 WHERE player = "brian elder" | Which round was Brian Elder taken in? | CREATE TABLE table_name_15 (round INTEGER, player VARCHAR) |
SELECT T2.name, T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T1.register_year = 2016 | Show the member name and hometown who registered a branch in 2016. | CREATE TABLE member (name VARCHAR, hometown VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (member_id VARCHAR, register_year VARCHAR) |
SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn" | What is the average crowd to watch Hawthorn as the away team? | CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) |
SELECT opponent FROM table_name_94 WHERE event = "sengoku 1" | Which Opponent has the Event of Sengoku 1? | CREATE TABLE table_name_94 (opponent VARCHAR, event VARCHAR) |
SELECT SUM(ranking_points), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name | Find the total ranking points for each player and their first name. | CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR) |
SELECT MIN(shuttles) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.55" | What is the fewest number of shuttles where the shuttle time is 6.55 seconds? | CREATE TABLE table_1751142_2 (shuttles INTEGER, shuttle_time__seconds_ VARCHAR) |
SELECT element FROM table_15366768_1 WHERE isotopic_mass___u__ = "158.925 34(2)" | What is the name of the element with isotopic mass of 158.925 34(2)? | CREATE TABLE table_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) |
SELECT circuit FROM table_name_63 WHERE winning_driver = "eliseo salazar" AND name = "international trophy" | What circuit was the race named international trophy raced at by the winning driver eliseo salazar? | CREATE TABLE table_name_63 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR) |
SELECT COUNT(losingteam) FROM table_11236195_5 WHERE location = "Sydney Football Stadium, Sydney (11)" | How many teams lost at the sydney football stadium, sydney (11)? | CREATE TABLE table_11236195_5 (losingteam VARCHAR, location VARCHAR) |
SELECT opponent FROM table_name_11 WHERE attendance = "70,724" | Who did the Texans play when there were 70,724 people in attendance? | CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR) |
SELECT host FROM table_name_11 WHERE original_airdate = "june 11, 2007" | What host has an original air date of june 11, 2007? | CREATE TABLE table_name_11 (host VARCHAR, original_airdate VARCHAR) |
SELECT position FROM table_name_5 WHERE school = "villa park high school" | What position for the player from villa park high school? | CREATE TABLE table_name_5 (position VARCHAR, school VARCHAR) |
SELECT points_classification FROM table_22464308_2 WHERE stage = 4 | Which points classification has 4 as the stage? | CREATE TABLE table_22464308_2 (points_classification VARCHAR, stage VARCHAR) |
SELECT try_bonus FROM table_13399573_3 WHERE "tries_for" = "tries_for" | What is listed under try bonus when listed under Tries for is tries for? | CREATE TABLE table_13399573_3 (try_bonus VARCHAR) |
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" | How many elected catagories are there for the district with Saxby Chambliss as the incumbent? | CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR) |
SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5" | What is the opponent before game 57 when the score was 4–5? | CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR) |
SELECT date FROM table_name_15 WHERE catalog = "rcd 10160" | What is the date for catalog RCD 10160? | CREATE TABLE table_name_15 (date VARCHAR, catalog VARCHAR) |
SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 | In what Year were there 48 of 120 Seats and a % votes larger than 34.18? | CREATE TABLE table_name_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR) |
SELECT home_team FROM table_name_62 WHERE away_team = "carlton" | Who played against Carlton as the home team? | CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) |
SELECT no_in_series FROM table_228973_9 WHERE original_air_date = "April 1, 2003" | If the original air date is April 1, 2003, what number in the series is this episode? | CREATE TABLE table_228973_9 (no_in_series VARCHAR, original_air_date VARCHAR) |
SELECT year FROM table_name_98 WHERE organisation = "star awards" AND result = "won" AND nominated_work_title = "n/a" | what is the year when then organisation is star awards, the result is won and the nominated work title is n/a? | CREATE TABLE table_name_98 (year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR) |
SELECT country FROM table_name_68 WHERE to_par = "+5" | What was the country of the player at +5? | CREATE TABLE table_name_68 (country VARCHAR, to_par VARCHAR) |
SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 | How many laps for sébastien bourdais, and a Grid smaller than 1? | CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR) |
SELECT COUNT(no_in_series) FROM table_1876825_7 WHERE production_code = "06-04-621" | Name the number of number in series for production code of 06-04-621 | CREATE TABLE table_1876825_7 (no_in_series VARCHAR, production_code VARCHAR) |
SELECT MAX(grid) FROM table_name_75 WHERE driver = "alexander wurz" AND laps < 25 | What was Alexander Wurz's highest grid with laps of less than 25? | CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "apprehension" | what's the permanence of the body where purity is apprehension | CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR) |
SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = "3.73" | What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers? | CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR) |
SELECT wicket FROM table_name_73 WHERE fielding_team = "sri lanka" | What was the wicket ranking for the match that had a fielding team of Sri Lanka? | CREATE TABLE table_name_73 (wicket VARCHAR, fielding_team VARCHAR) |
SELECT part_4 FROM table_name_88 WHERE class = "7b" | What is the part 4 entry for class 7b? | CREATE TABLE table_name_88 (part_4 VARCHAR, class VARCHAR) |
SELECT T1.title, T3.book_title FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id WHERE T2.incorporated_in = 'China' | Show the movie titles and book titles for all companies in China. | CREATE TABLE movie (title VARCHAR, movie_id VARCHAR); CREATE TABLE culture_company (movie_id VARCHAR, book_club_id VARCHAR, incorporated_in VARCHAR); CREATE TABLE book_club (book_title VARCHAR, book_club_id VARCHAR) |
SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS" | What is the name of the country when the ioc code is mas? | CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR) |
SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8 | What is Position, when Overallis less than 314, and when Pick is less than 8? | CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR) |
SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18" | How many teams are listed for February 18? | CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR) |
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1 | Find the number of students for the cities where have more than one student. | CREATE TABLE student (city_code VARCHAR) |
SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997 | What is the highest enrollment schools that joined the mac in 1997? | CREATE TABLE table_261906_2 (enrollment INTEGER, joined_mac VARCHAR) |
SELECT original_air_date FROM table_2602958_3 WHERE director = "Kevin Dowling" | What is the original air date for the episode directed by kevin dowling? | CREATE TABLE table_2602958_3 (original_air_date VARCHAR, director VARCHAR) |
SELECT 2007 AS _08_season FROM table_name_15 WHERE club = "a.s. gubbio 1910" | What 2007-08 had A.S. Gubbio 1910 Club? | CREATE TABLE table_name_15 (club VARCHAR) |
SELECT AVG(week) FROM table_name_49 WHERE date = "september 4, 1994" | What Week falls on September 4, 1994? | CREATE TABLE table_name_49 (week INTEGER, date VARCHAR) |
SELECT race_2_pts_ FROM table_23293785_3 WHERE race_1_pts_ = 12 | How many are the Race 2 points when Race 1 was 12? | CREATE TABLE table_23293785_3 (race_2_pts_ VARCHAR, race_1_pts_ VARCHAR) |
SELECT MAX(run_2) FROM table_name_21 WHERE run_1 > 52.25 AND athlete = "john farrow" | What was john farrow's run 2 associated with a run 1 of greater than 52.25? | CREATE TABLE table_name_21 (run_2 INTEGER, run_1 VARCHAR, athlete VARCHAR) |
SELECT player FROM table_name_14 WHERE overall > 227 | What is the name of the player with an Overall larger than 227? | CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER) |
SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30" | What all turbines have a capacity of 30 and have a Somerset location? | CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR) |
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose" | Name the maximum founded for blue hose | CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR) |
SELECT COUNT(no) FROM table_11545282_5 WHERE player = "Howard Eisley" | How many players were names Howard Eisley? | CREATE TABLE table_11545282_5 (no VARCHAR, player VARCHAR) |
SELECT MAX(meas_num) FROM table_256286_54 WHERE no_votes = 322682 | When the no votes was 322682, what was the max meas. number? | CREATE TABLE table_256286_54 (meas_num INTEGER, no_votes VARCHAR) |
SELECT no_of_s_barangay FROM table_269888_1 WHERE pop_density__per_km²_ = "205.4" | Name the number of barangay for 205.4 density | CREATE TABLE table_269888_1 (no_of_s_barangay VARCHAR, pop_density__per_km²_ VARCHAR) |
SELECT position FROM table_1013129_10 WHERE player = "Mark Polak" | All players are position mark polak. | CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR) |
SELECT venue FROM table_name_63 WHERE away_team = "footscray" | What venue did the away team footscray play at? | CREATE TABLE table_name_63 (venue VARCHAR, away_team VARCHAR) |
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5 | What is the lowest number of dances with a less than 2 place and an average smaller than 27.5? | CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR) |
SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = "horsham diggers" | Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers? | CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR) |
SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58" | What was the air date of the episod that had 456.58 thousand viewers? | CREATE TABLE table_23114705_7 (original_air_date VARCHAR, nz_viewers__thousand_ VARCHAR) |
SELECT athlete FROM table_21276428_21 WHERE place = 3 | Name the athlete for 3 | CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR) |
SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 0 | What is the total when the nation was Argentina, and a Goldwas smaller than 0? | CREATE TABLE table_name_4 (total VARCHAR, nation VARCHAR, gold VARCHAR) |
SELECT built FROM table_name_42 WHERE works_number = "717" | What is Built, when Works Number is "717"? | CREATE TABLE table_name_42 (built VARCHAR, works_number VARCHAR) |
SELECT candidates FROM table_1341973_3 WHERE incumbent = "Frank W. Boykin" | Which candidates were in the election where Frank W. Boykin was an incumbent? | CREATE TABLE table_1341973_3 (candidates VARCHAR, incumbent VARCHAR) |
SELECT week FROM table_name_58 WHERE result = "w 48–20" | What is the Week of the game with a Result of w 48–20? | CREATE TABLE table_name_58 (week VARCHAR, result VARCHAR) |
SELECT english_gloss FROM table_1499791_2 WHERE southern_lakota = "naháŋȟčiŋ" | Name the english gloss for naháŋȟčiŋ | CREATE TABLE table_1499791_2 (english_gloss VARCHAR, southern_lakota VARCHAR) |
SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas" | What is the number of Mike Thomas? | CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR) |
SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy" | What was fitzroy's score at home? | CREATE TABLE table_name_27 (home_team VARCHAR) |
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 2 | How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012? | CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR) |
SELECT site FROM table_name_55 WHERE date = "september 10, 2010" | Where was the sport played on September 10, 2010? | CREATE TABLE table_name_55 (site VARCHAR, date VARCHAR) |
SELECT MAX(round) FROM table_26533354_8 WHERE player = "Jordan Cameron" | Name the most round for jordan cameron | CREATE TABLE table_26533354_8 (round INTEGER, player VARCHAR) |
SELECT circumstances FROM table_name_89 WHERE location = "road to jalalabad" | What was the circumstance that happened on the road to Jalalabad? | CREATE TABLE table_name_89 (circumstances VARCHAR, location VARCHAR) |
SELECT city FROM table_name_93 WHERE expected_completion = "2017" | Which city expects their project completion in 2017? | CREATE TABLE table_name_93 (city VARCHAR, expected_completion VARCHAR) |
SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31 | Which area 2006 km² has an area 1996 km² smaller than 17.31? | CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER) |
SELECT district FROM table_2668387_18 WHERE candidates = "John Randolph (DR)" | Name the district for john randolph (dr) | CREATE TABLE table_2668387_18 (district VARCHAR, candidates VARCHAR) |
SELECT episode_title FROM table_29475589_3 WHERE no = 22 | When 22 is the number what is the episode title? | CREATE TABLE table_29475589_3 (episode_title VARCHAR, no VARCHAR) |
SELECT champion FROM table_19651669_1 WHERE season = "1998-99" | Who was the champion for the 1998-99 season? | CREATE TABLE table_19651669_1 (champion VARCHAR, season VARCHAR) |
SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9" | What is the total having a bronze value over 1, silver under 5, and ranked 9? | CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT date FROM table_name_27 WHERE week = 8 | What was the date of week 8? | CREATE TABLE table_name_27 (date VARCHAR, week VARCHAR) |
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying" | What is the Score of the Fifa World Cup 1986 Qualifying Competition? | CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR) |
SELECT built FROM table_12113888_1 WHERE name_as_rebuilt = "Knocklayd" | What was the built data for Knocklayd rebuild? | CREATE TABLE table_12113888_1 (built VARCHAR, name_as_rebuilt VARCHAR) |
SELECT name FROM table_name_55 WHERE height = "6-5" AND year = "junior" | 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 latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis" | What is the Latitude of the Alajen Vallis named after 1997? | CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR) |
SELECT pick__number FROM table_20649850_1 WHERE position = "DL" | Name the number for dl | CREATE TABLE table_20649850_1 (pick__number VARCHAR, position VARCHAR) |
SELECT score FROM table_name_80 WHERE result = "lost" | What is the score with lost as the result? | CREATE TABLE table_name_80 (score VARCHAR, result VARCHAR) |
SELECT reason_for_termination FROM table_name_33 WHERE chief_judge = "1971–1977" | What is the reason the Chief Judge of 1971–1977 was terminated? | CREATE TABLE table_name_33 (reason_for_termination VARCHAR, chief_judge VARCHAR) |
SELECT MAX(prominence__m_) FROM table_18946749_1 WHERE peak = "Mount Gauttier" | When mount gauttier is the peak what is the highest prominence in meters? | CREATE TABLE table_18946749_1 (prominence__m_ INTEGER, peak VARCHAR) |
SELECT AVG(championship) FROM table_name_14 WHERE league_cup < 0 | Which Championship has a League Cup smaller than 0? | CREATE TABLE table_name_14 (championship INTEGER, league_cup INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.