question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Who was the driver in grid 01 1? | CREATE TABLE table_20159025_1 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_20159025_1 WHERE grid = "01 1" |
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov? | CREATE TABLE table_name_69 (title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR) | SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997" |
Where was the game played when the opponent was Oklahoma City, and what was the attendance? | CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city" |
What was the release date of Rabbit Romeo? | CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo" |
Give me the dates when the max temperature was higher than 85. | CREATE TABLE weather (date VARCHAR, max_temperature_f INTEGER) | SELECT date FROM weather WHERE max_temperature_f > 85 |
What are the lowest entries for a front row smaller than 15 where Michael Schumacher was driving? | CREATE TABLE table_name_87 (entries INTEGER, front_row_starts VARCHAR, driver VARCHAR) | SELECT MIN(entries) FROM table_name_87 WHERE front_row_starts < 15 AND driver = "michael schumacher" |
How many people were in the crowd when the Home Team was Hawthorn? | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn" |
What is Wu Xing (五行) with Korean (RR) of 임 (im)? | CREATE TABLE table_name_80 (wu_xing___五行__ VARCHAR, korean___rr__ VARCHAR) | SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)" |
Which census ranking is 57.06 km big? | CREATE TABLE table_name_95 (census_ranking VARCHAR, area_km_2 VARCHAR) | SELECT census_ranking FROM table_name_95 WHERE area_km_2 = 57.06 |
What Country is in Rank 2? | CREATE TABLE table_name_97 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_97 WHERE rank = 2 |
Which Tuesday has a Saturday of 土曜日 doyōbi? | CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR) | SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi" |
What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"? | CREATE TABLE table_name_7 (what VARCHAR, coconut VARCHAR, person VARCHAR, three VARCHAR) | SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog" |
How many departments offer any degree? | CREATE TABLE Degree_Programs (department_id VARCHAR) | SELECT COUNT(DISTINCT department_id) FROM Degree_Programs |
Name the aircraft type for jagdgeschwader 6 | CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, parent_unit VARCHAR) | SELECT aircraft_type FROM table_28342423_1 WHERE parent_unit = "Jagdgeschwader 6" |
What is the minimum losses for the Kansas City Chiefs? | CREATE TABLE table_19451173_1 (losses INTEGER, team VARCHAR) | SELECT MIN(losses) FROM table_19451173_1 WHERE team = "Kansas City Chiefs" |
What is the highest rank from Lane 4? | CREATE TABLE table_name_44 (rank INTEGER, lane VARCHAR) | SELECT MAX(rank) FROM table_name_44 WHERE lane = 4 |
Name the city for thailand | CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR) | SELECT city FROM table_name_97 WHERE country = "thailand" |
What is the venue of the race where Lineth Chepkurui placed 4th? | CREATE TABLE table_name_12 (venue VARCHAR, position VARCHAR) | SELECT venue FROM table_name_12 WHERE position = "4th" |
I want to know the highest rank with placings more than 123 and points greater than 88.06 | CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR) | SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06 |
Which competition features the 1st round of Club Union Luxembourg? | CREATE TABLE table_name_58 (competition VARCHAR, round VARCHAR, club VARCHAR) | SELECT competition FROM table_name_58 WHERE round = "1st round" AND club = "union luxembourg" |
How many people went to the game with Indiana visiting? | CREATE TABLE table_name_68 (attendance VARCHAR, visitor VARCHAR) | SELECT attendance FROM table_name_68 WHERE visitor = "indiana" |
what is the away team score when the home team is essendon? | CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_2 WHERE home_team = "essendon" |
What language is the moviein that is on UMP movies network through Sky service? | CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR) | SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies" |
What's the center of the province that spreads out on 23860 km2? | CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR) | SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860 |
What position was played by the player during 1986 – 1991 1997 – 1999? | CREATE TABLE table_name_57 (position VARCHAR, years VARCHAR) | SELECT position FROM table_name_57 WHERE years = "1986 – 1991 1997 – 1999" |
What is the Airport with the ICAO fo KSEA? | CREATE TABLE table_name_10 (airport VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_10 WHERE icao = "ksea" |
What was the record for the game before game 6 against the chicago black hawks? | CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_54 WHERE game < 6 AND opponent = "chicago black hawks" |
how many categories fall under the category of britons? | CREATE TABLE table_261895_1 (type VARCHAR, nickname VARCHAR) | SELECT COUNT(type) FROM table_261895_1 WHERE nickname = "Britons" |
Which athlete played at the Birmingham venue? | CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR) | SELECT athlete FROM table_name_32 WHERE venue = "birmingham" |
What party was the member peter howson part of? | CREATE TABLE table_name_85 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_85 WHERE member = "peter howson" |
Alex Winckler wrote the film, who was the director? | CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR) | SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler" |
Which nominating festival did Russia enter? | CREATE TABLE table_name_12 (nominating_festival VARCHAR, country VARCHAR) | SELECT nominating_festival FROM table_name_12 WHERE country = "russia" |
How many laps have a Time/Retired of +1:35.553? | CREATE TABLE table_name_84 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_84 WHERE time_retired = "+1:35.553" |
How many Viewers have a Rank smaller than 2? | CREATE TABLE table_name_71 (viewers INTEGER, rank INTEGER) | SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2 |
Name the drivetrain for 1ur-fse for usf41 | CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR, chassis_code VARCHAR) | SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "1UR-FSE" AND chassis_code = "USF41" |
What is the stadium where the attendance was 75,406? | CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR) | SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406" |
Show the apartment type code that has the largest number of total rooms, together with the number of bathrooms and number of bedrooms. | CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count VARCHAR, bedroom_count VARCHAR, room_count INTEGER) | SELECT apt_type_code, bathroom_count, bedroom_count FROM Apartments GROUP BY apt_type_code ORDER BY SUM(room_count) DESC LIMIT 1 |
What is the highest number of bronze medals for nations with under 0 golds? | CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER) | SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 |
What kind of Pada 1 has a Pada 2 of सा sa? | CREATE TABLE table_name_8 (pada_1 VARCHAR, pada_2 VARCHAR) | SELECT pada_1 FROM table_name_8 WHERE pada_2 = "सा sa" |
What is the away team of the match with a 356 attendance? | CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_64 WHERE attendance = 356 |
What is the municipality that has an area of exactly 199.35 sq. km? | CREATE TABLE table_255885_1 (municipality VARCHAR, area__km²_ VARCHAR) | SELECT municipality FROM table_255885_1 WHERE area__km²_ = "199.35" |
What engine scored 17 points? | CREATE TABLE table_name_86 (engine VARCHAR, points VARCHAR) | SELECT engine FROM table_name_86 WHERE points = "17" |
Who was the Europe/Africa group i's opponent? | CREATE TABLE table_name_61 (opponent VARCHAR, zone VARCHAR) | SELECT opponent FROM table_name_61 WHERE zone = "europe/africa group i" |
What is the most recent year for the ajs team when there are fewer than 0 wins? | CREATE TABLE table_name_57 (year INTEGER, team VARCHAR, wins VARCHAR) | SELECT MAX(year) FROM table_name_57 WHERE team = "ajs" AND wins < 0 |
WHAT IS THE RECORD FOR THE GAME SMALLER THAN 31? | CREATE TABLE table_name_36 (record VARCHAR, game INTEGER) | SELECT record FROM table_name_36 WHERE game < 31 |
What is Round 2 when Round 4 is Double and Round 3 is Single? | CREATE TABLE table_name_56 (round_2 VARCHAR, round_4 VARCHAR, round_3 VARCHAR) | SELECT round_2 FROM table_name_56 WHERE round_4 = "double" AND round_3 = "single" |
What is the number of matches played for the team with 0 draws and 33 points? | CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33" |
Tell me the total for silver more than 0 for italy with gold less than 29 | CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 29 |
Name the result for new york 1 | CREATE TABLE table_1342249_32 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342249_32 WHERE district = "New York 1" |
What season had more than 12 contestants in which greydis gil won? | CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR) | SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = "greydis gil" |
Which Nationality has a Pick larger than 109, and a Round smaller than 5? | CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_9 WHERE pick > 109 AND round < 5 |
What is the record for April 22? | CREATE TABLE table_name_25 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_25 WHERE date = "april 22" |
What was Diego Saraiva's record when he fought for 3 rounds against danny suarez? | CREATE TABLE table_name_75 (record VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_75 WHERE round = "3" AND opponent = "danny suarez" |
What is the score of the player with a To Par of +1 from Spain? | CREATE TABLE table_name_54 (score VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_54 WHERE to_par = "+1" AND country = "spain" |
I want the replaced for date of appointment being 12 october 2007 | CREATE TABLE table_name_73 (replaced_by VARCHAR, date_of_appointment VARCHAR) | SELECT replaced_by FROM table_name_73 WHERE date_of_appointment = "12 october 2007" |
When was the F4 7 series? | CREATE TABLE table_25572068_1 (date VARCHAR, series VARCHAR) | SELECT date FROM table_25572068_1 WHERE series = "F4 7" |
What is the mean rank number when goals are 230 and there are more than 535? | CREATE TABLE table_name_86 (rank INTEGER, goals VARCHAR, matches VARCHAR) | SELECT AVG(rank) FROM table_name_86 WHERE goals = 230 AND matches > 535 |
What round was the opponent Manny Gamburyan? | CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" |
What was the departure time of the train that arrived at 21.26? | CREATE TABLE table_18365784_3 (departure VARCHAR, arrival VARCHAR) | SELECT departure FROM table_18365784_3 WHERE arrival = "21.26" |
What was the Attendance on 31 January 1987? | CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_44 WHERE date = "31 january 1987" |
Which nation was the ship from that had 372 victims? | CREATE TABLE table_name_26 (nat VARCHAR, estimate VARCHAR) | SELECT nat FROM table_name_26 WHERE estimate = "372" |
What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200? | CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR) | SELECT COUNT(clean_) & _jerk FROM table_name_8 WHERE total__kg_ = 200 AND snatch > 95 |
how many millions of spectator did has the episode whose prod.code was rp#213? | CREATE TABLE table_23117208_3 (viewers__millions_ VARCHAR, prod_code VARCHAR) | SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213" |
what is the time/retired when the laps is 52? | CREATE TABLE table_name_24 (time_retired VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_24 WHERE laps = 52 |
What is the total points for GP/GS of 24/23? | CREATE TABLE table_name_28 (total_points VARCHAR, gp_gs VARCHAR) | SELECT total_points FROM table_name_28 WHERE gp_gs = "24/23" |
What team is 2 when the game result is 0-4 at Pailing Sport Park? | CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport park" AND result = "0-4" |
What frequency is mega manila set to? | CREATE TABLE table_24418525_1 (frequency VARCHAR, coverage VARCHAR) | SELECT frequency FROM table_24418525_1 WHERE coverage = "Mega Manila" |
Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model? | CREATE TABLE table_name_82 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR) | SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550" |
WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997? | CREATE TABLE table_name_22 (grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR, laps VARCHAR) | SELECT grid FROM table_name_22 WHERE manufacturer = "honda" AND laps = "24" AND time_retired = "+13.997" |
How many people were in attendance for the game week 15? | CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15 |
Whic teams scored l 97–107 (ot) | CREATE TABLE table_17323092_5 (team VARCHAR, score VARCHAR) | SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (OT)" |
Name the D 41 √ when it has D 43 √ of r 18 | CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR) | SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18" |
What is the location/state of the race on 16 Jun? | CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_92 WHERE date = "16 jun" |
List the maximum, minimum and average number of used kb in screen mode. | CREATE TABLE screen_mode (used_kb INTEGER) | SELECT MAX(used_kb), MIN(used_kb), AVG(used_kb) FROM screen_mode |
What is the greatest draw that has 4th for place? | CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR) | SELECT MAX(draw) FROM table_name_62 WHERE place = "4th" |
What was the record during the game with a score of 78-59? | CREATE TABLE table_name_52 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_52 WHERE score = "78-59" |
Name the most played | CREATE TABLE table_14323347_1 (played INTEGER) | SELECT MAX(played) FROM table_14323347_1 |
What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3? | CREATE TABLE table_name_28 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT gold FROM table_name_28 WHERE bronze > 1 AND total < 10 AND silver = 3 |
How many episodes originally aired on August 31, 1995? | CREATE TABLE table_11951237_2 (title VARCHAR, original_air_date VARCHAR) | SELECT COUNT(title) FROM table_11951237_2 WHERE original_air_date = "August 31, 1995" |
What was the turnout percentage in the place that had 44.6% vote for brown? | CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR) | SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.6%" |
What does DeShawn Stevenson weigh? | CREATE TABLE table_name_52 (weight INTEGER, player VARCHAR) | SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson" |
How many averages are there when the economy rate is 2.26? | CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR) | SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26" |
What is the elevation and height for Halfbeak? | CREATE TABLE table_name_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR) | SELECT elevation_ + _height FROM table_name_21 WHERE name = "halfbeak" |
The province/city corregidor island (2) is where the lighthouse is located. | CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR) | SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (2)" |
How many games did they play in 1905? | CREATE TABLE table_name_83 (played INTEGER, years VARCHAR) | SELECT AVG(played) FROM table_name_83 WHERE years = "1905" |
What is the power capacity when the generators were 781? | CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR) | SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781 |
Which Time has a Lane smaller than 4, and a Rank larger than 6? | CREATE TABLE table_name_94 (time INTEGER, lane VARCHAR, rank VARCHAR) | SELECT AVG(time) FROM table_name_94 WHERE lane < 4 AND rank > 6 |
What was the record after the game that ended in a 2-3 loss? | CREATE TABLE table_name_74 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_74 WHERE score = "2-3" |
How many teams were established at University of Maryland? | CREATE TABLE table_16432543_3 (established VARCHAR, institution VARCHAR) | SELECT COUNT(established) FROM table_16432543_3 WHERE institution = "University of Maryland" |
What is the name of the member with a costume Role of monster? | CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR) | SELECT name FROM table_name_9 WHERE costume_role = "monster" |
Set 1 of 25–20, what was Set 2? | CREATE TABLE table_name_38 (set_2 VARCHAR, set_1 VARCHAR) | SELECT set_2 FROM table_name_38 WHERE set_1 = "25–20" |
What date was game 37? | CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_71 WHERE game = 37 |
What was the date during week 13? | CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_70 WHERE week = 13 |
What is 2011, when 2009 is "A"? | CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 2011 FROM table_name_59 WHERE 2009 = "a" |
At what venue was South Melbourne the home team? | CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_87 WHERE home_team = "south melbourne" |
What is the highest pick number the los angeles raiders got? | CREATE TABLE table_2508633_5 (pick__number INTEGER, nfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_2508633_5 WHERE nfl_team = "Los Angeles Raiders" |
What are the lowest points in 2004? | CREATE TABLE table_name_96 (points INTEGER, year VARCHAR) | SELECT MIN(points) FROM table_name_96 WHERE year = 2004 |
Network of nbc is what digital channel? | CREATE TABLE table_name_31 (digital_channel VARCHAR, network VARCHAR) | SELECT digital_channel FROM table_name_31 WHERE network = "nbc" |
What is the average Draws, when Losses is greater than 9, and when Wins is greater than 9? | CREATE TABLE table_name_70 (draws INTEGER, losses VARCHAR, wins VARCHAR) | SELECT AVG(draws) FROM table_name_70 WHERE losses > 9 AND wins > 9 |
What was the game number of the game played against Charlotte? | CREATE TABLE table_name_67 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_name_67 WHERE team = "charlotte" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.