question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What is the time/retired for grid 23? | CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_88 WHERE grid = 23"
} |
What is the average of the top-25 of those with less than 35 events in the Open Championship? | CREATE TABLE table_name_32 (top_25 INTEGER, events VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT AVG(top_25) FROM table_name_32 WHERE events < 35 AND tournament = \"the open championship\""
} |
What is the total number of events the Open Championship has with less than 0 cuts? | CREATE TABLE table_name_50 (events INTEGER, tournament VARCHAR, cuts_made VARCHAR) | {
"SQL_Query": "SELECT SUM(events) FROM table_name_50 WHERE tournament = \"the open championship\" AND cuts_made < 0"
} |
What is the total number of events with a top-25 less than 0? | CREATE TABLE table_name_44 (events VARCHAR, top_25 INTEGER) | {
"SQL_Query": "SELECT COUNT(events) FROM table_name_44 WHERE top_25 < 0"
} |
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts? | CREATE TABLE table_name_92 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR) | {
"SQL_Query": "SELECT COUNT(top_25) FROM table_name_92 WHERE top_10 > 2 AND cuts_made < 29"
} |
What is the lowest number of events the Open Championship has with a less than 0 top-10? | CREATE TABLE table_name_30 (events INTEGER, tournament VARCHAR, top_10 VARCHAR) | {
"SQL_Query": "SELECT MIN(events) FROM table_name_30 WHERE tournament = \"the open championship\" AND top_10 < 0"
} |
What is the score for the away team when they played Hawthorn? | CREATE TABLE table_name_46 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_46 WHERE home_team = \"hawthorn\""
} |
Which result has a Score of 30-44? | CREATE TABLE table_name_51 (result VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_51 WHERE score = \"30-44\""
} |
Which venue has h.paul 8/9 goals? | CREATE TABLE table_name_35 (venue VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_35 WHERE goals = \"h.paul 8/9\""
} |
What is the score at valley parade on 10/6/01? | CREATE TABLE table_name_74 (score VARCHAR, venue VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_74 WHERE venue = \"valley parade\" AND date = \"10/6/01\""
} |
Which competition has a Date of 16/4/01? | CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_31 WHERE date = \"16/4/01\""
} |
What is the occupation of the candidate that has a riding of labrador? | CREATE TABLE table_name_11 (occupation VARCHAR, riding VARCHAR) | {
"SQL_Query": "SELECT occupation FROM table_name_11 WHERE riding = \"labrador\""
} |
What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105? | CREATE TABLE table_name_61 (sinclair_coefficient INTEGER, sinclair_total VARCHAR, weight_class__kg_ VARCHAR) | {
"SQL_Query": "SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105"
} |
Name the least attendance for may 6 | CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_1 WHERE date = \"may 6\""
} |
Which ESPN international sports owner speaks English? | CREATE TABLE table_name_26 (owner VARCHAR, language VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT owner FROM table_name_26 WHERE language = \"english\" AND name = \"espn international sports\""
} |
Which type is filed under the Group Animated? | CREATE TABLE table_name_56 (type VARCHAR, group VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_56 WHERE group = \"animated\""
} |
Which Date has an Opponent of newcastle united, and a Result of 2–1? | CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_66 WHERE opponent = \"newcastle united\" AND result = \"2–1\""
} |
Which Date has an Opponent of manchester united, and a Venue A? | CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_31 WHERE opponent = \"manchester united\" AND venue = \"a\""
} |
In the game where Collingwood is the home team what is the score of the away team? | CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_18 WHERE home_team = \"collingwood\""
} |
What is the home teamscore for Richmond? | CREATE TABLE table_name_11 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_11 WHERE home_team = \"richmond\""
} |
What contestant had a starting BMI of 42.2? | CREATE TABLE table_name_10 (contestant VARCHAR, start_bmi VARCHAR) | {
"SQL_Query": "SELECT contestant FROM table_name_10 WHERE start_bmi = 42.2"
} |
What is the recent BMI on season 8 for the person who's BMI started under 46.3? | CREATE TABLE table_name_49 (recent_bmi VARCHAR, start_bmi VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT recent_bmi FROM table_name_49 WHERE start_bmi < 46.3 AND season = \"season 8\""
} |
Which college has a pick below 6 for the PBA team the Shell Turbo Chargers? | CREATE TABLE table_name_11 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_11 WHERE pick < 6 AND pba_team = \"shell turbo chargers\""
} |
What's the crowd population of the home team located in Richmond? | CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT SUM(crowd) FROM table_name_5 WHERE home_team = \"richmond\""
} |
What is the visiting team that has a home team related to footscray? | CREATE TABLE table_name_24 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_24 WHERE home_team = \"footscray\""
} |
Which Home team has an Away team of fitzroy? | CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_62 WHERE away_team = \"fitzroy\""
} |
What did the home team score when the away team was South Melbourne? | CREATE TABLE table_name_31 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_31 WHERE away_team = \"south melbourne\""
} |
What venue is the home field of Richmond? | CREATE TABLE table_name_46 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_46 WHERE home_team = \"richmond\""
} |
What was the score of the away team in the match at Princes Park? | CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_59 WHERE venue = \"princes park\""
} |
What was the score of the home team in the match at Western Oval? | CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_3 WHERE venue = \"western oval\""
} |
Who had an Iflop of 2.5%? | CREATE TABLE table_name_55 (party VARCHAR, ifop_5_30_09 VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_55 WHERE ifop_5_30_09 = \"2.5%\""
} |
When BVA was 3%, what was the Ipsos? | CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR) | {
"SQL_Query": "SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = \"3%\""
} |
Who had an Ipsos of 27%? | CREATE TABLE table_name_69 (party VARCHAR, ipsos_6_3_09 VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_69 WHERE ipsos_6_3_09 = \"27%\""
} |
What was the TNS-Sofres when the Iflop was 5%? | CREATE TABLE table_name_2 (tns_sofres_6_2_09 VARCHAR, ifop_5_30_09 VARCHAR) | {
"SQL_Query": "SELECT tns_sofres_6_2_09 FROM table_name_2 WHERE ifop_5_30_09 = \"5%\""
} |
Who had 0.00% in 2004? | CREATE TABLE table_name_71 (party VARCHAR, results_2004 VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_71 WHERE results_2004 = \"0.00%\""
} |
What's the TNS-Sofres when Ipsos was 27%? | CREATE TABLE table_name_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR) | {
"SQL_Query": "SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = \"27%\""
} |
In the match where fitzroy was the away team, where was the venue? | CREATE TABLE table_name_47 (venue VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_47 WHERE away_team = \"fitzroy\""
} |
Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov? | CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) | {
"SQL_Query": "SELECT stage__winner_ FROM table_name_17 WHERE general_classification = \"vladimir karpets\" AND team_classification = \"relax-gam\" AND points_classification = \"denis menchov\""
} |
Which Team classification has a General classification of Vladimir Karpets and a Mountains classification of No Award? | CREATE TABLE table_name_88 (team_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR) | {
"SQL_Query": "SELECT team_classification FROM table_name_88 WHERE general_classification = \"vladimir karpets\" AND mountains_classification = \"no award\""
} |
What Sprints classification has the Points classification, Mark Cavendish and Team classification, Caisse D'epargne? | CREATE TABLE table_name_18 (sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR) | {
"SQL_Query": "SELECT sprints_classification FROM table_name_18 WHERE points_classification = \"mark cavendish\" AND team_classification = \"caisse d'epargne\""
} |
What is the total Until when the Titles was 5? | CREATE TABLE table_name_80 (until INTEGER, titles VARCHAR) | {
"SQL_Query": "SELECT SUM(until) FROM table_name_80 WHERE titles = \"5\""
} |
When Team 1 is Aalborg BK, what is the 1st Leg? | CREATE TABLE table_name_53 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_leg FROM table_name_53 WHERE team_1 = \"aalborg bk\""
} |
When Partizan is Team 2, what is the Agg? | CREATE TABLE table_name_47 (agg VARCHAR, team_2 VARCHAR) | {
"SQL_Query": "SELECT agg FROM table_name_47 WHERE team_2 = \"partizan\""
} |
When Aalborg BK is Team 1, what is the 1st leg? | CREATE TABLE table_name_32 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_leg FROM table_name_32 WHERE team_1 = \"aalborg bk\""
} |
What is the story timeline that was published first prior to 1984? | CREATE TABLE table_name_67 (story_timeline VARCHAR, published VARCHAR, in_order_of_publication VARCHAR) | {
"SQL_Query": "SELECT story_timeline FROM table_name_67 WHERE published < 1984 AND in_order_of_publication = \"first\""
} |
How many total publications were the first of the series? | CREATE TABLE table_name_86 (published VARCHAR, in_order_of_publication VARCHAR) | {
"SQL_Query": "SELECT COUNT(published) FROM table_name_86 WHERE in_order_of_publication = \"first\""
} |
Who did the play-by-play before 1998 on Fox network? | CREATE TABLE table_name_56 (play_by_play VARCHAR, year VARCHAR, network VARCHAR) | {
"SQL_Query": "SELECT play_by_play FROM table_name_56 WHERE year < 1998 AND network = \"fox\""
} |
Who did the play-by-play before 1992 with the Ice level reporter Mike Emrick? | CREATE TABLE table_name_15 (play_by_play VARCHAR, year VARCHAR, ice_level_reporters VARCHAR) | {
"SQL_Query": "SELECT play_by_play FROM table_name_15 WHERE year < 1992 AND ice_level_reporters = \"mike emrick\""
} |
Who is the Ice level reporter after 1992 with the color commentator John Davidson and the play-by-play Marv Albert? | CREATE TABLE table_name_58 (ice_level_reporters VARCHAR, year VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR) | {
"SQL_Query": "SELECT ice_level_reporters FROM table_name_58 WHERE color_commentator_s_ = \"john davidson\" AND play_by_play = \"marv albert\" AND year > 1992"
} |
What is the network with the play-by-play Marv Albert before 1994? | CREATE TABLE table_name_66 (network VARCHAR, play_by_play VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT network FROM table_name_66 WHERE play_by_play = \"marv albert\" AND year < 1994"
} |
What was the total crowd of the Carlton game? | CREATE TABLE table_name_45 (crowd VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT COUNT(crowd) FROM table_name_45 WHERE home_team = \"carlton\""
} |
What was the highest long of Charles Pauley with fewer than 60 yards? | CREATE TABLE table_name_83 (long INTEGER, player VARCHAR, yards VARCHAR) | {
"SQL_Query": "SELECT MAX(long) FROM table_name_83 WHERE player = \"charles pauley\" AND yards < 60"
} |
What is the score of the game on May 26? | CREATE TABLE table_name_14 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_14 WHERE date = \"may 26\""
} |
What was the location and attendance on the May 22 game? | CREATE TABLE table_name_13 (location_attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_13 WHERE date = \"may 22\""
} |
What is the final placing of the team with 0 ples, more than 16 races, and 16 podiums? | CREATE TABLE table_name_12 (final_placing VARCHAR, podiums VARCHAR, poles VARCHAR, races VARCHAR) | {
"SQL_Query": "SELECT final_placing FROM table_name_12 WHERE poles = 0 AND races > 16 AND podiums = 16"
} |
What is the sum of podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races? | CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT SUM(podiums) FROM table_name_92 WHERE final_placing = \"14th\" AND season > 2008 AND races < 1"
} |
What is the total number of seasons with more than 0 wins and a 1st final placing? | CREATE TABLE table_name_30 (season VARCHAR, wins VARCHAR, final_placing VARCHAR) | {
"SQL_Query": "SELECT COUNT(season) FROM table_name_30 WHERE wins > 0 AND final_placing = \"1st\""
} |
What is the average wins of a team with more than 0 ples and less than 3 podiums? | CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR) | {
"SQL_Query": "SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3"
} |
I want the ends for transfer fee of free and goals being 0 for roy carroll | CREATE TABLE table_name_53 (ends VARCHAR, name VARCHAR, transfer_fee VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT ends FROM table_name_53 WHERE transfer_fee = \"free\" AND goals = 0 AND name = \"roy carroll\""
} |
I want the total number of ends for filip šebo and Goals more than 2 | CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT COUNT(ends) FROM table_name_67 WHERE name = \"filip šebo\" AND goals > 2"
} |
How big was the crowd of away team Richmond? | CREATE TABLE table_name_34 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_34 WHERE away_team = \"richmond\""
} |
How much did the away team Geelong score? | CREATE TABLE table_name_53 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_53 WHERE away_team = \"geelong\""
} |
What is the average year for releases on Friday and weeks larger than 2 days? | CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR) | {
"SQL_Query": "SELECT AVG(year) FROM table_name_28 WHERE day_in_release = \"friday\" AND day_of_week > 2"
} |
What number of win% has a postseason of did not qualify and rank larger than 8? | CREATE TABLE table_name_89 (win_percentage VARCHAR, postseason VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(win_percentage) FROM table_name_89 WHERE postseason = \"did not qualify\" AND rank > 8"
} |
What year ranked larger than 5? | CREATE TABLE table_name_18 (year VARCHAR, rank INTEGER) | {
"SQL_Query": "SELECT year FROM table_name_18 WHERE rank > 5"
} |
What postseason has a win% between 0.40700000000000003 and 108 with a rank of 1? | CREATE TABLE table_name_54 (postseason VARCHAR, rank VARCHAR, win_percentage VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT postseason FROM table_name_54 WHERE win_percentage > 0.40700000000000003 AND games < 108 AND rank = 1"
} |
How many laps in total does the driver named Eddie Irvine have? | CREATE TABLE table_name_7 (laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(laps) FROM table_name_7 WHERE driver = \"eddie irvine\""
} |
What's the average crowd size when the venue is western oval? | CREATE TABLE table_name_91 (crowd INTEGER, venue VARCHAR) | {
"SQL_Query": "SELECT AVG(crowd) FROM table_name_91 WHERE venue = \"western oval\""
} |
What team has Carlos Sánchez as a goalkeeper and an average below 1.12? | CREATE TABLE table_name_64 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR) | {
"SQL_Query": "SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = \"carlos sánchez\""
} |
What is the average of the team who has Jacobo as a goalkeeper and has played more than 32 matches? | CREATE TABLE table_name_14 (average INTEGER, goalkeeper VARCHAR, matches VARCHAR) | {
"SQL_Query": "SELECT AVG(average) FROM table_name_14 WHERE goalkeeper = \"jacobo\" AND matches > 32"
} |
What home team played Fitzroy? | CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_57 WHERE away_team = \"fitzroy\""
} |
Which network has a play-by-play announcer of John Wells? | CREATE TABLE table_name_36 (network VARCHAR, play_by_play VARCHAR) | {
"SQL_Query": "SELECT network FROM table_name_36 WHERE play_by_play = \"john wells\""
} |
On CBC, who was the colour commentator in 1987? | CREATE TABLE table_name_24 (colour_commentator_s_ VARCHAR, network VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT colour_commentator_s_ FROM table_name_24 WHERE network = \"cbc\" AND year = 1987"
} |
Who was the colour commentator when the play-by-play announcer was Bob Cole? | CREATE TABLE table_name_58 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR) | {
"SQL_Query": "SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = \"bob cole\""
} |
Who is the studio host that has a play-by-play announcer of Bob Cole and a colour commentator of Harry Neale? | CREATE TABLE table_name_38 (studio_host VARCHAR, play_by_play VARCHAR, colour_commentator_s_ VARCHAR) | {
"SQL_Query": "SELECT studio_host FROM table_name_38 WHERE play_by_play = \"bob cole\" AND colour_commentator_s_ = \"harry neale\""
} |
In 1981, with a studio host of Dave Hodge, who was the colour commentator? | CREATE TABLE table_name_17 (colour_commentator_s_ VARCHAR, studio_host VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT colour_commentator_s_ FROM table_name_17 WHERE studio_host = \"dave hodge\" AND year = 1981"
} |
What Song is by the Artist 'mor ve ötesi'? | CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT song FROM table_name_19 WHERE artist = \"mor ve ötesi\""
} |
What date did the home team Richmond play? | CREATE TABLE table_name_34 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_34 WHERE home_team = \"richmond\""
} |
What size was the biggest crowd that watched the home team Hawthorn play? | CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT MAX(crowd) FROM table_name_95 WHERE home_team = \"hawthorn\""
} |
What is the high cap total for a lock with the vicenza rangers? | CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR) | {
"SQL_Query": "SELECT MAX(caps) FROM table_name_55 WHERE position = \"lock\" AND club_province = \"vicenza rangers\""
} |
When was nese malifa born? | CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT date_of_birth__age_ FROM table_name_19 WHERE player = \"nese malifa\""
} |
What position for jj gagiano? | CREATE TABLE table_name_3 (position VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_3 WHERE player = \"jj gagiano\""
} |
What club/province has 41 caps? | CREATE TABLE table_name_66 (club_province VARCHAR, caps VARCHAR) | {
"SQL_Query": "SELECT club_province FROM table_name_66 WHERE caps = 41"
} |
Name the date for the australian grand prix. | CREATE TABLE table_name_12 (date VARCHAR, grand_prix VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_12 WHERE grand_prix = \"australian grand prix\""
} |
Who did the fastest lap when pole position was damon hill and the location was magny-cours? | CREATE TABLE table_name_33 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT fastest_lap FROM table_name_33 WHERE pole_position = \"damon hill\" AND location = \"magny-cours\""
} |
What was the date for the canadian grand prix? | CREATE TABLE table_name_65 (date VARCHAR, grand_prix VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_65 WHERE grand_prix = \"canadian grand prix\""
} |
What is the number of the Foundation with Japanese orthography of 国立看護大学校? | CREATE TABLE table_name_79 (foundation INTEGER, japanese_orthography VARCHAR) | {
"SQL_Query": "SELECT SUM(foundation) FROM table_name_79 WHERE japanese_orthography = \"国立看護大学校\""
} |
what is the least yards when the average is 7 and the long is less than 7? | CREATE TABLE table_name_30 (yards INTEGER, avg VARCHAR, long VARCHAR) | {
"SQL_Query": "SELECT MIN(yards) FROM table_name_30 WHERE avg = 7 AND long < 7"
} |
What is the average laps for ralph firman with a grid of over 19? | CREATE TABLE table_name_32 (laps INTEGER, driver VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT AVG(laps) FROM table_name_32 WHERE driver = \"ralph firman\" AND grid > 19"
} |
What grid features 6 laps? | CREATE TABLE table_name_53 (grid VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT grid FROM table_name_53 WHERE laps = 6"
} |
What's the sum of asts for boston college with a rebs over 63? | CREATE TABLE table_name_35 (asts INTEGER, school_country VARCHAR, rebs VARCHAR) | {
"SQL_Query": "SELECT SUM(asts) FROM table_name_35 WHERE school_country = \"boston college\" AND rebs > 63"
} |
What's the pos for an asts less than 117? | CREATE TABLE table_name_52 (pos VARCHAR, asts INTEGER) | {
"SQL_Query": "SELECT pos FROM table_name_52 WHERE asts < 117"
} |
How many release dates has Canada had? | CREATE TABLE table_name_7 (release_date VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT COUNT(release_date) FROM table_name_7 WHERE country = \"canada\""
} |
What constructor is grid 1 with a time/retired of engine? | CREATE TABLE table_name_67 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_67 WHERE time_retired = \"engine\" AND grid = 1"
} |
Who constructed grid 14? | CREATE TABLE table_name_34 (constructor VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_34 WHERE grid = 14"
} |
I want to know the 2001 that has a 2004 of a and 2003 of a with 2012 of 3r | CREATE TABLE table_name_53 (Id VARCHAR) | {
"SQL_Query": "SELECT 2001 FROM table_name_53 WHERE 2004 = \"a\" AND 2003 = \"a\" AND 2012 = \"3r\""
} |
Tell me the 2008 for when 2001 of wta premier 5 tournaments | CREATE TABLE table_name_87 (Id VARCHAR) | {
"SQL_Query": "SELECT 2008 FROM table_name_87 WHERE 2001 = \"wta premier 5 tournaments\""
} |
I want to know the 2013 when 2001 was wta premier 5 tournaments | CREATE TABLE table_name_87 (Id VARCHAR) | {
"SQL_Query": "SELECT 2013 FROM table_name_87 WHERE 2001 = \"wta premier 5 tournaments\""
} |
Tell me the 2007 for 2010 olympic games | CREATE TABLE table_name_14 (Id VARCHAR) | {
"SQL_Query": "SELECT 2007 FROM table_name_14 WHERE 2010 = \"olympic games\""
} |
Tell me the 2004 for 2012 of 21 | CREATE TABLE table_name_61 (Id VARCHAR) | {
"SQL_Query": "SELECT 2004 FROM table_name_61 WHERE 2012 = \"21\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.