question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
What are the network(s) for tv1? | SELECT network FROM table_1601792_4 WHERE television_station = "TV1" | CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR) |
What was the team where series is formula renault 2.0 nec? | SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC" | CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR) |
Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? | SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3 | CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR) |
Which Halang has a Rera of ʒo²? | SELECT halang FROM table_name_6 WHERE rera = "ʒo²" | CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR) |
What is the record with a 3:56 time? | SELECT record FROM table_name_63 WHERE time = "3:56" | CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR) |
What are the average score and average staff number of all shops? | SELECT AVG(num_of_staff), AVG(score) FROM shop | CREATE TABLE shop (num_of_staff INTEGER, score INTEGER) |
Which Location Attendance has a Record of 11–34? | SELECT location_attendance FROM table_name_27 WHERE record = "11–34" | CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR) |
What is the Home with a Visitor of chicago, and a Series with 3 – 2? | SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2" | CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR) |
What year had a title of Die Shaolin Affen EP and EP as the type? | SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep" | CREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR) |
What Silver has the Location of Guangzhou? | SELECT silver FROM table_name_17 WHERE location = "guangzhou" | CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR) |
List the results for all games which involved the detroit red wings. | SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings" | CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR) |
How many played have 3 as the drawn, and a position greater than 4? | SELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 4 | CREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR) |
Which species show a negative result with both voges-proskauer and indole? | SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative" | CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR) |
Where is the place that has a Callsign of DWRJ-FM? | SELECT location FROM table_name_77 WHERE callsign = "dwrj-fm" | CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR) |
Name the venue for eng by 6 wkts | SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts" | CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR) |
What was the attendance when St Kilda played as the away team? | SELECT AVG(crowd) FROM table_name_79 WHERE away_team = "st kilda" | CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR) |
How many millions of viewers were there for number 6? | SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6 | CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR) |
How many years have a final score of 6–3, 6–2? | SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2" | CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR) |
Which incumbent was first elected in 1972? | SELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972 | CREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR) |
When was the private/non-sectarian school founded? | SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian" | CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR) |
Name the number of high points for record 5-17 | SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17" | CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR) |
On what date was god & guns released? | SELECT date_of_release FROM table_name_15 WHERE title = "god & guns" | CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR) |
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52? | SELECT COUNT(wins) FROM table_name_54 WHERE rank = "98" AND scoring_average > 73.52 | CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR) |
When zachary sanders is the performer how many people is the music by? | SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders" | CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR) |
What is the highest numbered pick from round 7? | SELECT MAX(pick) FROM table_name_67 WHERE round = 7 | CREATE TABLE table_name_67 (pick INTEGER, round VARCHAR) |
What is the Record that has a Nationality of new zealand? | SELECT record FROM table_name_35 WHERE nationality = "new zealand" | CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR) |
What is Country, when Score is "73-68=141"? | SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141 | CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR) |
How many games did Robert Peare play? | SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare" | CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR) |
What is the time for the race with the United States? | SELECT time FROM table_name_63 WHERE country = "united states" | CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR) |
What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play? | SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state" | CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR) |
What was being played on Nov 23, 2006? | SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006" | CREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR) |
which school shows #/county of 29 hamilton? | SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" | CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) |
Which Railway number(s) has a Year(s) of manufacture of 1899–1907? | SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907" | CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR) |
What is Born-Died, when Name is Maliq Bushati? | SELECT born_died FROM table_name_27 WHERE name = "maliq bushati" | CREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR) |
what is the episode title on original air date of September 30, 2007? | SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007" | CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR) |
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965? | SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965" | CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR) |
What are the number of international and domestic passengers of the airport named London "Heathrow"? | SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow" | CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR) |
What is Country, when Player is "Dow Finsterwald"? | SELECT country FROM table_name_54 WHERE player = "dow finsterwald" | CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) |
What Silver has a Golf of Li AO? | SELECT silver FROM table_name_20 WHERE gold = "li ao" | CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR) |
What are the names of products whose availability equals to 1? | SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 1 | CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR) |
What was the water depth that entered service in 2001 named Cajun Express? | SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express" | CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR) |
What is the original air date of the episode written by Karen Felix and Don Woodard? | SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard" | CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR) |
What NHL team does Rob White play on? | SELECT nhl_team FROM table_name_45 WHERE player = "rob white" | CREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR) |
What is the novelty of Tylocephale? | SELECT novelty FROM table_name_14 WHERE name = "tylocephale" | CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR) |
What is the earliest stage where mountains classifications was awarded to Peter Stetina? | SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" | CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR) |
In what League is Left Wing Yanick Dupre? | SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre" | CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) |
What was the total score / week of the contestant who placed in the bottom 2 on august 14? | SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2" | CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR) |
What is High Assists, when Team is "@ Milwaukee"? | SELECT high_assists FROM table_name_83 WHERE team = "@ milwaukee" | CREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR) |
Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE. | SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE" | CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR) |
Who won the 250cc in 1927? | SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927" | CREATE TABLE table_name_31 (year VARCHAR) |
Where was the 1984 Olympics hosted? | SELECT tournament FROM table_name_29 WHERE year = 1984 | CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR) |
Where was the game played when the opponent was Oklahoma City, and what was the attendance? | SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city" | CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR) |
What is the 2010 value with A in 2009 and A in 2008 in the Australian Open? | SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open" | CREATE TABLE table_name_43 (tournament VARCHAR) |
In which Season was the Division Washington Bullets? | SELECT season FROM table_name_4 WHERE division = "washington bullets" | CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR) |
How many people lived in san gabriel in the year 2000? | SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel" | CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR) |
What is the lowest rank for Chris Brown with react greater than 0.244? | SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244 | CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR) |
Which captain has billy bonds as the manager? | SELECT captain FROM table_name_34 WHERE manager = "billy bonds" | CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR) |
What was the rangers' record on Game 14? | SELECT record FROM table_name_44 WHERE game = 14 | CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR) |
what is the total number of opponent where date is november 23, 1980 | SELECT COUNT(opponent) FROM table_11406866_2 WHERE date = "November 23, 1980" | CREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR) |
What is the original title of the film from years after 1985 from the UK? | SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk" | CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR) |
What is the legs when the venue is rwe-sporthalle, mülheim and the runner-up (average in final) is simon whitlock (99.59)? | SELECT legs FROM table_name_81 WHERE venue = "rwe-sporthalle, mülheim" AND runner_up__average_in_final_ = "simon whitlock (99.59)" | CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR) |
Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294 | SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294" | CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) |
What is the name of a pick more than 5 at Washington College? | SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington" | CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR) |
What is Winner, when Location is Connie Mack Stadium, and when Year is 1946? | SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946 | CREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR) |
Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina? | SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina" | CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR) |
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team? | SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals" | CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR) |
What is the boiler provider for Bhel, India's TG Set provider? | SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India" | CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR) |
Who is the jockey for the winning horse Rafael Bejarano? | SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano" | CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR) |
Of all players with an overall rating greater than 80, how many are right-footed and left-footed? | SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot | CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) |
What is the Elimination move listed against Regal? | SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal" | CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR) |
Quotient of 97 350,333 has how many votes? | SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" | CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) |
which brand have drivers who won with the names of ryan briscoe and tomas scheckter | SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter" | CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) |
What opponent got 44 points in their game? | SELECT opponent FROM table_23243769_4 WHERE opp_points = 44 | CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR) |
How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have? | SELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 4 | CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR) |
What is every team with location attendance of Arco Arena 17,014? | SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014" | CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) |
When in 2008 that has a 2007 of f? | SELECT 2008 FROM table_name_30 WHERE 2007 = "f" | CREATE TABLE table_name_30 (Id VARCHAR) |
What is the Position with a round 3 pick for r. jay soward? | SELECT position FROM table_name_20 WHERE round < 3 AND name = "r. jay soward" | CREATE TABLE table_name_20 (position VARCHAR, round VARCHAR, name VARCHAR) |
When Paul Whiting won the mixed veteran, who won the mixed restricted? | SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting" | CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR) |
What is the lowest number of bronze medals for teams ranked below 13? | SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13 | CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER) |
Who did the fastest lap in the dutch grand prix? | SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix" | CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR) |
What country was the race in on April 27? | SELECT country FROM table_name_53 WHERE date = "april 27" | CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR) |
How many entries are listed for party during the 69th congress? | SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" | CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) |
How many dams are there in the Nome (CA) area? | SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)" | CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) |
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1? | SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1 | CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR) |
Record of 3-3-1 had what lowest game? | SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1" | CREATE TABLE table_name_81 (game INTEGER, record VARCHAR) |
If team two is Lanús, what was the total number of points? | SELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = "Lanús" | CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR) |
What is the highest attendance for December 3, 1972 after week 12? | SELECT MAX(attendance) FROM table_name_30 WHERE date = "december 3, 1972" AND week > 12 | CREATE TABLE table_name_30 (attendance INTEGER, date VARCHAR, week VARCHAR) |
When emt 9 is the series what is the date? | SELECT date FROM table_25572118_1 WHERE series = "EMT 9" | CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR) |
In which series was his position NC† ? | SELECT series FROM table_25557880_1 WHERE position = "NC†" | CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR) |
How many people were in attendance when the home shows as Bulls? | SELECT COUNT(attendance) FROM table_name_89 WHERE home = "bulls" | CREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR) |
What was the record in the game where the opponent wasd the atlanta falcons? | SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons" | CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) |
Find the name of the product that has the smallest capacity. | SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1 | CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR) |
What Gold has the Year of 1994? | SELECT gold FROM table_name_68 WHERE year = 1994 | CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR) |
Who wrote episode number 81 in the series? | SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81 | CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR) |
Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz? | SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99 | CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) |
What is the team they played on november 25? | SELECT team FROM table_27721131_6 WHERE date = "November 25" | CREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR) |
What is the most silver when bronze is more than 1 and total is more than 48? | SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48 | CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR) |
What is in 2007 has 2004 olympic games? | SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games" | CREATE TABLE table_name_16 (Id VARCHAR) |
What is the Writer with a Date that is january 1975? | SELECT writer FROM table_name_63 WHERE date = "january 1975" | CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR) |
How many Points have a Score of 3–2, and an Attendance larger than 17,398? | SELECT SUM(points) FROM table_name_86 WHERE score = "3–2" AND attendance > 17 OFFSET 398 | CREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.