question
stringlengths 12
243
| answer
stringlengths 18
557
| context
stringlengths 27
489
|
---|---|---|
Find the number of routes with destination airports in Italy. | SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy' | CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR) |
What is Name, when Location is "DZ"? | SELECT name FROM table_name_23 WHERE location = "dz" | CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR) |
What was the round when he fought Joe Stevenson? | SELECT round FROM table_name_26 WHERE opponent = "joe stevenson" | CREATE TABLE table_name_26 (round VARCHAR, opponent VARCHAR) |
What is every value for location attendance on date of November 18? | SELECT location_attendance FROM table_23248940_6 WHERE date = "November 18" | CREATE TABLE table_23248940_6 (location_attendance VARCHAR, date VARCHAR) |
what's the points total when points against was points against? | SELECT points_for FROM table_name_8 WHERE points_against = "points against" | CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR) |
What were the results against the game against Egypt? | SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" | CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR) |
What is the Punjabi (Pakistan) word for the Kurdish word یـــەک شـەمـمـە yak sham? | SELECT punjabi__pakistan_ FROM table_name_58 WHERE kurdish = "یـــەک شـەمـمـە yak sham" | CREATE TABLE table_name_58 (punjabi__pakistan_ VARCHAR, kurdish VARCHAR) |
Which Laps have a Grid larger than 8, and a Rider of anthony west? | SELECT MAX(laps) FROM table_name_60 WHERE grid > 8 AND rider = "anthony west" | CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR) |
What is the candidate status of macedonia? | SELECT candidate_status FROM table_name_46 WHERE state = "macedonia" | CREATE TABLE table_name_46 (candidate_status VARCHAR, state VARCHAR) |
Name the points for zamora | SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora" | CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR) |
What team scored more than 572 points and had more than 29 games? | SELECT team FROM table_name_44 WHERE points > 572 AND games > 29 | CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, games VARCHAR) |
Where was the location for Arras Paul Arras? | SELECT location FROM table_name_24 WHERE opponent = "arras paul arras" | CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR) |
For the chinese name 盧奕基 how many in total is the govt salary? | SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基" | CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR) |
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17? | SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17 | CREATE TABLE table_name_8 (squad_no INTEGER, name VARCHAR, league_goals VARCHAR) |
What is Country, when Class is "club"? | SELECT country FROM table_name_51 WHERE class = "club" | CREATE TABLE table_name_51 (country VARCHAR, class VARCHAR) |
For each building, show the name of the building and the number of institutions in it. | SELECT T1.name, COUNT(*) FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id GROUP BY T1.building_id | CREATE TABLE building (name VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR) |
What is the semifinal average where the preliminary average is 9.084 (1) ? | SELECT semifinal_average FROM table_16268026_3 WHERE preliminary_average = "9.084 (1)" | CREATE TABLE table_16268026_3 (semifinal_average VARCHAR, preliminary_average VARCHAR) |
From which country is the player who made less than $216? | SELECT country FROM table_name_63 WHERE money___$__ < 216 | CREATE TABLE table_name_63 (country VARCHAR, money___$__ INTEGER) |
What was the wicket ranking for the match that had a fielding team of Sri Lanka? | SELECT wicket FROM table_name_73 WHERE fielding_team = "sri lanka" | CREATE TABLE table_name_73 (wicket VARCHAR, fielding_team VARCHAR) |
What is the ramsan-810 transfer delay? | SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = "RamSan-810" | CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR) |
List all player names who have an overall rating higher than the average. | SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.overall_rating > (SELECT AVG(overall_rating) FROM Player_Attributes) | CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating INTEGER) |
Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov? | SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov" | CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) |
Which Week has a Result of w 24-0, and an Attendance smaller than 10,000? | SELECT MAX(week) FROM table_name_40 WHERE result = "w 24-0" AND attendance < 10 OFFSET 000 | CREATE TABLE table_name_40 (week INTEGER, result VARCHAR, attendance VARCHAR) |
List the names of climbers in descending order of points. | SELECT Name FROM climber ORDER BY Points DESC | CREATE TABLE climber (Name VARCHAR, Points VARCHAR) |
Who did the most high rebounds in the game 24? | SELECT high_rebounds FROM table_11961582_4 WHERE game = 24 | CREATE TABLE table_11961582_4 (high_rebounds VARCHAR, game VARCHAR) |
Who directed an episode with 1.19 million? | SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19" | CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) |
What is the earliest date when the championship was Monterrey WCT, Mexico? | SELECT MIN(date) FROM table_name_76 WHERE championship = "monterrey wct, mexico" | CREATE TABLE table_name_76 (date INTEGER, championship VARCHAR) |
What kind of Manufacturer has a Laps smaller than 20 and a Grid of 21 | SELECT manufacturer FROM table_name_54 WHERE laps < 20 AND grid = 21 | CREATE TABLE table_name_54 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) |
how many class with poles being bigger than 1.0 | SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0 | CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER) |
What is Score, when Game is greater than 78, and when Date is "4"? | SELECT score FROM table_name_31 WHERE game > 78 AND date = 4 | CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR) |
WHAT IS THE TV TIME FOR NOVEMBER 10, 1996? | SELECT tv_time FROM table_name_93 WHERE date = "november 10, 1996" | CREATE TABLE table_name_93 (tv_time VARCHAR, date VARCHAR) |
What is the total number of totals for nations with 1 silver and more than 1 bronze? | SELECT COUNT(total) FROM table_name_4 WHERE bronze > 1 AND silver = 1 | CREATE TABLE table_name_4 (total VARCHAR, bronze VARCHAR, silver VARCHAR) |
Which city has an ICAO of gvsf? | SELECT city___town FROM table_name_53 WHERE icao = "gvsf" | CREATE TABLE table_name_53 (city___town VARCHAR, icao VARCHAR) |
Show all product colors. | SELECT DISTINCT product_color FROM Products | CREATE TABLE Products (product_color VARCHAR) |
Which Role has a First US National Tour of roger bart? | SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart" | CREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR) |
Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998? | SELECT runners_up FROM table_name_48 WHERE winners = "cork city f.c." AND date = "10/05/1998" | CREATE TABLE table_name_48 (runners_up VARCHAR, winners VARCHAR, date VARCHAR) |
Name the fifth district for steve rudoni | SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni" | CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR) |
What is the pick# for the medicine hat tigers (wchl)? | SELECT MIN(pick__number) FROM table_1473672_2 WHERE college_junior_club_team = "Medicine Hat Tigers (WCHL)" | CREATE TABLE table_1473672_2 (pick__number INTEGER, college_junior_club_team VARCHAR) |
What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16? | SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 16 | CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) |
What power has A as the class, and 93.7 as the frequency? | SELECT power FROM table_name_26 WHERE class = "a" AND frequency = "93.7" | CREATE TABLE table_name_26 (power VARCHAR, class VARCHAR, frequency VARCHAR) |
What is 2010 when 2003 is 5.6? | SELECT 2010 FROM table_27146868_1 WHERE 2003 = "5.6" | CREATE TABLE table_27146868_1 (Id VARCHAR) |
What is the total number of Entered when the eliminated number is 3? | SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3" | CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) |
What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? | SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4 | CREATE TABLE table_name_43 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR) |
what is the number of laps when the driver is ron flockhart? | SELECT COUNT(laps) FROM table_name_5 WHERE driver = "ron flockhart" | CREATE TABLE table_name_5 (laps VARCHAR, driver VARCHAR) |
What is the air date of the episode written by Itamar Moses? | SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses" | CREATE TABLE table_25356350_3 (original_air_date VARCHAR, written_by VARCHAR) |
What is the Artist with a Date that is june 1979? | SELECT artist FROM table_name_48 WHERE date = "june 1979" | CREATE TABLE table_name_48 (artist VARCHAR, date VARCHAR) |
Who had the high rebounds on February 24? | SELECT high_rebounds FROM table_name_36 WHERE date = "february 24" | CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR) |
What is Attendance, when Result is "2-4"? | SELECT attendance FROM table_name_62 WHERE result = "2-4" | CREATE TABLE table_name_62 (attendance VARCHAR, result VARCHAR) |
In 2010, how many people lived in cities with a population density of 3,965.02? | SELECT population__2010_ FROM table_2004733_2 WHERE population_density__2010_ = "3,965.02" | CREATE TABLE table_2004733_2 (population__2010_ VARCHAR, population_density__2010_ VARCHAR) |
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara. | SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara" | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR) |
Name the country for 2002 | SELECT country FROM table_name_81 WHERE year = 2002 | CREATE TABLE table_name_81 (country VARCHAR, year VARCHAR) |
Name the most attendance for tamworth with home venue | SELECT MAX(attendance) FROM table_name_4 WHERE opponent = "tamworth" AND venue = "home" | CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR, venue VARCHAR) |
Which member has an Electorate of kennedy? | SELECT member FROM table_name_50 WHERE electorate = "kennedy" | CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR) |
Find the rooms of faculties with rank professor who live in building NEB. | SELECT Room FROM FACULTY WHERE Rank = "Professor" AND Building = "NEB" | CREATE TABLE FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR) |
What is the party affiliation of New York 26? | SELECT party FROM table_1805191_33 WHERE district = "New York 26" | CREATE TABLE table_1805191_33 (party VARCHAR, district VARCHAR) |
brooklyn dodgers – 3, new york yankees – 5, and a Game larger than 1 had what attendance figure? | SELECT SUM(attendance) FROM table_name_47 WHERE score = "brooklyn dodgers – 3, new york yankees – 5" AND game > 1 | CREATE TABLE table_name_47 (attendance INTEGER, score VARCHAR, game VARCHAR) |
How many teams had a point margin of 48? | SELECT COUNT(eliminated_from_competition) FROM table_28068063_3 WHERE points_margin = 48 | CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, points_margin VARCHAR) |
What is the species when jewel is coal? | SELECT species FROM table_26615633_1 WHERE jewel = "Coal" | CREATE TABLE table_26615633_1 (species VARCHAR, jewel VARCHAR) |
What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0? | SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score = "illawarra 19 souths 0" | CREATE TABLE table_name_70 (match_score VARCHAR) |
When portsmouth is the city of license who is the licensee? | SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth" | CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR) |
Find courses that ran in Fall 2009 but not in Spring 2010. | SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010 | CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR) |
What was the player for t9 and a score of 73-69-74=216? | SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216 | CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR) |
What is the ICAO for Air Busan? | SELECT icao FROM table_name_63 WHERE callsign = "air busan" | CREATE TABLE table_name_63 (icao VARCHAR, callsign VARCHAR) |
What is the position of the player with a unanimous no result without a college hall of fame? | SELECT position FROM table_name_34 WHERE unanimous = "no" AND college_hall_of_fame = "no" | CREATE TABLE table_name_34 (position VARCHAR, unanimous VARCHAR, college_hall_of_fame VARCHAR) |
Who is the home team on 31 January 1951 when away team was Sheffield United? | SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united" | CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) |
How many people were in attendance at Glenferrie Oval? | SELECT MIN(crowd) FROM table_name_43 WHERE venue = "glenferrie oval" | CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR) |
How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4? | SELECT COUNT(first_elected) FROM table_name_76 WHERE result = "re-elected" AND party = "republican" AND district = "illinois 4" | CREATE TABLE table_name_76 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR) |
What did st. louis score at home? | SELECT score FROM table_name_11 WHERE home = "st. louis" | CREATE TABLE table_name_11 (score VARCHAR, home VARCHAR) |
Which stage has kourdali as the name? | SELECT stage FROM table_21578303_2 WHERE name = "Kourdali" | CREATE TABLE table_21578303_2 (stage VARCHAR, name VARCHAR) |
What is the lowest tie with less than 100 points and 277 goals? | SELECT MIN(tied) FROM table_name_57 WHERE points < 100 AND goals_for = 277 | CREATE TABLE table_name_57 (tied INTEGER, points VARCHAR, goals_for VARCHAR) |
What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1? | SELECT COUNT(total) FROM table_name_61 WHERE bronze < 1 AND silver < 1 AND gold < 1 | CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) |
Who was the opponent in the mallorca 2, spain tournament? | SELECT opponent FROM table_name_54 WHERE tournament = "mallorca 2, spain" | CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR) |
Name the most pick # for overall of 204 | SELECT MAX(pick__number) FROM table_name_52 WHERE overall = 204 | CREATE TABLE table_name_52 (pick__number INTEGER, overall VARCHAR) |
What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/? | SELECT examples FROM table_name_73 WHERE american = "ɪ, ə" AND semi_closed_initial_unstressed_vowels = "y /ɨ/" | CREATE TABLE table_name_73 (examples VARCHAR, american VARCHAR, semi_closed_initial_unstressed_vowels VARCHAR) |
Name the sum of land for ANSI code of 2390496 and population less than 7,284 | SELECT SUM(land___sq_mi__) FROM table_name_80 WHERE ansi_code = 2390496 AND pop__2010_ < 7 OFFSET 284 | CREATE TABLE table_name_80 (land___sq_mi__ INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR) |
Find the last name and age of the student who has allergy to both milk and cat. | SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat") | CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR) |
How many games had they won or lost in a row on May 9? | SELECT streak FROM table_30047613_13 WHERE date = "May 9" | CREATE TABLE table_30047613_13 (streak VARCHAR, date VARCHAR) |
Show the names of phones that are on market with number of shops greater than 50. | SELECT T3.Name FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID WHERE T2.Num_of_shops > 50 | CREATE TABLE market (Market_ID VARCHAR, Num_of_shops INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR) |
Which Games have Years at club of 1974–1975, and Goals of 4? | SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4 | CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) |
Find the distinct winery of wines having price between 50 and 100. | SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100 | CREATE TABLE WINE (Winery VARCHAR, Price INTEGER) |
What is the average draw for Desi Dobreva, was it less than 6? | SELECT AVG(draw) FROM table_name_64 WHERE artist = "desi dobreva" AND place < 6 | CREATE TABLE table_name_64 (draw INTEGER, artist VARCHAR, place VARCHAR) |
What is the Date for Catalog of lp 5060? | SELECT date FROM table_name_65 WHERE catalog = "lp 5060" | CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR) |
Please give me a list of cities whose regional population is over 8000000 or under 5000000. | SELECT city FROM city WHERE regional_population > 10000000 UNION SELECT city FROM city WHERE regional_population < 5000000 | CREATE TABLE city (city VARCHAR, regional_population INTEGER) |
What is the total population for the 3,616km area? | SELECT COUNT(population) FROM table_name_45 WHERE area__km²_ = 3 OFFSET 616 | CREATE TABLE table_name_45 (population VARCHAR, area__km²_ VARCHAR) |
What is the score of the away team when the home team is Essendon? | SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon" | CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR) |
What's the 2008 Status of Rosa Delauro? | SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro" | CREATE TABLE table_name_15 (democratic VARCHAR) |
What date was the score 6–3, 3–6, 6–0? | SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0" | CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR) |
what is the state for reason for change is resigned may 15, 1820? | SELECT state__class_ FROM table_225099_3 WHERE reason_for_change = "Resigned May 15, 1820" | CREATE TABLE table_225099_3 (state__class_ VARCHAR, reason_for_change VARCHAR) |
What is the Tie no when Wimbledon is the home team? | SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon" | CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) |
What is the total number of values for attendance for the date October 1, 1978? | SELECT COUNT(attendance) FROM table_14945112_1 WHERE date = "October 1, 1978" | CREATE TABLE table_14945112_1 (attendance VARCHAR, date VARCHAR) |
Which Supercopa 1994 has a Team of estudiantes? | SELECT supercopa_1994 FROM table_name_10 WHERE team = "estudiantes" | CREATE TABLE table_name_10 (supercopa_1994 VARCHAR, team VARCHAR) |
Which motor's class was bs 1910? | SELECT motor FROM table_name_84 WHERE class = "bs 1910" | CREATE TABLE table_name_84 (motor VARCHAR, class VARCHAR) |
Name the maximum enrollment for niagara university | SELECT MAX(enrollment) FROM table_16383772_1 WHERE school = "Niagara University" | CREATE TABLE table_16383772_1 (enrollment INTEGER, school VARCHAR) |
For which singers was Alangudi Somu the lyricist? | SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu" | CREATE TABLE table_10848177_1 (singers VARCHAR, lyricist VARCHAR) |
Which surface was played during Curitiba tournament? | SELECT surface FROM table_name_46 WHERE tournament = "curitiba" | CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) |
What is the minimum, maximum, and average seating for all tracks. | SELECT MIN(seating), MAX(seating), AVG(seating) FROM track | CREATE TABLE track (seating INTEGER) |
WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? | SELECT second FROM table_name_65 WHERE tenth = "dan black" | CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR) |
What chassis did the BRM V8 engine have? | SELECT chassis FROM table_name_92 WHERE engine = "brm v8" | CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR) |
Show the countries that have mountains with height more than 5600 stories and mountains with height less than 5200. | SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200 | CREATE TABLE mountain (Country VARCHAR, Height INTEGER) |
In which municipality is Barangay Poblacion? | SELECT municipality FROM table_name_42 WHERE barangay = "poblacion" | CREATE TABLE table_name_42 (municipality VARCHAR, barangay VARCHAR) |
Subsets and Splits