answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(total) FROM table_name_74 WHERE silver > 0 AND bronze > 21 AND gold > 29
|
CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
|
I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29
|
SELECT SUM(car) FROM table_name_54 WHERE player = "jeff smoker"
|
CREATE TABLE table_name_54 (car INTEGER, player VARCHAR)
|
How many carries for jeff smoker?
|
SELECT AVG(car) FROM table_name_58 WHERE long = "3"
|
CREATE TABLE table_name_58 (car INTEGER, long VARCHAR)
|
How many average carries for the player with 3 as a long?
|
SELECT home_team FROM table_name_24 WHERE tie_no < 7 AND away_team = "havant & waterlooville"
|
CREATE TABLE table_name_24 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)
|
who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
|
SELECT score_in_the_final FROM table_name_95 WHERE outcome = "runner-up" AND date = 1970
|
CREATE TABLE table_name_95 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
|
What is the Score in the final with an Outcome with runner-up, and a Date with 1970?
|
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
|
CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)
|
What is the Tournament with a Opponents in the final with rod laver fred stolle?
|
SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = "hank pfister sherwood stewart"
|
CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
|
What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?
|
SELECT partner FROM table_name_31 WHERE opponents_in_the_final = "roy emerson rod laver" AND date < 1975
|
CREATE TABLE table_name_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR)
|
What is the Partner with Opponents in the final with roy emerson rod laver, with Date smaller than 1975?
|
SELECT driver FROM table_name_92 WHERE laps = 45
|
CREATE TABLE table_name_92 (driver VARCHAR, laps VARCHAR)
|
Which driver has 45 laps?
|
SELECT time_retired FROM table_name_16 WHERE grid < 9 AND constructor = "ferrari" AND driver = "rubens barrichello"
|
CREATE TABLE table_name_16 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, constructor VARCHAR)
|
Which Time/Retired has a grid smaller than 9, a Ferrari construct, and is driven by Rubens Barrichello?
|
SELECT home_team FROM table_name_55 WHERE away_team = "footscray"
|
CREATE TABLE table_name_55 (home_team VARCHAR, away_team VARCHAR)
|
Who was the home team when the away team was Footscray?
|
SELECT date FROM table_name_65 WHERE home_team = "north melbourne"
|
CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
|
What was the date of the game where North Melbourne was the home team?
|
SELECT away_team FROM table_name_35 WHERE venue = "kardinia park"
|
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
|
Which away team played at Kardinia Park?
|
SELECT no_of_cities FROM table_name_38 WHERE voivodeship = "elblΔ
g voivodeship"
|
CREATE TABLE table_name_38 (no_of_cities VARCHAR, voivodeship VARCHAR)
|
Namem the number of cities that contains Voivodeship of elblΔ
g voivodeship
|
SELECT COUNT(number_of_people_1991) FROM table_name_72 WHERE village__german_ = "rupertiberg"
|
CREATE TABLE table_name_72 (number_of_people_1991 VARCHAR, village__german_ VARCHAR)
|
How many people in 1991 have a Village (German) of rupertiberg?
|
SELECT score FROM table_name_64 WHERE date = "october 30"
|
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
|
What was the score on October 30?
|
SELECT attendance FROM table_name_78 WHERE date = "october 6"
|
CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR)
|
What was the attendance on October 6?
|
SELECT record FROM table_name_41 WHERE date = "october 24"
|
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
|
What was the record on October 24?
|
SELECT visitor FROM table_name_85 WHERE date = "october 20"
|
CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR)
|
Who was the visitor on October 20?
|
SELECT smoke_point FROM table_name_25 WHERE monounsaturated_fat = "30g"
|
CREATE TABLE table_name_25 (smoke_point VARCHAR, monounsaturated_fat VARCHAR)
|
Name the smoke point for monosaturated fat of 30g
|
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
|
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
|
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
|
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
|
CREATE TABLE table_name_39 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, saturated_fat VARCHAR)
|
Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
|
SELECT polyunsaturated_fat FROM table_name_31 WHERE saturated_fat = "25g"
|
CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR)
|
Name the polyunsaturated fat with a saturated fat of 25g
|
SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g"
|
CREATE TABLE table_name_60 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)
|
Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g
|
SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010"
|
CREATE TABLE table_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR)
|
Name the result for friendly competition on 9 october 2010
|
SELECT result FROM table_name_3 WHERE competition = "uncaf nations cup 2009" AND goal = 6
|
CREATE TABLE table_name_3 (result VARCHAR, competition VARCHAR, goal VARCHAR)
|
Name the result for uncaf nations cup 2009 and 6 goal
|
SELECT team_1 FROM table_name_2 WHERE team_2 = "la nuova piovese (veneto a)"
|
CREATE TABLE table_name_2 (team_1 VARCHAR, team_2 VARCHAR)
|
Which team was team 1 that had a team 2 that was la nuova piovese (veneto a)?
|
SELECT 2 AS nd_leg FROM table_name_4 WHERE team_2 = "budoni (sardinia)"
|
CREATE TABLE table_name_4 (team_2 VARCHAR)
|
What was the 2nd leg where the team 2 was budoni (sardinia)?
|
SELECT team_1 FROM table_name_81 WHERE team_2 = "avigliano (basilicata)"
|
CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR)
|
Which was the team 1 that had a team 2 which was avigliano (basilicata)?
|
SELECT cash_on_hand FROM table_name_93 WHERE after_debt = "$82,741"
|
CREATE TABLE table_name_93 (cash_on_hand VARCHAR, after_debt VARCHAR)
|
How much cash was on hand after debt of $82,741?
|
SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256"
|
CREATE TABLE table_name_24 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR)
|
What was the amount of loans received with a total debt of $169,256?
|
SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936"
|
CREATE TABLE table_name_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR)
|
How much money was spent when the amount after debt was $1,757,936?
|
SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300"
|
CREATE TABLE table_name_11 (after_debt VARCHAR, cash_on_hand VARCHAR)
|
How much is after debt when cash on hand is $651,300?
|
SELECT MIN(total) FROM table_name_85 WHERE bronze > 0 AND nation = "france (fra)"
|
CREATE TABLE table_name_85 (total INTEGER, bronze VARCHAR, nation VARCHAR)
|
What is the lowest total when the Bronze metals are larger than 0 and the nation is France (fra)?
|
SELECT MAX(silver) FROM table_name_86 WHERE bronze = 1 AND gold = 1
|
CREATE TABLE table_name_86 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
|
What is the highest silver medal count when there is 1 Bronze medal and 1 Gold medal?
|
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)
|
What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1?
|
SELECT SUM(bronze) FROM table_name_62 WHERE gold > 0 AND silver < 1 AND total < 1
|
CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR)
|
What is the sum of the Bronze medals when the Gold medals are larger than 0, Silver medals are smaller than 1, and the total is smaller than 1?
|
SELECT result FROM table_name_94 WHERE date = "11 august 2010"
|
CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR)
|
what is the result for 11 august 2010?
|
SELECT result FROM table_name_73 WHERE competition = "friendly" AND date = "8 october 2009"
|
CREATE TABLE table_name_73 (result VARCHAR, competition VARCHAR, date VARCHAR)
|
what is the result when the competition is friendly on 8 october 2009?
|
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
|
CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)
|
For the group name European Progressive Democrats what is the French abbr?
|
SELECT livery FROM table_name_32 WHERE description = "20t tanker" AND date > 1941
|
CREATE TABLE table_name_32 (livery VARCHAR, description VARCHAR, date VARCHAR)
|
Which Livery has a Description of 20t tanker, with a date later than 1941?
|
SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"
|
CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)
|
What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897?
|
SELECT score FROM table_name_23 WHERE home = "washington" AND visitor = "florida"
|
CREATE TABLE table_name_23 (score VARCHAR, home VARCHAR, visitor VARCHAR)
|
What was the score of the game that Washington played at home against Florida?
|
SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30
|
CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR)
|
What driver has BRM as a constructor and had more than 30 laps?
|
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 β 27 november 2012" AND managed > 2
|
CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR)
|
How many lost when the number managed is over 2 and the period is from 12 november 2012 β 27 november 2012?
|
SELECT AVG(attendance) FROM table_name_10 WHERE season < 1986 AND margin = 6 AND score = "13.16 (94) β 13.10 (88)"
|
CREATE TABLE table_name_10 (attendance INTEGER, score VARCHAR, season VARCHAR, margin VARCHAR)
|
What is the average attendnace for seasons before 1986, a margin of 6, and a Score of 13.16 (94) β 13.10 (88)?
|
SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) β 9.14 (68)" AND margin > 34
|
CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR)
|
When is the earliest season at waverley park, a Score of 15.12 (102) β 9.14 (68), and a Margin larger than 34?
|
SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) β 9.14 (68)"
|
CREATE TABLE table_name_30 (season VARCHAR, premier VARCHAR, score VARCHAR)
|
How many seasons feature essendon, and a Score of 15.12 (102) β 9.14 (68)?
|
SELECT date FROM table_name_85 WHERE venue = "mcg"
|
CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR)
|
What was the date of the game at MCG?
|
SELECT date FROM table_name_18 WHERE home_team = "geelong"
|
CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR)
|
What was the date of the game where Geelong was the home team?
|
SELECT COUNT(crowd) FROM table_name_21 WHERE away_team = "footscray"
|
CREATE TABLE table_name_21 (crowd VARCHAR, away_team VARCHAR)
|
What was the crowd size for the game where Footscray was the away team?
|
SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199
|
CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR)
|
What is the total round with an overall of 199 with sweden?
|
SELECT overall FROM table_name_12 WHERE nationality = "canada" AND round = 2
|
CREATE TABLE table_name_12 (overall VARCHAR, nationality VARCHAR, round VARCHAR)
|
What is the total for Canada during round 2?
|
SELECT club_team FROM table_name_1 WHERE round = 4 AND overall = 119
|
CREATE TABLE table_name_1 (club_team VARCHAR, round VARCHAR, overall VARCHAR)
|
Which team scores 119 in round 4?
|
SELECT attendance FROM table_name_22 WHERE visitor = "anaheim"
|
CREATE TABLE table_name_22 (attendance VARCHAR, visitor VARCHAR)
|
What was the attendance at the Kings game when Anaheim was the visiting team?
|
SELECT score FROM table_name_27 WHERE record = "8β11β1"
|
CREATE TABLE table_name_27 (score VARCHAR, record VARCHAR)
|
What was the score of the Kings game when they had a record of 8β11β1?
|
SELECT high_points FROM table_name_2 WHERE team = "charlotte"
|
CREATE TABLE table_name_2 (high_points VARCHAR, team VARCHAR)
|
Name the high points for charlotte
|
SELECT team FROM table_name_68 WHERE date = "february 12"
|
CREATE TABLE table_name_68 (team VARCHAR, date VARCHAR)
|
Name the team on february 12
|
SELECT location_attendance FROM table_name_17 WHERE game > 54 AND date = "february 25"
|
CREATE TABLE table_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
|
Name the location attendance for game more than 54 on february 25
|
SELECT record FROM table_name_67 WHERE date = "february 27"
|
CREATE TABLE table_name_67 (record VARCHAR, date VARCHAR)
|
Name the record for february 27
|
SELECT team FROM table_name_16 WHERE game = 48
|
CREATE TABLE table_name_16 (team VARCHAR, game VARCHAR)
|
Name the team for 48 game
|
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87
|
CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)
|
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87?
|
SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18
|
CREATE TABLE table_name_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR)
|
Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times?
|
SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18
|
CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR)
|
How many losses did the East Division have who appeared 18 times and lost 8?
|
SELECT losses FROM table_name_95 WHERE appearances < 16
|
CREATE TABLE table_name_95 (losses VARCHAR, appearances INTEGER)
|
How many losses did the division who appeared less than 16 times have?
|
SELECT SUM(total) FROM table_name_68 WHERE silver = "1" AND nation = "spain"
|
CREATE TABLE table_name_68 (total INTEGER, silver VARCHAR, nation VARCHAR)
|
How many medals for spain with 1 silver?
|
SELECT silver FROM table_name_48 WHERE nation = "finland"
|
CREATE TABLE table_name_48 (silver VARCHAR, nation VARCHAR)
|
How many silvers for finland?
|
SELECT COUNT(total) FROM table_name_62 WHERE silver = "1" AND bronze = "1" AND nation = "spain"
|
CREATE TABLE table_name_62 (total VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
|
How many medals for spain that has 1 silver and 1 bronze?
|
SELECT record FROM table_name_61 WHERE points < 98 AND opponent = "canucks"
|
CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR)
|
What is the record when they play the canucks and have under 98 points?
|
SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks"
|
CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR)
|
How many attended the game against the sharks with over 86 points?
|
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death"
|
CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR)
|
Name the song that has a track larger than 7 and means death.
|
SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7
|
CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR)
|
Which track 7 title was recorded in 1959-09-15?
|
SELECT track FROM table_name_96 WHERE translation = "flemish women"
|
CREATE TABLE table_name_96 (track VARCHAR, translation VARCHAR)
|
Which track translates to Flemish Women?
|
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778
|
CREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR)
|
What is the high capacity that has an average under 489 and a highest over 778?
|
SELECT other_performer_s_ FROM table_name_4 WHERE director_s_ = "melina matsoukas" AND album = "loud"
|
CREATE TABLE table_name_4 (other_performer_s_ VARCHAR, director_s_ VARCHAR, album VARCHAR)
|
On the album titled βLoudβ who was the other performer on the song directed by Melina Matsoukas?
|
SELECT decision FROM table_name_44 WHERE home = "vancouver" AND visitor = "winnipeg"
|
CREATE TABLE table_name_44 (decision VARCHAR, home VARCHAR, visitor VARCHAR)
|
What is the decision when vancouver is at home and winnipeg is away?
|
SELECT record FROM table_name_6 WHERE home = "chicago"
|
CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR)
|
What is the record of the team from chicago?
|
SELECT venue FROM table_name_52 WHERE away_team = "st kilda"
|
CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR)
|
Where was the away team st kilda?
|
SELECT club_province FROM table_name_90 WHERE caps = 1
|
CREATE TABLE table_name_90 (club_province VARCHAR, caps VARCHAR)
|
Which club has 1 cap?
|
SELECT position FROM table_name_59 WHERE club_province = "meralomas" AND player = "david biddle"
|
CREATE TABLE table_name_59 (position VARCHAR, club_province VARCHAR, player VARCHAR)
|
Which position has a club of Meralomas and a player named David Biddle?
|
SELECT AVG(caps) FROM table_name_75 WHERE club_province = "meralomas" AND position = "centre"
|
CREATE TABLE table_name_75 (caps INTEGER, club_province VARCHAR, position VARCHAR)
|
What is the average number of caps for Meralomas with positions of centre?
|
SELECT scorers FROM table_name_4 WHERE score = "9-2"
|
CREATE TABLE table_name_4 (scorers VARCHAR, score VARCHAR)
|
Who are the scorers when the score is 9-2?
|
SELECT MIN(population) FROM table_name_94 WHERE region > 9
|
CREATE TABLE table_name_94 (population INTEGER, region INTEGER)
|
What is the smallest population in a region greater than 9?
|
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312
|
CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
|
What is the average area for code 98030 with population over 312?
|
SELECT attendance FROM table_name_62 WHERE date = "may 28"
|
CREATE TABLE table_name_62 (attendance VARCHAR, date VARCHAR)
|
What is the attendance on may 28?
|
SELECT runner_s__up FROM table_name_83 WHERE date = "4 oct 2009"
|
CREATE TABLE table_name_83 (runner_s__up VARCHAR, date VARCHAR)
|
On the Date of 4 Oct 2009, who was the Runner(s)-up?
|
SELECT runner_s__up FROM table_name_52 WHERE date = "2 aug 2009"
|
CREATE TABLE table_name_52 (runner_s__up VARCHAR, date VARCHAR)
|
On the Date of 2 Aug 2009, who was the Runner(s)-up?
|
SELECT tournament FROM table_name_23 WHERE date = "6 sep 2009"
|
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)
|
Which Tournament was on the Date 6 Sep 2009?
|
SELECT winning_score FROM table_name_55 WHERE tournament = "mynavi abc championship"
|
CREATE TABLE table_name_55 (winning_score VARCHAR, tournament VARCHAR)
|
What was the Winning score for the Mynavi ABC Championship Tournament?
|
SELECT winning_score FROM table_name_29 WHERE margin_of_victory = "5 strokes" AND date = "6 sep 2009"
|
CREATE TABLE table_name_29 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
|
What was the Winning score when the Margin of victory is 5 strokes and the Date was 6 Sep 2009?
|
SELECT runner_s__up FROM table_name_66 WHERE date = "4 oct 2009"
|
CREATE TABLE table_name_66 (runner_s__up VARCHAR, date VARCHAR)
|
Who was the Runner(s)-up on the Date 4 Oct 2009?
|
SELECT score FROM table_name_33 WHERE third_place = "stefan edberg"
|
CREATE TABLE table_name_33 (score VARCHAR, third_place VARCHAR)
|
What is the score with third place of stefan edberg?
|
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve"
|
CREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR)
|
Name the runner-up for algarve tournament
|
SELECT tournament FROM table_name_25 WHERE third_place = "magnus gustafsson"
|
CREATE TABLE table_name_25 (tournament VARCHAR, third_place VARCHAR)
|
I want to know the tournament that has a third place of magnus gustafsson
|
SELECT winner FROM table_name_11 WHERE third_place = "fernando meligeni"
|
CREATE TABLE table_name_11 (winner VARCHAR, third_place VARCHAR)
|
Who was the winner when the third place was fernando meligeni?
|
SELECT tournament FROM table_name_3 WHERE winner = "patrick rafter"
|
CREATE TABLE table_name_3 (tournament VARCHAR, winner VARCHAR)
|
Name the tournament for patrick rafter winning
|
SELECT owner FROM table_name_10 WHERE trainer = "nick zito" AND year = "1996"
|
CREATE TABLE table_name_10 (owner VARCHAR, trainer VARCHAR, year VARCHAR)
|
Who was the owner in 1996 of trainer Nick Zito?
|
SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"
|
CREATE TABLE table_name_40 (year VARCHAR, distance VARCHAR, jockey VARCHAR)
|
What year did jockey Ramon Dominguez have a distance of 1-1/16?
|
SELECT owner FROM table_name_80 WHERE trainer = "steve klesaris"
|
CREATE TABLE table_name_80 (owner VARCHAR, trainer VARCHAR)
|
Who was the owner of the trainer Steve Klesaris?
|
SELECT owner FROM table_name_43 WHERE winner = "raglan road"
|
CREATE TABLE table_name_43 (owner VARCHAR, winner VARCHAR)
|
Who is the owner of the Raglan Road winner?
|
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.