answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT SUM(gold) FROM table_name_73 WHERE bronze = 0 AND total < 1
|
CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, total VARCHAR)
|
When the Total is less than 1, and Bronze is 0, how many Gold medals are there?
|
SELECT COUNT(rank) FROM table_name_63 WHERE nation = "germany" AND total > 2
|
CREATE TABLE table_name_63 (rank VARCHAR, nation VARCHAR, total VARCHAR)
|
What is the Rank of the Nation of Germany when the Total is more than 2?
|
SELECT MIN(bodyweight) FROM table_name_35 WHERE snatch > 117.5
|
CREATE TABLE table_name_35 (bodyweight INTEGER, snatch INTEGER)
|
Which weightlifter with a snatch larger than 117.5 had the lowest bodyweight?
|
SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135
|
CREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
|
Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?
|
SELECT MAX(total__kg_) FROM table_name_82 WHERE bodyweight > 136.16
|
CREATE TABLE table_name_82 (total__kg_ INTEGER, bodyweight INTEGER)
|
Of weightlifters who weighed more than 136.16, who had the highest Total?
|
SELECT AVG(clean_) & _jerk FROM table_name_94 WHERE bodyweight = 87.5 AND snatch < 95
|
CREATE TABLE table_name_94 (_jerk VARCHAR, clean_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
|
What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95?
|
SELECT COUNT(clean_) & _jerk FROM table_name_8 WHERE total__kg_ = 200 AND snatch > 95
|
CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR)
|
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?
|
SELECT kilometer_no__rizal_park_basis_ FROM table_name_92 WHERE kilometer_no__layac_basis_ = "25"
|
CREATE TABLE table_name_92 (kilometer_no__rizal_park_basis_ VARCHAR, kilometer_no__layac_basis_ VARCHAR)
|
What kilometer (Rizal Park-basis) has a kilometer of 25?
|
SELECT barangay FROM table_name_66 WHERE exit = "sisiman toll barrier"
|
CREATE TABLE table_name_66 (barangay VARCHAR, exit VARCHAR)
|
Which Barangay has an exit of Sisiman toll barrier?
|
SELECT kilometer_no__layac_basis_ FROM table_name_29 WHERE barangay = "general lim (capot)"
|
CREATE TABLE table_name_29 (kilometer_no__layac_basis_ VARCHAR, barangay VARCHAR)
|
What kilometer (Layac-basis) has a Barangay of general lim (capot)?
|
SELECT municipality FROM table_name_42 WHERE barangay = "poblacion"
|
CREATE TABLE table_name_42 (municipality VARCHAR, barangay VARCHAR)
|
In which municipality is Barangay Poblacion?
|
SELECT exit FROM table_name_57 WHERE kilometer_no__rizal_park_basis_ = "164"
|
CREATE TABLE table_name_57 (exit VARCHAR, kilometer_no__rizal_park_basis_ VARCHAR)
|
What is the exit at kilometer (Rizal Park-basis) 164?
|
SELECT competition FROM table_name_27 WHERE date = "23 february 1929"
|
CREATE TABLE table_name_27 (competition VARCHAR, date VARCHAR)
|
What is the competition on 23 February 1929?
|
SELECT club_province FROM table_name_93 WHERE position = "wing" AND caps < 24 AND player = "sireli bobo"
|
CREATE TABLE table_name_93 (club_province VARCHAR, player VARCHAR, position VARCHAR, caps VARCHAR)
|
What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps?
|
SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva"
|
CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR)
|
What is the total number of Caps Aca Ratuva, a flanker, has?
|
SELECT date_of_birth__age_ FROM table_name_45 WHERE player = "kameli ratuvou"
|
CREATE TABLE table_name_45 (date_of_birth__age_ VARCHAR, player VARCHAR)
|
What is the date of birth of Kameli Ratuvou?
|
SELECT date_of_birth__age_ FROM table_name_49 WHERE player = "henry qiodravu"
|
CREATE TABLE table_name_49 (date_of_birth__age_ VARCHAR, player VARCHAR)
|
What is the date of birth of Henry Qiodravu?
|
SELECT MIN(total) FROM table_name_89 WHERE gold < 3
|
CREATE TABLE table_name_89 (total INTEGER, gold INTEGER)
|
What is the lowest medal total with less than 3 gold medals?
|
SELECT MIN(laps) FROM table_name_32 WHERE start = "21"
|
CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR)
|
What's the lowest amount of laps with a start of 21?
|
SELECT start FROM table_name_20 WHERE qual = "84.300"
|
CREATE TABLE table_name_20 (start VARCHAR, qual VARCHAR)
|
What was the start of the competitor with a qualifying time of 84.300?
|
SELECT year FROM table_name_38 WHERE laps > 200
|
CREATE TABLE table_name_38 (year VARCHAR, laps INTEGER)
|
In what year were there more laps than 200 in a race?
|
SELECT current_version FROM table_name_38 WHERE license = "gpl v2" AND name = "project64"
|
CREATE TABLE table_name_38 (current_version VARCHAR, license VARCHAR, name VARCHAR)
|
what is the current version of the project64 with gpl v2 license?
|
SELECT current_version FROM table_name_97 WHERE license = "gpl v2" AND name = "mupen64plus"
|
CREATE TABLE table_name_97 (current_version VARCHAR, license VARCHAR, name VARCHAR)
|
what is the current version of the name mupen64plus with gpl v2 license?
|
SELECT current_version FROM table_name_77 WHERE license = "gpl v3"
|
CREATE TABLE table_name_77 (current_version VARCHAR, license VARCHAR)
|
what is the current version with license gpl v3?
|
SELECT leading_man FROM table_name_1 WHERE year < 1932 AND director = "archie mayo"
|
CREATE TABLE table_name_1 (leading_man VARCHAR, year VARCHAR, director VARCHAR)
|
What leading man earlier than 1932 was directed by archie mayo?
|
SELECT SUM(year) FROM table_name_56 WHERE role = "nan taylor, alias of nan ellis, aka mrs. andrews" AND director = "william keighley"
|
CREATE TABLE table_name_56 (year INTEGER, role VARCHAR, director VARCHAR)
|
What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley?
|
SELECT MAX(year) FROM table_name_65 WHERE role = "joan gordon, aka francine la rue"
|
CREATE TABLE table_name_65 (year INTEGER, role VARCHAR)
|
What is the latest year for the role of joan gordon, aka francine la rue?
|
SELECT film FROM table_name_91 WHERE leading_man = "adolphe menjou" AND year = 1939
|
CREATE TABLE table_name_91 (film VARCHAR, leading_man VARCHAR, year VARCHAR)
|
What film has a leading man of adolphe menjou in 1939?
|
SELECT film FROM table_name_54 WHERE director = "william a. wellman" AND year > 1931 AND leading_man = "george brent" AND role = "joan gordon, aka francine la rue"
|
CREATE TABLE table_name_54 (film VARCHAR, role VARCHAR, leading_man VARCHAR, director VARCHAR, year VARCHAR)
|
What film was the director william a. wellman, later than 1931 with a leading man of george brent, and a Role of joan gordon, aka francine la rue?
|
SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt"
|
CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
|
What director directed the role of shelby barret wyatt in 1935?
|
SELECT weekly_rank___number_ FROM table_name_53 WHERE share = 9 AND viewers__m_ = 9.42
|
CREATE TABLE table_name_53 (weekly_rank___number_ VARCHAR, share VARCHAR, viewers__m_ VARCHAR)
|
What is the weekly rank for a share of 9 and 9.42 million viewers?
|
SELECT SUM(rating) FROM table_name_33 WHERE weekly_rank___number_ = "10" AND share < 11
|
CREATE TABLE table_name_33 (rating INTEGER, weekly_rank___number_ VARCHAR, share VARCHAR)
|
What is the sum of all ratings at a weekly rank of 10 and a share less than 11?
|
SELECT MAX(viewers__m_) FROM table_name_47 WHERE rating > 9.4
|
CREATE TABLE table_name_47 (viewers__m_ INTEGER, rating INTEGER)
|
What is the highest number of viewers for a rating greater than 9.4?
|
SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m"
|
CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR)
|
Which athlete performed before 1984 in an 800 m event?
|
SELECT MIN(points) FROM table_name_97 WHERE tries > 23 AND player = "tevita vaikona"
|
CREATE TABLE table_name_97 (points INTEGER, tries VARCHAR, player VARCHAR)
|
What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries?
|
SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2
|
CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR)
|
What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
|
SELECT competition FROM table_name_19 WHERE result = "win" AND score = "3-1"
|
CREATE TABLE table_name_19 (competition VARCHAR, result VARCHAR, score VARCHAR)
|
What is the competition that had a win result and a score of 3-1?
|
SELECT venue FROM table_name_33 WHERE result = "win" AND competition = "2002 tiger cup group stage" AND score = "0-4"
|
CREATE TABLE table_name_33 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
|
What is the venue of the match that had a win result and a score of 0-4 in the 2002 Tiger Cup Group Stage?
|
SELECT score FROM table_name_98 WHERE date = "july 22, 2008"
|
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
|
What is the score of the match on July 22, 2008?
|
SELECT score FROM table_name_16 WHERE competition = "2002 tiger cup third/fourth place"
|
CREATE TABLE table_name_16 (score VARCHAR, competition VARCHAR)
|
What is the score of the 2002 Tiger Cup third/fourth place match?
|
SELECT competition FROM table_name_37 WHERE date = "october 15, 2008"
|
CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR)
|
What is the competition on October 15, 2008?
|
SELECT player FROM table_name_61 WHERE school = "st. benedict's prep"
|
CREATE TABLE table_name_61 (player VARCHAR, school VARCHAR)
|
What is the player that went to st. benedict's prep?
|
SELECT nba_draft FROM table_name_58 WHERE college = "ohio state"
|
CREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR)
|
What is the NBA draft for ohio state?
|
SELECT school FROM table_name_69 WHERE height = "6-6"
|
CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)
|
What school did the player that is 6-6 go to?
|
SELECT school FROM table_name_28 WHERE player = "samardo samuels"
|
CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
|
What school did samardo samuels go to?
|
SELECT final FROM table_name_88 WHERE event = "middleweight β75 kg"
|
CREATE TABLE table_name_88 (final VARCHAR, event VARCHAR)
|
What is the final for middleweight β75 kg?
|
SELECT athlete FROM table_name_26 WHERE semifinal = "did not advance" AND event = "light heavyweight β81 kg"
|
CREATE TABLE table_name_26 (athlete VARCHAR, semifinal VARCHAR, event VARCHAR)
|
For the light heavyweight β81 kg event that did not advance to semifinal, who was the athlete?
|
SELECT final FROM table_name_78 WHERE athlete = "rouhollah hosseini"
|
CREATE TABLE table_name_78 (final VARCHAR, athlete VARCHAR)
|
What was the final for rouhollah hosseini?
|
SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = "did not advance" AND round_of_32 = "n/a"
|
CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)
|
When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16?
|
SELECT home_team FROM table_name_17 WHERE venue = "windy hill"
|
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
|
Can you tell me the Home team that has a Venue of Windy Hill?
|
SELECT MIN(attendance) FROM table_name_68 WHERE home = "pittsburgh"
|
CREATE TABLE table_name_68 (attendance INTEGER, home VARCHAR)
|
What was the lowest attendance at a game when Pittsburgh was the home team?
|
SELECT date FROM table_name_81 WHERE home = "atlanta"
|
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
|
What was the date of the game when Atlanta was the home team?
|
SELECT decision FROM table_name_90 WHERE home = "montreal"
|
CREATE TABLE table_name_90 (decision VARCHAR, home VARCHAR)
|
What was the decision of the game when Montreal was the home team?
|
SELECT date FROM table_name_26 WHERE decision = "niittymaki" AND record = "30β21β5"
|
CREATE TABLE table_name_26 (date VARCHAR, decision VARCHAR, record VARCHAR)
|
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30β21β5?
|
SELECT position FROM table_name_19 WHERE nationality = "united states" AND pick = 9
|
CREATE TABLE table_name_19 (position VARCHAR, nationality VARCHAR, pick VARCHAR)
|
Which Position has a Nationality of united states, and a Pick of 9?
|
SELECT AVG(pick) FROM table_name_14 WHERE position = "pg" AND round < 1
|
CREATE TABLE table_name_14 (pick INTEGER, position VARCHAR, round VARCHAR)
|
What is the average Pick with a Position of pg, and a Round less than 1?
|
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14
|
CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)
|
Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?
|
SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42
|
CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR)
|
What is the average for the top five having a number of 42 cuts made.
|
SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND date = "april 27"
|
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
|
Tell me the score on april 27 with visitor of buffalo
|
SELECT SUM(crowd) FROM table_name_4 WHERE away_team = "melbourne"
|
CREATE TABLE table_name_4 (crowd INTEGER, away_team VARCHAR)
|
How many people attended Melbourne's away game?
|
SELECT result FROM table_name_66 WHERE venue = "dairy farmers stadium" AND score = "28-24"
|
CREATE TABLE table_name_66 (result VARCHAR, venue VARCHAR, score VARCHAR)
|
Who won the game at Dairy farmers stadium with a score of 28-24?
|
SELECT result FROM table_name_26 WHERE date = "24 july 2010"
|
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
|
Who won that game on 24 July 2010?
|
SELECT opponent FROM table_name_20 WHERE result = "loss" AND score = "24-28"
|
CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR, score VARCHAR)
|
Who loss the 24-28 game?
|
SELECT opponent FROM table_name_69 WHERE score = "18-19"
|
CREATE TABLE table_name_69 (opponent VARCHAR, score VARCHAR)
|
Who scored 18-19?
|
SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total"
|
CREATE TABLE table_name_1 (rank VARCHAR, silver VARCHAR, nation VARCHAR)
|
Which rank has more than 1 silver and a total nation?
|
SELECT MIN(total) FROM table_name_79 WHERE nation = "slovenia" AND gold < 0
|
CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)
|
What is the lowest total from slovenia with a Gold smaller than 0?
|
SELECT class FROM table_name_1 WHERE no_built < 12 AND operator = "southern"
|
CREATE TABLE table_name_1 (class VARCHAR, no_built VARCHAR, operator VARCHAR)
|
What class has less than 12 numbers built operated by southern?
|
SELECT episode FROM table_name_62 WHERE viewers__m_ > 5.63 AND households__rating_share_ = "4.5/7"
|
CREATE TABLE table_name_62 (episode VARCHAR, viewers__m_ VARCHAR, households__rating_share_ VARCHAR)
|
Name the episode for viewers bigger than 5.63 and the households rating is 4.5/7
|
SELECT 18 AS _49__rating_share_ FROM table_name_1 WHERE weekly_rank___number_ = "30"
|
CREATE TABLE table_name_1 (weekly_rank___number_ VARCHAR)
|
Name the 18-49 rating for weekly rank of 30
|
SELECT driver FROM table_name_39 WHERE laps = "29"
|
CREATE TABLE table_name_39 (driver VARCHAR, laps VARCHAR)
|
Who was the driver with 29 laps?
|
SELECT time_retired FROM table_name_76 WHERE grid = "18"
|
CREATE TABLE table_name_76 (time_retired VARCHAR, grid VARCHAR)
|
What was the retired time for someone who was on grid 18?
|
SELECT grid FROM table_name_84 WHERE driver = "jacques villeneuve"
|
CREATE TABLE table_name_84 (grid VARCHAR, driver VARCHAR)
|
Jacques Villeneuve was on what grid?
|
SELECT time_retired FROM table_name_34 WHERE grid = "9"
|
CREATE TABLE table_name_34 (time_retired VARCHAR, grid VARCHAR)
|
What's the time for someone on grid 9?
|
SELECT grid FROM table_name_77 WHERE driver = "alex yoong"
|
CREATE TABLE table_name_77 (grid VARCHAR, driver VARCHAR)
|
What was the grid of Alex Yoong?
|
SELECT date FROM table_name_80 WHERE venue = "lake oval"
|
CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR)
|
What date was the game played at Lake Oval?
|
SELECT COUNT(crowd) FROM table_name_17 WHERE venue = "victoria park"
|
CREATE TABLE table_name_17 (crowd VARCHAR, venue VARCHAR)
|
How many people came to the game at Victoria Park?
|
SELECT opponent FROM table_name_26 WHERE loss = "moyer (9β4)"
|
CREATE TABLE table_name_26 (opponent VARCHAR, loss VARCHAR)
|
Who lost to moyer (9β4)?
|
SELECT attendance FROM table_name_38 WHERE record = "47β63"
|
CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)
|
How many people attended when the record was broken with 47β63?
|
SELECT home_team AS score FROM table_name_70 WHERE away_team = "collingwood"
|
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
|
What is the score of the home team that played Collingwood?
|
SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22β21β4"
|
CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
|
Who was the visitor when ward recorded the decision with a record of 22β21β4?
|
SELECT score FROM table_name_77 WHERE record = "22β19β4"
|
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)
|
What is the score of the game when they had a record of 22β19β4?
|
SELECT SUM(1 AS st_week_sales) FROM table_name_51 WHERE album = "finding forever" AND number < 6
|
CREATE TABLE table_name_51 (album VARCHAR, number VARCHAR)
|
What is the 1st week sales for the album finding forever before the number 6?
|
SELECT COUNT(grid) FROM table_name_60 WHERE time_retired = "2:41:38.4" AND laps > 40
|
CREATE TABLE table_name_60 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
|
What is the sum number of grid where time/retired is 2:41:38.4 and laps were more than 40?
|
SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = "john surtees"
|
CREATE TABLE table_name_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
|
Which constructor had laps amounting to more than 21 where the driver was John Surtees?
|
SELECT SUM(laps) FROM table_name_6 WHERE driver = "jo bonnier" AND grid < 11
|
CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR, grid VARCHAR)
|
How many laps did Jo Bonnier driver when the grid number was smaller than 11?
|
SELECT SUM(laps) FROM table_name_53 WHERE time_retired = "gearbox"
|
CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR)
|
How many laps were there when time/retired was gearbox?
|
SELECT SUM(attendance) FROM table_name_67 WHERE visitor = "jazz"
|
CREATE TABLE table_name_67 (attendance INTEGER, visitor VARCHAR)
|
How many were in attendance at the game where the visiting team was the Jazz?
|
SELECT opponent FROM table_name_82 WHERE attendance = "34,063"
|
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)
|
Who did the Chiefs play at the game attended by 34,063?
|
SELECT week FROM table_name_48 WHERE attendance = "33,057"
|
CREATE TABLE table_name_48 (week VARCHAR, attendance VARCHAR)
|
Which week's game was attended by 33,057 people?
|
SELECT organisation FROM table_name_84 WHERE year < 2005 AND award = "best variety show host"
|
CREATE TABLE table_name_84 (organisation VARCHAR, year VARCHAR, award VARCHAR)
|
what is the organisation when the year is less than 2005 and the award is the best variety show host?
|
SELECT organisation FROM table_name_79 WHERE nominated_work_title = "n/a" AND year = 2005
|
CREATE TABLE table_name_79 (organisation VARCHAR, nominated_work_title VARCHAR, year VARCHAR)
|
what is the organisation when the nominated work title is n/a in the year 2005?
|
SELECT MIN(year) FROM table_name_99 WHERE result = "nominated" AND nominated_work_title = "love bites"
|
CREATE TABLE table_name_99 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR)
|
what is the lowest year with the result is nominated for the work title is love bites?
|
SELECT year FROM table_name_98 WHERE organisation = "star awards" AND result = "won" AND nominated_work_title = "n/a"
|
CREATE TABLE table_name_98 (year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR)
|
what is the year when then organisation is star awards, the result is won and the nominated work title is n/a?
|
SELECT MAX(year) FROM table_name_85 WHERE result = "nominated" AND nominated_work_title = "n/a"
|
CREATE TABLE table_name_85 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR)
|
what is the latest year that has the result of nominated and the nominated work title is n/a?
|
SELECT nominated_work_title FROM table_name_52 WHERE result = "won" AND organisation = "star awards" AND award = "top 10 most popular female artiste" AND year > 2007
|
CREATE TABLE table_name_52 (nominated_work_title VARCHAR, year VARCHAR, award VARCHAR, result VARCHAR, organisation VARCHAR)
|
what is the nominated work title when the result is won, the organisation is star awards and the award is top 10 most popular female artiste in the year 2007?
|
SELECT rank FROM table_name_47 WHERE gold = "9" AND silver = "9"
|
CREATE TABLE table_name_47 (rank VARCHAR, gold VARCHAR, silver VARCHAR)
|
What is the rank of the games that had 9 gold and 9 silvers?
|
SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "31"
|
CREATE TABLE table_name_8 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
|
How many golds were there in a game that has 17 bronze and a total of 31?
|
SELECT games FROM table_name_61 WHERE bronze = "8" AND gold = "4"
|
CREATE TABLE table_name_61 (games VARCHAR, bronze VARCHAR, gold VARCHAR)
|
Which game had 8 bronze and 4 gold?
|
SELECT date FROM table_name_91 WHERE visitor = "san jose"
|
CREATE TABLE table_name_91 (date VARCHAR, visitor VARCHAR)
|
When did San Jose visit the St. Louis?
|
SELECT SUM(wins) FROM table_name_12 WHERE latest_win = "1999 italian grand prix" AND rank > 15
|
CREATE TABLE table_name_12 (wins INTEGER, latest_win VARCHAR, rank VARCHAR)
|
How many total wins with the latest win at the 1999 Italian Grand Prix at a rank of 15?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.