answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT street_address FROM table_name_73 WHERE name = "the palazzo" | The Palazzo's street address is listed as what? | CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR) |
SELECT SUM(week) FROM table_name_77 WHERE attendance = 30 OFFSET 751 | What is the sum of week(s) with an attendance of 30,751? | CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR) |
SELECT COUNT(basketball_arena) FROM table_1974545_3 WHERE capacity = "3,000" | How many basketball arenas are there that belong to a school with a capacity of 3,000? | CREATE TABLE table_1974545_3 (basketball_arena VARCHAR, capacity VARCHAR) |
SELECT MAX(year) FROM table_12791809_1 WHERE road_closed = "April 13" | What is thea year the road closed April 13? | CREATE TABLE table_12791809_1 (year INTEGER, road_closed VARCHAR) |
SELECT 2006 FROM table_name_89 WHERE 2013 = "1r" AND 2012 = "1r" | What is the 2006 when the 2013 is 1r, and the 2012 is 1r? | CREATE TABLE table_name_89 (Id VARCHAR) |
SELECT opponent FROM table_name_55 WHERE week < 2 | Which opponent was on week 2? | CREATE TABLE table_name_55 (opponent VARCHAR, week INTEGER) |
SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" | Name the sum of Hull number with portugal destination | CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) |
SELECT home_team AS score FROM table_name_15 WHERE away_team = "south melbourne" | Name the home team score when the away team is south melbourne | CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR) |
SELECT rank FROM table_name_86 WHERE qual = "115.095" | What was the rank with the qual of 115.095? | CREATE TABLE table_name_86 (rank VARCHAR, qual VARCHAR) |
SELECT opponent FROM table_name_27 WHERE results¹ = "0:1" | Which opponent had a result of 0:1? | CREATE TABLE table_name_27 (opponent VARCHAR, results¹ VARCHAR) |
SELECT callsign FROM table_17487395_1 WHERE frequency = "90.3MHz" | What is the call sign of the station with the frequency of 90.3mhz | CREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR) |
SELECT result FROM table_name_27 WHERE score = "22-21" | What resulted in a score of 22-21? | CREATE TABLE table_name_27 (result VARCHAR, score VARCHAR) |
SELECT MAX(lane) FROM table_name_60 WHERE heat > 1 AND mark = "7.25" | What is the most lanes used in races with more than 1 heat and a winning mark of 7.25? | CREATE TABLE table_name_60 (lane INTEGER, heat VARCHAR, mark VARCHAR) |
SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene" | Which lava domes erupted or had a growth episode during the Holocene period? | CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR) |
SELECT COUNT(total) FROM table_name_52 WHERE gold > 2 AND silver > 2 | What is the total number of medals when the gold is more than 2 and silver more than 2? | CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT COUNT(format) FROM table_20174050_24 WHERE author = "Day, Martin Martin Day" | how many formats of books authored by day, martin martin day | CREATE TABLE table_20174050_24 (format VARCHAR, author VARCHAR) |
SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion | find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion. | CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR) |
SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis" | what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? | CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR) |
SELECT grand_prix FROM table_name_25 WHERE location = "jerez" | Which Grand Prix is located in Jerez? | CREATE TABLE table_name_25 (grand_prix VARCHAR, location VARCHAR) |
SELECT mixed_veteran FROM table_28211674_3 WHERE womens_singles = "Naomi Owen" AND mens_singles = "Ricardo Walther" | When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran? | CREATE TABLE table_28211674_3 (mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) |
SELECT COUNT(rank) FROM table_name_62 WHERE player = "bob murphy" AND wins < 4 | What is the rank for bob murphy with under 4 wins? | CREATE TABLE table_name_62 (rank VARCHAR, player VARCHAR, wins VARCHAR) |
SELECT Name FROM singer ORDER BY Net_Worth_Millions | List the name of singers in ascending order of net worth. | CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) |
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Chiba Prefecture" | Name the broadcast network for chiba prefecture | CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR) |
SELECT score FROM table_name_87 WHERE team_2 = "usl dunkerque (d2)" | What was the Score of the match with USL Dunkerque (d2) as Team 2? | CREATE TABLE table_name_87 (score VARCHAR, team_2 VARCHAR) |
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Zeeland" | what's the date where ships name is zeeland entered service | CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR) |
SELECT SUM(rank) FROM table_name_15 WHERE city = "busan" | What is Busan's rank? | CREATE TABLE table_name_15 (rank INTEGER, city VARCHAR) |
SELECT team FROM table_22848931_3 WHERE replaced_by = "Arif Asadov" | Name the team for arif asadov | CREATE TABLE table_22848931_3 (team VARCHAR, replaced_by VARCHAR) |
SELECT directed_by FROM table_26136228_3 WHERE series_no = 11 | Who directed episode 11 in the series? | CREATE TABLE table_26136228_3 (directed_by VARCHAR, series_no VARCHAR) |
SELECT station FROM table_name_73 WHERE owned_since = 2011 AND channel___tv___rf__ = "27" | What station was owned since 2011, and a channel (tv/rf) of 27? | CREATE TABLE table_name_73 (station VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) |
SELECT record FROM table_name_98 WHERE opponent = "houston oilers" | What was the record after the game against the Houston Oilers? | CREATE TABLE table_name_98 (record VARCHAR, opponent VARCHAR) |
SELECT effic FROM table_name_54 WHERE avg_g = 2.7 | Avg/G of 2.7 is what effic? | CREATE TABLE table_name_54 (effic VARCHAR, avg_g VARCHAR) |
SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham" | Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham | CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR) |
SELECT MAX(rna_segment__gene_) FROM table_name_20 WHERE protein = "vp2" AND size___s_base_pair__ > 2690 | What is the highest RNA segment having a protein of vp2 and a base pair size over 2690? | CREATE TABLE table_name_20 (rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR) |
SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284) | What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? | CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR) |
SELECT mission FROM table_name_35 WHERE local_position = "ambassador" AND resident_country = "democratic republic of congo" | What is the mission that has ambassador of local position, and a resident country of democratic republic of congo? | CREATE TABLE table_name_35 (mission VARCHAR, local_position VARCHAR, resident_country VARCHAR) |
SELECT player FROM table_name_88 WHERE position = "d" AND round > 3 | Which player was D past Round 3? | CREATE TABLE table_name_88 (player VARCHAR, position VARCHAR, round VARCHAR) |
SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" | What is the Round for the jiu-jitsu vs martial arts? | CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR) |
SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix" | Who won the australian grand prix? | CREATE TABLE table_name_53 (race VARCHAR) |
SELECT soccer FROM table_name_34 WHERE school = "detroit" | Does Detroit have a soccer team? | CREATE TABLE table_name_34 (soccer VARCHAR, school VARCHAR) |
SELECT COUNT(2 AS nd_leg) FROM table_1061075_1 WHERE aggregate = "7-2" | what is the total number of 2nd leg where aggregate is 7-2 | CREATE TABLE table_1061075_1 (aggregate VARCHAR) |
SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1" | What was Goal that where Competition of international friendly, and a Result of 2–1? | CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR) |
SELECT direction FROM table_100518_1 WHERE weapon = "Khaḍga (sword)" | What are the directions for the guardian whose weapon is khaḍga (sword)? | CREATE TABLE table_100518_1 (direction VARCHAR, weapon VARCHAR) |
SELECT COUNT(pole_position) FROM table_2696531_2 WHERE location = "Homestead, Florida" | how many times is the location is homestead, florida? | CREATE TABLE table_2696531_2 (pole_position VARCHAR, location VARCHAR) |
SELECT hosts FROM table_name_2 WHERE year = "2004" | Who are the hosts for the 2004 event? | CREATE TABLE table_name_2 (hosts VARCHAR, year VARCHAR) |
SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km" | What shows for the Longitude when there is a Diameter (km) of 31km? | CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR) |
SELECT circuit FROM table_30134667_2 WHERE location = "St. Petersburg, Florida" | Which circuit was located in st. petersburg, florida? | CREATE TABLE table_30134667_2 (circuit VARCHAR, location VARCHAR) |
SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340 | What is the average 2006 value for wheat with a 2005 value greater than 7340? | CREATE TABLE table_name_47 (production_year VARCHAR) |
SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12" | What is the team's record on may 12 when they play the giants? | CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT director FROM table_name_74 WHERE notes = "bbc radio 3" AND title = "carnival" | Notes of bbc radio 3, and a Title of carnival involves which director? | CREATE TABLE table_name_74 (director VARCHAR, notes VARCHAR, title VARCHAR) |
SELECT MIN(game) FROM table_27902171_7 WHERE score = "W 95-85" | Which game had a score of w 95-85? | CREATE TABLE table_27902171_7 (game INTEGER, score VARCHAR) |
SELECT COUNT(partner) FROM table_1399994_5 WHERE year = "1988" | How many partners were there in 1988? | CREATE TABLE table_1399994_5 (partner VARCHAR, year VARCHAR) |
SELECT grand_finaldate FROM table_name_40 WHERE season = 1988 | I want the Grand Final Date for season 1988 | CREATE TABLE table_name_40 (grand_finaldate VARCHAR, season VARCHAR) |
SELECT gold FROM table_name_46 WHERE total > 33 | Name the gold with total larger than 33 | CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER) |
SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska" | what are all the people where the entries is peugeot sport polska | CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR) |
SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)" | Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)? | CREATE TABLE table_name_45 (creator VARCHAR, latest_stable_version VARCHAR) |
SELECT class FROM table_name_50 WHERE identifier = "cbua-fm" | Which class has an identifier of CBUA-FM? | CREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR) |
SELECT characters FROM table_name_80 WHERE title = "suppressed duck" | What are the characters from the movie Suppressed Duck? | CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR) |
SELECT binibining_pilipinas_world FROM table_name_72 WHERE second_runner_up = "sonia santiago" | Which Binibining Pilipinas-World has a Second runner-up of sonia santiago? | CREATE TABLE table_name_72 (binibining_pilipinas_world VARCHAR, second_runner_up VARCHAR) |
SELECT runner_up FROM table_name_96 WHERE semi_finalist__number1 = "south florida" | Who was the runner-up at the South Florida Semi-Finalist #1? | CREATE TABLE table_name_96 (runner_up VARCHAR, semi_finalist__number1 VARCHAR) |
SELECT SUM(top_25) FROM table_name_84 WHERE tournament = "u.s. open" AND cuts_made < 7 | What is the total top-25 of the U.S. Open, which has less than 7 cuts? | CREATE TABLE table_name_84 (top_25 INTEGER, tournament VARCHAR, cuts_made VARCHAR) |
SELECT preferred_foot, AVG(overall_rating) FROM Player_Attributes GROUP BY preferred_foot | What is the average rating for right-footed players and left-footed players? | CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) |
SELECT COUNT(romaji_title) FROM table_10979230_4 WHERE japanese_title = "Mi-Chemin" | How many songs have mi-chemin as their Japanese name and romanji name? | CREATE TABLE table_10979230_4 (romaji_title VARCHAR, japanese_title VARCHAR) |
SELECT high_assists FROM table_name_98 WHERE high_points = "dorell wright (20)" | What was the high assists from a high points of dorell wright (20)? | CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR) |
SELECT pick__number FROM table_2679061_4 WHERE college_junior_club_team = "HIFK Helsinki (Finland)" | What number pick was the player from HIFK Helsinki (Finland)? | CREATE TABLE table_2679061_4 (pick__number VARCHAR, college_junior_club_team VARCHAR) |
SELECT AVG(events) FROM table_name_51 WHERE top_5 = 1 | What is the mean number of events when top-5 is 1? | CREATE TABLE table_name_51 (events INTEGER, top_5 VARCHAR) |
SELECT in_service_for_nal FROM table_name_10 WHERE ship = "ms vistafjord" | The ship MS Vistafjord has what in service for NAL? | CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR) |
SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned" | Name the position in table for 1 july 2008 when manner of departure is resigned | CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR) |
SELECT payment_method_code, COUNT(*) FROM customers GROUP BY payment_method_code | For each payment method, return how many customers use it. | CREATE TABLE customers (payment_method_code VARCHAR) |
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league" | What is the playoffs for the usl pro select league? | CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR) |
SELECT position FROM table_name_27 WHERE team = "chicago bulls" | What positions are in the Chicago bulls? | CREATE TABLE table_name_27 (position VARCHAR, team VARCHAR) |
SELECT player FROM table_name_24 WHERE nationality = "spain" | Which player has a nationality of spain? | CREATE TABLE table_name_24 (player VARCHAR, nationality VARCHAR) |
SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-7" | Who is the opponent in the fight of 1 round when the record is 18-7? | CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR) |
SELECT position FROM table_name_79 WHERE player = "britton johnsen" | What was the Position of the Player, Britton Johnsen? | CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR) |
SELECT service_type_code FROM services ORDER BY service_type_code | List the type of the services in alphabetical order. | CREATE TABLE services (service_type_code VARCHAR) |
SELECT holding FROM table_11944282_1 WHERE allied_unrelated = "Many" | what is the integrated in which the holding allied-unrelated is many? | CREATE TABLE table_11944282_1 (holding VARCHAR, allied_unrelated VARCHAR) |
SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id GROUP BY T1.id HAVING COUNT(*) >= 2 | What are the id and name of the mountains that have at least 2 photos? | CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR) |
SELECT MAX(position) FROM table_10160447_1 WHERE winnings = "$50,000" | what's the maximum position with winnings $50,000 | CREATE TABLE table_10160447_1 (position INTEGER, winnings VARCHAR) |
SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GE0251MN" | What is the FSB of the model with part number lf80537ge0251mn? | CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR) |
SELECT record FROM table_13259009_2 WHERE opponent = "Los Angeles Rams" | What was the record when they played the Los Angeles Rams? | CREATE TABLE table_13259009_2 (record VARCHAR, opponent VARCHAR) |
SELECT position FROM table_name_38 WHERE pick__number = 125 | What position(s) did the player(s) with a pick number of 125 play? | CREATE TABLE table_name_38 (position VARCHAR, pick__number VARCHAR) |
SELECT surface FROM table_name_45 WHERE date < 1979 AND opponent_in_the_final = "bill scanlon" | What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bill Scanlon"? | CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR) |
SELECT 2001 FROM table_name_50 WHERE 1987 = "n/a" AND career_sr = "n/a" | What is 2001, when 1987 is N/A, and when Career SR is N/A? | CREATE TABLE table_name_50 (career_sr VARCHAR) |
SELECT pavilion_depth FROM table_name_36 WHERE brilliance_grade = "100%" AND pavilion_angle = "n/a" | Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a? | CREATE TABLE table_name_36 (pavilion_depth VARCHAR, brilliance_grade VARCHAR, pavilion_angle VARCHAR) |
SELECT Num_of_Audience FROM festival_detail WHERE YEAR = 2008 OR YEAR = 2010 | Show the number of audience in year 2008 or 2010. | CREATE TABLE festival_detail (Num_of_Audience VARCHAR, YEAR VARCHAR) |
SELECT release_date FROM table_name_55 WHERE sspec_number = "sr0pk(e1)" | Which Release date has a sSpec number of sr0pk(e1)? | CREATE TABLE table_name_55 (release_date VARCHAR, sspec_number VARCHAR) |
SELECT opponent FROM table_name_26 WHERE location_attendance = "los angeles" AND date < 18 AND game = 54 | Who is the opponent of game 54, which was in Los Angeles and was before day 18? | CREATE TABLE table_name_26 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR) |
SELECT county FROM table_name_78 WHERE opposition = "dublin" | What County has Dublin as the Opposition? | CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR) |
SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%" | WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%? | CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR) |
SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70" | Between which years were there 241 fokker 70 model cabins built? | CREATE TABLE table_name_43 (period VARCHAR, built VARCHAR, model VARCHAR) |
SELECT school_club_team FROM table_name_92 WHERE round = 3 | What is the schoo/club team of the player in round 3? | CREATE TABLE table_name_92 (school_club_team VARCHAR, round VARCHAR) |
SELECT COUNT(attendance) FROM table_name_16 WHERE date = "october 30, 1977" AND week > 7 | How many attendances have October 30, 1977 as the date, with a week greater than 7? | CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR, week VARCHAR) |
SELECT home_team FROM table_name_74 WHERE away_team = "geelong" | What was the home team when geelong was the away team? | CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR) |
SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )" | What are all the states (class) when the successor was Joseph Anderson ( DR )? | CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR) |
SELECT nat FROM table_name_93 WHERE ends = "2009" | What's the nat that ends in 2009? | CREATE TABLE table_name_93 (nat VARCHAR, ends VARCHAR) |
SELECT tie_no FROM table_name_12 WHERE home_team = "woking" | When the home team was Woking, what was the tie no? | CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) |
SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158" | What year has earnings of $557,158? | CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR) |
SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8 | How many times did episode number 8 air? | CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR) |
SELECT centerfold_model FROM table_name_20 WHERE date = "5-88" | Who was the Centerfold model on 5-88? | CREATE TABLE table_name_20 (centerfold_model VARCHAR, date VARCHAR) |
SELECT COUNT(opponent) FROM table_21269143_1 WHERE date = "05/09/2009" | Name the total number of opponets for 05/09/2009 | CREATE TABLE table_21269143_1 (opponent VARCHAR, date VARCHAR) |
SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker" | Which digital channel is named Storm Tracker? | CREATE TABLE table_name_65 (digital_channel VARCHAR, name VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.