answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT result FROM table_name_78 WHERE date = "4 april 1993" | Which Result has a Date of 4 april 1993? | CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) |
SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = "27.0%" | What is the lowest number of seats from the election with 27.0% of votes? | CREATE TABLE table_name_55 (seats INTEGER, share_of_votes VARCHAR) |
SELECT opponents FROM table_2259502_2 WHERE championship = "Tokyo" | Who were the opponents in the Tokyo championships? | CREATE TABLE table_2259502_2 (opponents VARCHAR, championship VARCHAR) |
SELECT name FROM table_name_76 WHERE qual_1 = "58.991" | What is the name of the racer with a first-qualifying time of 58.991? | CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR) |
SELECT location FROM table_name_70 WHERE distance = "men's speed skating" | What's the location for men's speed skating? | CREATE TABLE table_name_70 (location VARCHAR, distance VARCHAR) |
SELECT character_name FROM table_1410384_1 WHERE voice_actor__english_1998___pioneer_ = "Paul Dobson" | what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson | CREATE TABLE table_1410384_1 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR) |
SELECT english_title FROM table_11173827_1 WHERE finale = 33 AND peak = 42 | What is the english title that has finale as 33 and peak as 42? | CREATE TABLE table_11173827_1 (english_title VARCHAR, finale VARCHAR, peak VARCHAR) |
SELECT MAX(laps) FROM table_name_66 WHERE driver = "mika salo" AND grid > 17 | What is the high lap total for mika salo with a grid greater than 17? | CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR) |
SELECT rider FROM table_name_61 WHERE speed = "80.18mph" | Which Rider finished with a speed of 80.18mph? | CREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR) |
SELECT MIN(no) FROM table_1949994_8 WHERE start_date = "June 6" | What series number started production on June 6? | CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR) |
SELECT date FROM table_name_66 WHERE tier = "itf $10k" | Which date has the tier of Itf $10k? | CREATE TABLE table_name_66 (date VARCHAR, tier VARCHAR) |
SELECT Hardware_Model_name, Company_name FROM phone WHERE Accreditation_type LIKE 'Full' | Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name. | CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, Accreditation_type VARCHAR) |
SELECT MIN(height__ft_) FROM table_name_62 WHERE year_built > 1961 AND location = "platz der einheit 1, gallus" AND height__m_ < 130 | What is the lowest height in feet for the building located in platz der einheit 1, gallus, that was built after 1961 with a height less than 130 meters? | CREATE TABLE table_name_62 (height__ft_ INTEGER, height__m_ VARCHAR, year_built VARCHAR, location VARCHAR) |
SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea' | What is the zip code of the address in the city Port Chelsea? | CREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR) |
SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2 | Which Total has a Rank of 4, and a Silver larger than 2? | CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT round_of_16 FROM table_name_83 WHERE ranking_round_rank = 5 | What is the Round of 16 value for the nation with a value of 5 for Ranking Round Rank? | CREATE TABLE table_name_83 (round_of_16 VARCHAR, ranking_round_rank VARCHAR) |
SELECT AVG(passengers) FROM table_name_31 WHERE airport = "indonesia, denpasar" | How many Passengers that have an Airport in indonesia, denpasar? | CREATE TABLE table_name_31 (passengers INTEGER, airport VARCHAR) |
SELECT high_assists FROM table_17001658_9 WHERE game = 70 | Name the high assists for 70 game | CREATE TABLE table_17001658_9 (high_assists VARCHAR, game VARCHAR) |
SELECT AVG(no_of_villages) FROM table_name_86 WHERE name_of_janapada = "punia" | What is the average number of villages with a name of janapada of Punia? | CREATE TABLE table_name_86 (no_of_villages INTEGER, name_of_janapada VARCHAR) |
SELECT group FROM table_name_54 WHERE result = "nominated" AND year > 2008 AND award = "best lead actor in a television drama" | After 2008, which Group has the Result, nominated, and the Award, Best Lead Actor in a Television Drama? | CREATE TABLE table_name_54 (group VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR) |
SELECT MIN(no_in_series) FROM table_22347090_6 WHERE production_code = "3X7554" | What episode number in the series had a production code of 3x7554? | CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR) |
SELECT event FROM table_name_42 WHERE time = "6:37.73" | What event had a time of 6:37.73? | CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR) |
SELECT distance__km_ FROM table_name_85 WHERE station = "funao" | What is the distance to funao? | CREATE TABLE table_name_85 (distance__km_ VARCHAR, station VARCHAR) |
SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd" | Name the number of song for scoreboard being 3rd | CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR) |
SELECT type_of_record FROM table_21436373_6 WHERE result_games = "B.C. 16 @ Edmonton 22" | Which type of record has result/games of b.c. 16 @ edmonton 22? | CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR) |
SELECT home_team AS score FROM table_name_98 WHERE venue = "vfl park" | For Venue vfl park, what was the home team score? | CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR) |
SELECT AVG(attendance) FROM table_name_98 WHERE score = "0:0 - 4:1 (pen)" | How many Attendance in a match which scores 0:0 - 4:1 (pen) | CREATE TABLE table_name_98 (attendance INTEGER, score VARCHAR) |
SELECT SUM(draws) FROM table_name_38 WHERE goals_against = 52 AND losses < 15 | What is the total draw count with 52 goals and less than 15 losses? | CREATE TABLE table_name_38 (draws INTEGER, goals_against VARCHAR, losses VARCHAR) |
SELECT AVG(drawn) FROM table_name_34 WHERE difference = "0" AND against > 31 | What is the mean drawn when the difference is 0 and the against stat is more than 31? | CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR) |
SELECT MAX(floors) FROM table_name_11 WHERE height = "70m (233ft)" AND building = "tupper building (educational)" | What is the largest amount of floors in the 70m (233ft) Tupper building (educational)? | CREATE TABLE table_name_11 (floors INTEGER, height VARCHAR, building VARCHAR) |
SELECT song FROM table_name_12 WHERE lead_supporting_vocal = "marcus temu" | What is the song name that featured Marcus Temu as the lead supporting vocalist? | CREATE TABLE table_name_12 (song VARCHAR, lead_supporting_vocal VARCHAR) |
SELECT DISTINCT name FROM genres | List all different genre types. | CREATE TABLE genres (name VARCHAR) |
SELECT COUNT(DISTINCT id) FROM teaches | How many different instructors have taught some course? | CREATE TABLE teaches (id VARCHAR) |
SELECT country FROM table_name_19 WHERE player = "arjun atwal" | Which Country has a Player of arjun atwal? | CREATE TABLE table_name_19 (country VARCHAR, player VARCHAR) |
SELECT player FROM table_name_79 WHERE pick > 20 | Which Player has a Pick larger than 20? | CREATE TABLE table_name_79 (player VARCHAR, pick INTEGER) |
SELECT name FROM table_name_42 WHERE release_date = "december 1966" AND location = "uk" | What is the name with a release date of December 1966, and a Location of UK? | CREATE TABLE table_name_42 (name VARCHAR, release_date VARCHAR, location VARCHAR) |
SELECT written_by FROM table_2468961_4 WHERE original_air_date = "April 29, 1994" | Who wrote the episode that originally aired April 29, 1994? | CREATE TABLE table_2468961_4 (written_by VARCHAR, original_air_date VARCHAR) |
SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40" | What is week 4 if week 3 is 35.40? | CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR) |
SELECT MIN(silver) FROM table_name_76 WHERE rank = 1 AND bronze > 5 | What is the lowest silver that has 1 as the rank, with a bronze greater than 5? | CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT tournament_winner FROM table_28365816_2 WHERE conference = "Mid-American conference" | During the Mid-American Conference who is listed as the tournament winner? | CREATE TABLE table_28365816_2 (tournament_winner VARCHAR, conference VARCHAR) |
SELECT type FROM table_name_50 WHERE block = "105/107e" AND year < 1960 | What type is the 105/107e Block from a year prior to 1960? | CREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR) |
SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001 | What was the Director with a Ceremony of 2001? | CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR) |
SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = "嬰幼兒配方乳粉2段基粉" | How many samples were taken of 嬰幼兒配方乳粉2段基粉 ? | CREATE TABLE table_18943444_1 (samples_taken VARCHAR, product VARCHAR) |
SELECT SUM(car__number) FROM table_name_30 WHERE points < 126 AND laps = 147 | What is the sum of car numbers with less than 126 points and 147 laps? | CREATE TABLE table_name_30 (car__number INTEGER, points VARCHAR, laps VARCHAR) |
SELECT COUNT(total) FROM table_name_35 WHERE nation = "germany" AND silver < 1 | What is the total number of Total when Germany is the nation with less than 1 silver? | CREATE TABLE table_name_35 (total VARCHAR, nation VARCHAR, silver VARCHAR) |
SELECT Product_Type_Code FROM Products WHERE Product_Price > 4500 INTERSECT SELECT Product_Type_Code FROM Products WHERE Product_Price < 3000 | Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000. | CREATE TABLE Products (Product_Type_Code VARCHAR, Product_Price INTEGER) |
SELECT MIN(fa_trophy) FROM table_name_8 WHERE club = "forest green rovers" AND play_offs > 0 | Which of the lowest FA Trophys involved the Forest Green Rovers club when the play-offs number was bigger than 0? | CREATE TABLE table_name_8 (fa_trophy INTEGER, club VARCHAR, play_offs VARCHAR) |
SELECT previous_school FROM table_24925945_3 WHERE _number = 22 | What was the previous school of #22? | CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR) |
SELECT date FROM table_name_91 WHERE home_team = "st kilda" | When did St Kilda play a home game? | CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR) |
SELECT MIN(played) FROM table_name_89 WHERE position = 6 AND drawn < 1 | What is the lowest number played with a position of 6 and less than 1 draw? | CREATE TABLE table_name_89 (played INTEGER, position VARCHAR, drawn VARCHAR) |
SELECT MAX(total) FROM table_name_87 WHERE bronze = 1 AND rank = "7" AND gold > 0 | What is the largest total for a team with 1 bronze, 0 gold medals and ranking of 7? | CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) |
SELECT conflict FROM table_1921_1 WHERE location = "Yemen" | Which conflicts took place in Yemen? | CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR) |
SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3" | What's the version of AutoCAD Architectural Desktop 3? | CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR) |
SELECT home_team AS score FROM table_name_24 WHERE venue = "junction oval" | In the game that took place at junction oval, how much did the home team score? | CREATE TABLE table_name_24 (home_team VARCHAR, venue VARCHAR) |
SELECT MIN(attendance) FROM table_17972193_1 WHERE game_site = "Arrowhead Stadium" | How many were in attendance when the game was held in Arrowhead Stadium? | CREATE TABLE table_17972193_1 (attendance INTEGER, game_site VARCHAR) |
SELECT title FROM table_name_38 WHERE english_translation = "without me" | What is the title of the song that has a translation of Without Me? | CREATE TABLE table_name_38 (title VARCHAR, english_translation VARCHAR) |
SELECT death FROM table_name_45 WHERE birth = "8 december 1542" | when was the death when the birth was 8 december 1542? | CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) |
SELECT athlete__noc_ FROM table_12407546_1 WHERE swimming = "2:05.63 (1296 pts)" | Who's the player with 2:05.63 (1296 pts) swimming score? | CREATE TABLE table_12407546_1 (athlete__noc_ VARCHAR, swimming VARCHAR) |
SELECT MAX(lane) FROM table_name_3 WHERE reaction_time < 0.199 AND country = "united states" AND name = "muna lee" AND time > 22.01 | Which Lane has a Reaction Time smaller than 0.199, and a Country of united states, and a Name of muna lee, and a Time larger than 22.01? | CREATE TABLE table_name_3 (lane INTEGER, time VARCHAR, name VARCHAR, reaction_time VARCHAR, country VARCHAR) |
SELECT third_place FROM table_name_48 WHERE number_of_clubs = 14 AND winners = "dalian shide" AND fourth_placed = "chongqing longxin" | Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs? | CREATE TABLE table_name_48 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR) |
SELECT competition FROM table_name_44 WHERE result = "1-0" | Which competition had a result of 1-0? | CREATE TABLE table_name_44 (competition VARCHAR, result VARCHAR) |
SELECT opponent FROM table_name_87 WHERE attendance = "60,355" | Who was the opponent when attendance was 60,355? | CREATE TABLE table_name_87 (opponent VARCHAR, attendance VARCHAR) |
SELECT COUNT(broadcast_date) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4" | what is all the broadcast date when viewers were 8.4 millions | CREATE TABLE table_2112766_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT COUNT(year_acquired) FROM table_1397655_1 WHERE station = "CHAN" | how any were gained as the chan | CREATE TABLE table_1397655_1 (year_acquired VARCHAR, station VARCHAR) |
SELECT attendance FROM table_name_35 WHERE date = "november 3, 1974" | What is the attendance from November 3, 1974? | CREATE TABLE table_name_35 (attendance VARCHAR, date VARCHAR) |
SELECT magnitude FROM table_name_6 WHERE epicenter = "biskra province" | What is the magnitude of the earthquake with an epicenter in biskra province? | CREATE TABLE table_name_6 (magnitude VARCHAR, epicenter VARCHAR) |
SELECT MIN(rank) FROM table_name_78 WHERE laps > 182 AND qual > 134.14 AND time_retired = "+14:21.72" AND grid < 3 | What was the rank of the car who had more than 182 laps, gris less than 3, with a qual time of more than 134.14 and a time/retired of +14:21.72? | CREATE TABLE table_name_78 (rank INTEGER, grid VARCHAR, time_retired VARCHAR, laps VARCHAR, qual VARCHAR) |
SELECT record FROM table_name_57 WHERE player = "shahar pe'er" | What is Shahar Pe'er's record? | CREATE TABLE table_name_57 (record VARCHAR, player VARCHAR) |
SELECT title FROM table_name_26 WHERE label = "pacific jazz" AND year = 1963 AND label - Nr = st - 81 | What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81? | CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR) |
SELECT moving_from FROM table_name_33 WHERE country = "hun" | What is moving from fee in Hun country? | CREATE TABLE table_name_33 (moving_from VARCHAR, country VARCHAR) |
SELECT MAX(diameter__km_) FROM table_name_4 WHERE name = "alma-merghen planitia" AND year_named < 1997 | Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997? | CREATE TABLE table_name_4 (diameter__km_ INTEGER, name VARCHAR, year_named VARCHAR) |
SELECT ice_level_reporters FROM table_name_58 WHERE color_commentator_s_ = "john davidson" AND play_by_play = "marv albert" AND year > 1992 | Who is the Ice level reporter after 1992 with the color commentator John Davidson and the play-by-play Marv Albert? | CREATE TABLE table_name_58 (ice_level_reporters VARCHAR, year VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR) |
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne" | What was the score of the Home team in the game that had the Away team of south melbourne? | CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR) |
SELECT away_team AS score FROM table_name_62 WHERE home_team = "footscray" | Who was the opponent when Footscray played as the home team? | CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) |
SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 4 | What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4? | CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR) |
SELECT general_classification FROM table_name_95 WHERE stage = "7" | Which General classification has a Stage of 7? | CREATE TABLE table_name_95 (general_classification VARCHAR, stage VARCHAR) |
SELECT COUNT(entrant) FROM table_21977627_1 WHERE driver = "Yves Giraud-Cabantous" | How many entrants was yves giraud-cabantous? | CREATE TABLE table_21977627_1 (entrant VARCHAR, driver VARCHAR) |
SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "lyon" | What is the 1st leg of team 1 Lyon? | CREATE TABLE table_name_26 (team_1 VARCHAR) |
SELECT notes FROM table_name_15 WHERE country = "south africa" | What are the notes for the athlete from South Africa? | CREATE TABLE table_name_15 (notes VARCHAR, country VARCHAR) |
SELECT water_depth FROM table_name_59 WHERE location = "nigeria" AND name = "sedco 702" | What is the water depth of Sedco 702, located in Nigeria? | CREATE TABLE table_name_59 (water_depth VARCHAR, location VARCHAR, name VARCHAR) |
SELECT home_team AS score FROM table_name_91 WHERE home_team = "melbourne" | What was Melbourne's score as the home team? | CREATE TABLE table_name_91 (home_team VARCHAR) |
SELECT manner_of_departure FROM table_17085981_2 WHERE outgoing_manager = "Petrik Sander" | What was the manner in which Petrik Sander departed? | CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) |
SELECT winner FROM table_name_29 WHERE year = 1999 AND loser = "kansas city chiefs" | Who was the winner of the game in 1999 with Kansas City Chiefs as the loser? | CREATE TABLE table_name_29 (winner VARCHAR, year VARCHAR, loser VARCHAR) |
SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984 | Name the annual rainfail for 2002 population being 493984 | CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) |
SELECT playoffs FROM table_2511876_1 WHERE league = "USISL Select league" | Name the playoffs for usisl select league | CREATE TABLE table_2511876_1 (playoffs VARCHAR, league VARCHAR) |
SELECT COUNT(points) FROM table_name_65 WHERE played > 18 | How many Points have a Played larger than 18? | CREATE TABLE table_name_65 (points VARCHAR, played INTEGER) |
SELECT score FROM table_23486853_8 WHERE opponent = "Atlanta Thrashers" | What is every score for the opponent of Atlanta Thrashers? | CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR) |
SELECT postseason FROM table_name_20 WHERE team = "nebraska" | How many postseason titles has Nebraska received? | CREATE TABLE table_name_20 (postseason VARCHAR, team VARCHAR) |
SELECT AVG(to_par) FROM table_name_88 WHERE player = "davis love iii" AND total > 149 | With a Total of more than 149, what is Davis Love III's To par? | CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR, total VARCHAR) |
SELECT january FROM table_name_17 WHERE record = "28–14–8" | Which January has a Record of 28–14–8? | CREATE TABLE table_name_17 (january VARCHAR, record VARCHAR) |
SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season" | Name the result for total attendance-regular season | CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR) |
SELECT team FROM table_name_76 WHERE series = "2-1" | What was the team they played when the series was 2-1? | CREATE TABLE table_name_76 (team VARCHAR, series VARCHAR) |
SELECT date FROM table_name_2 WHERE tie_no = "5" | What was the date of tie number 5? | CREATE TABLE table_name_2 (date VARCHAR, tie_no VARCHAR) |
SELECT country FROM table_name_6 WHERE type = "loan" | What country has a loan as the type? | CREATE TABLE table_name_6 (country VARCHAR, type VARCHAR) |
SELECT party FROM table_2668329_11 WHERE incumbent = "Samuel Smith" | What is Samuel Smith's party? | CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) |
SELECT COUNT(week) FROM table_21761882_4 WHERE location = "Ivor Wynne Stadium" | What was the total number of weeks where the game played Ivor Wynne Stadium? | CREATE TABLE table_21761882_4 (week VARCHAR, location VARCHAR) |
SELECT set_2 FROM table_name_17 WHERE set_1 = "21-25" AND set_4 = "25-20" | What is the set 2 the has 1 set of 21-25, and 4 sets of 25-20? | CREATE TABLE table_name_17 (set_2 VARCHAR, set_1 VARCHAR, set_4 VARCHAR) |
SELECT team FROM table_name_82 WHERE coach = "john kosmina" | Which team has coach John Kosmina? | CREATE TABLE table_name_82 (team VARCHAR, coach VARCHAR) |
SELECT date FROM table_name_86 WHERE record = "6-9" | Which Date has a Record of 6-9? | CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) |
SELECT latitude FROM table_16799784_2 WHERE name = "Laima Tessera" | Name the latitude of laima tessera | CREATE TABLE table_16799784_2 (latitude VARCHAR, name VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.