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