question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5? | CREATE TABLE table_name_96 (week_5 VARCHAR, week_3 VARCHAR) | SELECT week_5 FROM table_name_96 WHERE week_3 = "cathi o'malley" |
What is the total best for Bruno junqueira | CREATE TABLE table_name_32 (best INTEGER, name VARCHAR) | SELECT SUM(best) FROM table_name_32 WHERE name = "bruno junqueira" |
What is the nature of the incident with Casualties of 3 wia, and Circumstances of ied? | CREATE TABLE table_name_93 (nature_of_incident VARCHAR, casualties VARCHAR, circumstances VARCHAR) | SELECT nature_of_incident FROM table_name_93 WHERE casualties = "3 wia" AND circumstances = "ied" |
What is the least total votes? | CREATE TABLE table_19763199_3 (total_votes INTEGER) | SELECT MIN(total_votes) FROM table_19763199_3 |
How many times did Sham Kwok Fai score in the game that was played on 22 February 2006? | CREATE TABLE table_name_72 (scored INTEGER, date VARCHAR) | SELECT SUM(scored) FROM table_name_72 WHERE date = "22 february 2006" |
What car was awarded sub 1 litre in 2000? | CREATE TABLE table_name_18 (category VARCHAR) | SELECT 2000 FROM table_name_18 WHERE category = "sub 1 litre" |
How many students did not have any course enrollment? | CREATE TABLE Students (student_id VARCHAR); CREATE TABLE Student_Course_Enrolment (student_id VARCHAR) | SELECT COUNT(*) FROM Students WHERE NOT student_id IN (SELECT student_id FROM Student_Course_Enrolment) |
how many president with date of inauguration being 4june1979 | CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR) | SELECT COUNT(president) FROM table_12134383_1 WHERE date_of_inauguration = "4June1979" |
Which party is Lawrence H. Fountain part of? | CREATE TABLE table_1341738_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341738_34 WHERE incumbent = "Lawrence H. Fountain" |
What were the laps of driver Jean-Christophe Boullion? | CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_41 WHERE driver = "jean-christophe boullion" |
What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock? | CREATE TABLE table_name_56 (original_broadway_cast VARCHAR, original_west_end_cast VARCHAR) | SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "sheila hancock" |
Which Region has an area of 14,037km²? | CREATE TABLE table_name_70 (region VARCHAR, area__km²_ VARCHAR) | SELECT region FROM table_name_70 WHERE area__km²_ = "14,037" |
How many prisons is Joan Leaven connected with? | CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR) | SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven" |
Which 2008 club has the name Francesca Piccinini Category:Articles with hCards? | CREATE TABLE table_name_71 (name VARCHAR) | SELECT 2008 AS _club FROM table_name_71 WHERE name = "francesca piccinini category:articles with hcards" |
What is the home team score for the game with the away team Carlton? | CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_25 WHERE away_team = "carlton" |
How many byes when there are more than 16 wins? | CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER) | SELECT AVG(byes) FROM table_name_50 WHERE wins > 16 |
What is the total number of Silver medals for the Nation with less than 1 Bronze? | CREATE TABLE table_name_84 (silver VARCHAR, bronze INTEGER) | SELECT COUNT(silver) FROM table_name_84 WHERE bronze < 1 |
What is the sum of Rank, when Bronze is less than 1, when Nation is Switzerland (SUI), and when Total is less than 2? | CREATE TABLE table_name_32 (rank INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT SUM(rank) FROM table_name_32 WHERE bronze < 1 AND nation = "switzerland (sui)" AND total < 2 |
What was the final score of the game on November 24 with the visiting team the Indianapolis Colts? | CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR) | SELECT final_score FROM table_name_23 WHERE visiting_team = "indianapolis colts" AND date = "november 24" |
What is the current account balance for a GDP at current prices of 142.640? | CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) | SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640" |
What was the highest number of points when flaps were 0? | CREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR) | SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0 |
What was the lowest round number at the UFC 16 event with a record of 19-1-1? | CREATE TABLE table_name_64 (round INTEGER, event VARCHAR, record VARCHAR) | SELECT MIN(round) FROM table_name_64 WHERE event = "ufc 16" AND record = "19-1-1" |
What was the average tonnage for Beatus, raided on 18 October 1940? | CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR) | SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus" |
What is the format of code pro-cd-4662? | CREATE TABLE table_name_98 (format VARCHAR, code VARCHAR) | SELECT format FROM table_name_98 WHERE code = "pro-cd-4662" |
Name the most episode numbers of 6 january 2006 | CREATE TABLE table_1590967_2 (episode_number INTEGER, air_date VARCHAR) | SELECT MAX(episode_number) FROM table_1590967_2 WHERE air_date = "6 January 2006" |
The record of 9-4 was against which opponent? | CREATE TABLE table_10361453_2 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_10361453_2 WHERE record = "9-4" |
What is the crowd size for Victoria park? | CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_99 WHERE venue = "victoria park" |
Who was the winner for the world championship formula 1 at the venue, circuit de monaco? | CREATE TABLE table_name_89 (winner VARCHAR, notes VARCHAR, venue VARCHAR) | SELECT winner FROM table_name_89 WHERE notes = "world championship formula 1" AND venue = "circuit de monaco" |
what is the no when the distance is 4168km? | CREATE TABLE table_26745820_1 (no VARCHAR, distance VARCHAR) | SELECT no FROM table_26745820_1 WHERE distance = "4168km" |
Which track has a Japanese title of メロディー? | CREATE TABLE table_name_12 (track INTEGER, japanese_title VARCHAR) | SELECT MAX(track) FROM table_name_12 WHERE japanese_title = "メロディー" |
Which title was created in 2001 by Mellow? | CREATE TABLE table_name_73 (title VARCHAR, date VARCHAR, artist VARCHAR) | SELECT title FROM table_name_73 WHERE date = 2001 AND artist = "mellow" |
Who had the lowest interview score from South Dakota with an evening gown less than 8.513? | CREATE TABLE table_name_52 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) | SELECT MIN(interview) FROM table_name_52 WHERE state = "south dakota" AND evening_gown < 8.513 |
What was the Score in Gelora Sriwijaya Stadium? | CREATE TABLE table_name_47 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_47 WHERE venue = "gelora sriwijaya stadium" |
Who beat Chic by 8fm? | CREATE TABLE table_name_9 (beat_by VARCHAR, distance VARCHAR) | SELECT beat_by FROM table_name_9 WHERE distance = "8fm" |
Name the laps for suzuki and time/retired of +1:02.804 | CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804" |
What are the network protocols for the model that has been discontinued in favor of the EN1700? | CREATE TABLE table_1300080_1 (network_protocols VARCHAR, notes VARCHAR) | SELECT network_protocols FROM table_1300080_1 WHERE notes = "Discontinued in favor of the en1700" |
What is the highest Draws for a season later than 1926 with less than 0 wins? | CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR) | SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0 |
Which player from United States is in place of t6? | CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t6" |
Who is the creator when the view happens to gddm, afp viewer? | CREATE TABLE table_1574968_1 (creator VARCHAR, viewer VARCHAR) | SELECT creator FROM table_1574968_1 WHERE viewer = "GDDM, AFP viewer" |
What is the episode name that aired on July 23, 2009 with more than 3.31 viewers? | CREATE TABLE table_name_45 (episode VARCHAR, air_date VARCHAR, viewers VARCHAR) | SELECT episode FROM table_name_45 WHERE air_date = "july 23, 2009" AND viewers > 3.31 |
What percentage of users were using Internet Explorer according to the source that reported 20.01% used Firefox? | CREATE TABLE table_name_53 (internet_explorer VARCHAR, firefox VARCHAR) | SELECT internet_explorer FROM table_name_53 WHERE firefox = "20.01%" |
Who was the new Santos manager? | CREATE TABLE table_29414946_3 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_29414946_3 WHERE team = "Santos" |
What is the total number of poles for arden international? | CREATE TABLE table_10420426_1 (poles VARCHAR, team VARCHAR) | SELECT COUNT(poles) FROM table_10420426_1 WHERE team = "Arden International" |
what is the score for tom watson? | CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_51 WHERE player = "tom watson" |
Name the record for result of l 17–50 | CREATE TABLE table_14940519_1 (record VARCHAR, result VARCHAR) | SELECT record FROM table_14940519_1 WHERE result = "L 17–50" |
What is the highest amount of points? | CREATE TABLE table_27539535_4 (points INTEGER) | SELECT MAX(points) FROM table_27539535_4 |
What is the score when the game took place on January 18? | CREATE TABLE table_17355628_7 (score VARCHAR, date VARCHAR) | SELECT score FROM table_17355628_7 WHERE date = "January 18" |
Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? | CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR) | SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum" |
who is the leading scorer where home is charlotte bobcats | CREATE TABLE table_11964047_5 (leading_scorer VARCHAR, home VARCHAR) | SELECT leading_scorer FROM table_11964047_5 WHERE home = "Charlotte Bobcats" |
What tyres are associated with a year after 1974 and 5 points? | CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) | SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" |
What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals? | CREATE TABLE table_name_21 (rank INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_21 WHERE bronze > 3 AND total > 36 |
Find all the name of documents without any sections. | CREATE TABLE document_sections (document_name VARCHAR, document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR) | SELECT document_name FROM documents WHERE NOT document_code IN (SELECT document_code FROM document_sections) |
What's the number of the episode directed by Whitney Ransick? | CREATE TABLE table_2345558_1 (_number VARCHAR, director VARCHAR) | SELECT _number FROM table_2345558_1 WHERE director = "Whitney Ransick" |
How many draws did švyturys Klaipėda have? | CREATE TABLE table_16034882_4 (draws INTEGER, club VARCHAR) | SELECT MIN(draws) FROM table_16034882_4 WHERE club = "Švyturys Klaipėda" |
what is the name when the type is freighter, nationality is united kingdom on 3 may 1940? | CREATE TABLE table_name_61 (name VARCHAR, date VARCHAR, type VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_61 WHERE type = "freighter" AND nationality = "united kingdom" AND date = "3 may 1940" |
Which player placed in t5 and had a score of 72-71-73-78=294? | CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294 |
What is the city location of the tournament currently known as the Medibank International Sydney? | CREATE TABLE table_20630462_1 (city_s_ VARCHAR, also_currently_known_as VARCHAR) | SELECT city_s_ FROM table_20630462_1 WHERE also_currently_known_as = "Medibank International Sydney" |
What Main Location(s) has an Area of 19,800 HA? | CREATE TABLE table_name_16 (main_location_s_ VARCHAR, area VARCHAR) | SELECT main_location_s_ FROM table_name_16 WHERE area = "19,800 ha" |
What is the origin for the item with an owner of Hunan Broadcasting System (HBS)? | CREATE TABLE table_name_82 (origin VARCHAR, owner VARCHAR) | SELECT origin FROM table_name_82 WHERE owner = "hunan broadcasting system (hbs)" |
What is the frequency of the call sign licensed in Albany, New York? | CREATE TABLE table_name_7 (frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT frequency_mhz FROM table_name_7 WHERE city_of_license = "albany, new york" |
Which country has a score of 71-72-73-69=285? | CREATE TABLE table_name_44 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_44 WHERE score = 71 - 72 - 73 - 69 = 285 |
What opponent was in the match that resulted in 1-2? | CREATE TABLE table_name_61 (opponent_team VARCHAR, result VARCHAR) | SELECT opponent_team FROM table_name_61 WHERE result = "1-2" |
What date had a time of 20:10? | CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_25 WHERE time = "20:10" |
Who is the Opponent playing at 20:00 GMT at Camp Nou? | CREATE TABLE table_name_64 (opponent VARCHAR, time VARCHAR, ground VARCHAR) | SELECT opponent FROM table_name_64 WHERE time = "20:00 gmt" AND ground = "camp nou" |
Which Rank has a Name of tsvetelina kirilova, and a Result smaller than 55.97? | CREATE TABLE table_name_73 (rank INTEGER, name VARCHAR, result VARCHAR) | SELECT MAX(rank) FROM table_name_73 WHERE name = "tsvetelina kirilova" AND result < 55.97 |
Where was the 2011-2012 soccer state tournament held? | CREATE TABLE table_2849652_2 (sport VARCHAR) | SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" |
What is the quantity for railway 263? | CREATE TABLE table_name_50 (quantity VARCHAR, railway_number_s_ VARCHAR) | SELECT quantity FROM table_name_50 WHERE railway_number_s_ = "263" |
Which episode was watched by 11.75 million U.S. viewers? | CREATE TABLE table_13301516_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_13301516_1 WHERE us_viewers__millions_ = "11.75" |
Who is the coach of the team in Leicester? | CREATE TABLE table_18461635_1 (coach VARCHAR, location VARCHAR) | SELECT coach FROM table_18461635_1 WHERE location = "Leicester" |
List all pilot names in ascending alphabetical order. | CREATE TABLE pilot (Name VARCHAR) | SELECT Name FROM pilot ORDER BY Name |
What was the record when the high rebounds was from Nick Collison (11)? | CREATE TABLE table_11964154_11 (record VARCHAR, high_rebounds VARCHAR) | SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)" |
When did the team score 21 goals? | CREATE TABLE table_name_67 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_67 WHERE goal = 21 |
When mixed quad singles is the event what is the final/bronze medal match? | CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, event VARCHAR) | SELECT final__bronze_medal_match FROM table_18602462_21 WHERE event = "Mixed Quad Singles" |
Name the running with for elizabeth falco | CREATE TABLE table_1855841_1 (running_with__in_team_ VARCHAR, candidate VARCHAR) | SELECT running_with__in_team_ FROM table_1855841_1 WHERE candidate = "Elizabeth Falco" |
Where did the competition take place that had a 4-2 result? | CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_46 WHERE result = "4-2" |
What's the sum of the Area (KM 2) that's got a Population that's smaller than 90? | CREATE TABLE table_name_20 (area__km_2__ VARCHAR, population INTEGER) | SELECT COUNT(area__km_2__) FROM table_name_20 WHERE population < 90 |
What is the status of the character keel (keele) zeibel? | CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR) | SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel" |
At what Games did the competitor win a Silver medal in the light heavyweight event? | CREATE TABLE table_name_54 (games VARCHAR, medal VARCHAR, event VARCHAR) | SELECT games FROM table_name_54 WHERE medal = "silver" AND event = "light heavyweight" |
Who was the commentator when the spokesperson was michael aspel? | CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR) | SELECT commentator FROM table_name_35 WHERE spokespersons = "michael aspel" |
How many teams were at 10 points? | CREATE TABLE table_26473176_1 (team VARCHAR, points VARCHAR) | SELECT COUNT(team) FROM table_26473176_1 WHERE points = 10 |
Show the ids of all employees who have destroyed a document. | CREATE TABLE Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR) | SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed |
How many points did the opponents score on the game where Sooners' record was 16-5? | CREATE TABLE table_22903773_2 (opp_points INTEGER, record VARCHAR) | SELECT MAX(opp_points) FROM table_22903773_2 WHERE record = "16-5" |
Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? | CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR) | SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja" |
Tell me the tv time for attendance of 60,894 | CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR) | SELECT tv_time FROM table_name_86 WHERE attendance = "60,894" |
Which model of the car has the minimum horsepower? | CREATE TABLE CARS_DATA (Id VARCHAR, horsepower VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR) | SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.horsepower LIMIT 1 |
Show home city where at least two drivers older than 40 are from. | CREATE TABLE driver (home_city VARCHAR, age INTEGER) | SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2 |
What was the total number who attended during week 11? | CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11 |
In what year was the Gila Bend Overpass built? | CREATE TABLE table_name_79 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_79 WHERE name = "gila bend overpass" |
What was the speed of the race that ended in 2nd place and had a time of 01:13:03.39? | CREATE TABLE table_name_29 (speed VARCHAR, position VARCHAR, time VARCHAR) | SELECT speed FROM table_name_29 WHERE position = "2nd" AND time = "01:13:03.39" |
What is the total of Apparent magnitudes for an NGC number larger than 3293? | CREATE TABLE table_name_45 (apparent_magnitude INTEGER, ngc_number INTEGER) | SELECT SUM(apparent_magnitude) FROM table_name_45 WHERE ngc_number > 3293 |
What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? | CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) | SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181 |
What is the result of the match with Jeff Monson as opponent? | CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_96 WHERE opponent = "jeff monson" |
Who is the third member of the third conservative party, and the second liberal party? | CREATE TABLE table_name_30 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR) | SELECT third_member FROM table_name_30 WHERE third_party = "conservative" AND second_party = "liberal" |
What is the highest Pick, when Nationality is "United States", when College is "New Mexico State", and when Round is greater than 6? | CREATE TABLE table_name_35 (pick INTEGER, round VARCHAR, nationality VARCHAR, college VARCHAR) | SELECT MAX(pick) FROM table_name_35 WHERE nationality = "united states" AND college = "new mexico state" AND round > 6 |
Which year is that has a Entrant of belond equa-flow / calif. muffler? | CREATE TABLE table_name_88 (year VARCHAR, entrant VARCHAR) | SELECT year FROM table_name_88 WHERE entrant = "belond equa-flow / calif. muffler" |
what is the callsign for analog 19? | CREATE TABLE table_name_42 (callsign VARCHAR, analog VARCHAR) | SELECT callsign FROM table_name_42 WHERE analog = "19" |
What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs? | CREATE TABLE table_name_34 (points INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" |
What High School with a nickname of S Eagle has a Division of crest? | CREATE TABLE table_name_17 (high_school VARCHAR, division VARCHAR, nickname VARCHAR) | SELECT high_school FROM table_name_17 WHERE division = "crest" AND nickname = "s eagle" |
List the population density per kilometer for the city of abra de ilog. | CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR) | SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Abra de Ilog" |
How many wins for team mv agusta, over 10 points, and after 1957? | CREATE TABLE table_name_59 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR) | SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.