question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the navy for middleton with a home port of portsmouth after 1983? | CREATE TABLE table_name_84 (navy VARCHAR, name VARCHAR, home_port VARCHAR, commissioned VARCHAR) | SELECT navy FROM table_name_84 WHERE home_port = "portsmouth" AND commissioned > 1983 AND name = "middleton" |
Which organization has a Finish of 4th? | CREATE TABLE table_name_93 (organization VARCHAR, finish VARCHAR) | SELECT organization FROM table_name_93 WHERE finish = "4th" |
Name the rank for switzerland | CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR) | SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland" |
How close to par was Tom Kite when he played? | CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_29 WHERE player = "tom kite" |
What is the current code for the club trophy, in 1867 only? | CREATE TABLE table_name_20 (current_code VARCHAR, type VARCHAR, years VARCHAR) | SELECT current_code FROM table_name_20 WHERE type = "club trophy" AND years = "1867 only" |
What percentage of the votes were for others in the county where 462 people voted that way? | CREATE TABLE table_2401326_1 (others_percentage VARCHAR, others_number VARCHAR) | SELECT others_percentage FROM table_2401326_1 WHERE others_number = 462 |
Who was the winner if the final venue is Kowloon Cricket Club? | CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR) | SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket Club" |
What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991? | CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 1989 FROM table_name_60 WHERE 1991 = "4r" |
Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Turner presented? | CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR) | SELECT lifetime_achievement_award FROM table_name_38 WHERE band = "snow patrol" AND female = "juliet turner" |
How many QB ratings for the player with 1069 completions? | CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR) | SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069 |
What's the score when the Wolverhampton Wanderers played at home? | CREATE TABLE table_name_4 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers" |
What is the number of silver when the total is less than 1? | CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER) | SELECT COUNT(silver) FROM table_name_35 WHERE total < 1 |
Which Opponent has a Result of 1–1, and a Date of 28 november 1998? | CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_30 WHERE result = "1–1" AND date = "28 november 1998" |
What is the highest played that has a position less than 17, and 63 as the goals for? | CREATE TABLE table_name_4 (played INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(played) FROM table_name_4 WHERE position < 17 AND goals_for = 63 |
What was the surface for events held in 1983? | CREATE TABLE table_2151643_3 (surface VARCHAR, year VARCHAR) | SELECT surface FROM table_2151643_3 WHERE year = 1983 |
What visiting team has a record of 4-3? | CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_49 WHERE record = "4-3" |
How many documents are using the template with type code 'PPT'? | CREATE TABLE Templates (Template_ID VARCHAR, Template_Type_Code VARCHAR); CREATE TABLE Documents (Template_ID VARCHAR) | SELECT COUNT(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT' |
which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85? | CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR) | SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85" |
Which Game has a Score of w 90–82 (ot)? | CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR) | SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)" |
What is the usual attendance for july 2? | CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 2" |
Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11? | CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR) | SELECT giant_slalom FROM table_name_14 WHERE combined = "1" AND country = "united states" AND victories > 11 |
When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there? | CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR) | SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo" |
What was the build date of the railway(s) with 0-6-2 t wheels? | CREATE TABLE table_name_13 (build_date VARCHAR, wheels VARCHAR) | SELECT build_date FROM table_name_13 WHERE wheels = "0-6-2 t" |
what is the total amount of players for the rockets in 1998 only? | CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR) | SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998" |
How did Justin Leonard of the United States score? | CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_33 WHERE country = "united states" AND player = "justin leonard" |
What was the Tie no when the Home team was Ramsgate? | CREATE TABLE table_name_20 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_20 WHERE home_team = "ramsgate" |
What was rickie winslow's number? | CREATE TABLE table_22496374_1 (_number INTEGER, name VARCHAR) | SELECT MAX(_number) FROM table_22496374_1 WHERE name = "Rickie Winslow" |
The 1997 Japanese Formula 3 Championship is part of what circuit? | CREATE TABLE table_name_63 (circuit VARCHAR, event VARCHAR) | SELECT circuit FROM table_name_63 WHERE event = "1997 japanese formula 3 championship" |
What name was in the number 4 spot when Aiden was number 7 and James was number 3? | CREATE TABLE table_name_29 (no_4 VARCHAR, no_7 VARCHAR, no_3 VARCHAR) | SELECT no_4 FROM table_name_29 WHERE no_7 = "aiden" AND no_3 = "james" |
What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30? | CREATE TABLE table_name_59 (losses INTEGER, played VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR) | SELECT MAX(losses) FROM table_name_59 WHERE position < 6 AND wins > 11 AND points = 36 AND played > 30 |
Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares? | CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares" |
What is the venue where Collingwood played as the home team? | CREATE TABLE table_name_60 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_60 WHERE home_team = "collingwood" |
What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points? | CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR) | SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" AND points > 0 |
What is Michal Pivonka's pick number? | CREATE TABLE table_2850912_3 (pick__number VARCHAR, player VARCHAR) | SELECT COUNT(pick__number) FROM table_2850912_3 WHERE player = "Michal Pivonka" |
What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"? | CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR) | SELECT vote FROM table_1272844_2 WHERE finish = "10th voted Out 3rd Jury Member Day 30" |
who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos | CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR) | SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = "Riccardo Patrese" AND location = "Interlagos" |
Which player is in round 5? | CREATE TABLE table_11803648_20 (player VARCHAR, round VARCHAR) | SELECT player FROM table_11803648_20 WHERE round = 5 |
Which club had 5 bonus points? | CREATE TABLE table_27293285_2 (club VARCHAR, bonus_points VARCHAR) | SELECT club FROM table_27293285_2 WHERE bonus_points = "5" |
Who is the successor for massachusetts 8th? | CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR) | SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th" |
What is the accrediation for united tribes technical college? | CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR) | SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College" |
Tell me the opponent that had a result of l 27-20 | CREATE TABLE table_name_84 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_84 WHERE result = "l 27-20" |
What is the average number of silver medals of the nation with 3 bronzes and more than 4 total medals? | CREATE TABLE table_name_79 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_79 WHERE bronze = 3 AND total > 4 |
What was the title of the episode with a production code of 3x6404? | CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_27776266_1 WHERE production_code = "3X6404" |
Name the area president when the area name is south america south | CREATE TABLE table_name_44 (area_president__quorum_ VARCHAR, area_name VARCHAR) | SELECT area_president__quorum_ FROM table_name_44 WHERE area_name = "south america south" |
Who was the team on March 18? | CREATE TABLE table_27755603_10 (team VARCHAR, date VARCHAR) | SELECT team FROM table_27755603_10 WHERE date = "March 18" |
What is the silver number when gold is more than 4, and the total is less than 24? | CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 24 |
What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1? | CREATE TABLE table_name_62 (chassis VARCHAR, rounds VARCHAR, driver VARCHAR) | SELECT chassis FROM table_name_62 WHERE rounds = "1" AND driver = "maria teresa de filippis" |
What race had Jody Scheckter hold pole position? | CREATE TABLE table_name_63 (race VARCHAR, pole_position VARCHAR) | SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter" |
What is the Win percentage where there were 5 lost and 0 is drew? | CREATE TABLE table_name_62 (win_percentage VARCHAR, lost VARCHAR, drew VARCHAR) | SELECT win_percentage FROM table_name_62 WHERE lost = 5 AND drew = 0 |
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? | CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" |
What skip has norway as the country? | CREATE TABLE table_name_66 (skip VARCHAR, country VARCHAR) | SELECT skip FROM table_name_66 WHERE country = "norway" |
how many ↓ function / genus → with escherichia being espd | CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR) | SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = "EspD" |
What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996? | CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_41 WHERE chassis = "forti fg01b forti fg03" AND year < 1996 |
What was the qualifying 2 time for the team with a qualifying 1 time of 1:01.630? | CREATE TABLE table_name_55 (qual_2 VARCHAR, qual_1 VARCHAR) | SELECT qual_2 FROM table_name_55 WHERE qual_1 = "1:01.630" |
What is the lowest population in a county with market income per capita of $24,383? | CREATE TABLE table_22815568_1 (population INTEGER, market_income_per_capita VARCHAR) | SELECT MIN(population) FROM table_22815568_1 WHERE market_income_per_capita = "$24,383" |
What was the lowest attendance recorded at a game on September 28? | CREATE TABLE table_name_79 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_79 WHERE date = "september 28" |
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? | CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) | SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g" |
How did the game number 50 end? | CREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR) | SELECT score FROM table_23248940_9 WHERE game = 50 |
What is the least amount of yards when the average is less than 2.6? | CREATE TABLE table_name_65 (yards INTEGER, average INTEGER) | SELECT MIN(yards) FROM table_name_65 WHERE average < 2.6 |
Which episode has been viewed 6.34 million times? | CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR) | SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million" |
What is the Place of the Player with a Score of 69-72-72=213? | CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213 |
Which class had a rank of 2nd? | CREATE TABLE table_name_52 (class VARCHAR, rank VARCHAR) | SELECT class FROM table_name_52 WHERE rank = "2nd" |
Who was the home team against the Bolton Wanderers? | CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_13 WHERE away_team = "bolton wanderers" |
Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12? | CREATE TABLE table_name_76 (money___ INTEGER, to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_76 WHERE place = "t10" AND player = "denny shute" AND to_par > 12 |
Who is the player with a 75-68-70=213 score? | CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_79 WHERE score = 75 - 68 - 70 = 213 |
What are the ids, scores, and dates of the games which caused at least two injury accidents? | CREATE TABLE game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR) | SELECT T1.id, T1.score, T1.date FROM game AS T1 JOIN injury_accident AS T2 ON T2.game_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2 |
What is the distance with a 1:46.32 time? | CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR) | SELECT distance FROM table_name_85 WHERE time = "1:46.32" |
Name the songwriter for track number 12 | CREATE TABLE table_name_60 (songwriter_s_ VARCHAR, track_number VARCHAR) | SELECT songwriter_s_ FROM table_name_60 WHERE track_number = 12 |
Who had the fastest lap in bowmanville, ontario? | CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, location VARCHAR) | SELECT fastest_lap FROM table_30134667_2 WHERE location = "Bowmanville, Ontario" |
What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200? | CREATE TABLE table_name_35 (year INTEGER, artist VARCHAR, mintage VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE artist = "royal canadian mint engravers" AND mintage < 200 |
What is the name of the song that was released in the most recent year? | CREATE TABLE song (song_name VARCHAR, releasedate VARCHAR) | SELECT song_name, releasedate FROM song ORDER BY releasedate DESC LIMIT 1 |
What is the release price for a processor with part number cy80632007227ab? | CREATE TABLE table_16729930_18 (release_price___usd__ VARCHAR, part_number_s_ VARCHAR) | SELECT release_price___usd__ FROM table_16729930_18 WHERE part_number_s_ = "CY80632007227AB" |
Which Original Broadway production has a First US National Tour of roger bart? | CREATE TABLE table_name_52 (original_broadway_production VARCHAR, first_us_national_tour VARCHAR) | SELECT original_broadway_production FROM table_name_52 WHERE first_us_national_tour = "roger bart" |
How many games were played by a team that won 0.00% of their games and 0 draws? | CREATE TABLE table_name_55 (played INTEGER, percentage VARCHAR, drawn VARCHAR) | SELECT SUM(played) FROM table_name_55 WHERE percentage = "0.00%" AND drawn < 0 |
Who did Walter B. Jones, Sr. (d) succeeded in office? | CREATE TABLE table_1847180_4 (vacator VARCHAR, successor VARCHAR) | SELECT vacator FROM table_1847180_4 WHERE successor = "Walter B. Jones, Sr. (D)" |
What locomotive built after 1895 has the highest SLM number? | CREATE TABLE table_name_26 (SLM INTEGER, built INTEGER) | SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895 |
Which manufacturer has a Time/Retired of +15.665? | CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR) | SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665" |
How many top 5s when he was on team #28/#49 jay robinson racing? | CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR) | SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing" |
How many silver medals were won when there were 4 gold and 22 in total? | CREATE TABLE table_name_26 (silver INTEGER, gold VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_26 WHERE gold = 4 AND total = 22 |
What player was drafted to the Detroit Red Wings? | CREATE TABLE table_1965650_7 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1965650_7 WHERE nhl_team = "Detroit Red Wings" |
What is the production code for the episode written by Drew Z. Greenberg? | CREATE TABLE table_158088_2 (production_code VARCHAR, written_by VARCHAR) | SELECT production_code FROM table_158088_2 WHERE written_by = "Drew Z. Greenberg" |
Name the total number of immunity for cycle number of 13 | CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR) | SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13" |
What is the name of the site with a CERCLIS ID of prd980512362? | CREATE TABLE table_name_77 (name VARCHAR, cerclis_id VARCHAR) | SELECT name FROM table_name_77 WHERE cerclis_id = "prd980512362" |
What is the report for the race of Argentine Grand Prix? | CREATE TABLE table_name_88 (report VARCHAR, race VARCHAR) | SELECT report FROM table_name_88 WHERE race = "argentine grand prix" |
Rich round has an H/A of A and the opponent Sheffield United? | CREATE TABLE table_name_83 (round VARCHAR, h___a VARCHAR, opponents VARCHAR) | SELECT round FROM table_name_83 WHERE h___a = "a" AND opponents = "sheffield united" |
Advisor 1121 has how many students? | CREATE TABLE Student (Advisor VARCHAR) | SELECT COUNT(*) FROM Student WHERE Advisor = 1121 |
What is the Medal of Honor with Army Distinguished Service Medal? | CREATE TABLE table_2104176_1 (medal_of_honor VARCHAR, air_force_cross VARCHAR) | SELECT medal_of_honor FROM table_2104176_1 WHERE air_force_cross = "Army Distinguished Service Medal" |
Which district has a Democratic incumbent that was first elected before 1996? | CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996 |
What is the lowest attendance on September 4, 1983? | CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_19 WHERE date = "september 4, 1983" |
Can you give me the age of the Virtues of Wisdom? | CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR) | SELECT approximate_age FROM table_name_47 WHERE virtues = "wisdom" |
How many reasons were given when A. Willis Robertson (D) resigned? | CREATE TABLE table_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR) | SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)" |
What is the maximum production code of an episode written by Patty Lin? | CREATE TABLE table_27714985_1 (production_code_s_ INTEGER, written_by VARCHAR) | SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin" |
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9? | CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR) | SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9 |
What was the transfer fee when winter was the transfer window? | CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR) | SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter" |
What city is Garfield County Museum located in? | CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR) | SELECT town_city FROM table_name_39 WHERE name = "garfield county museum" |
How many years did BBC One rank 20th? | CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR) | SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th" |
What is the club for the 132 SHTS? | CREATE TABLE table_name_98 (club VARCHAR, shts VARCHAR) | SELECT club FROM table_name_98 WHERE shts = 132 |
What was the rating/share for 18-49 for the episode that had 5.90 million viewers? | CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) | SELECT rating / SHARE(18 - 49) FROM table_23730973_5 WHERE viewers__millions_ = "5.90" |
What is the call sign for the radio owned by astral media? | CREATE TABLE table_name_7 (call_sign VARCHAR, owner VARCHAR) | SELECT call_sign FROM table_name_7 WHERE owner = "astral media" |
Find the number of routes with destination airports in Italy. | CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR) | SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.