training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_82 (Id VARCHAR) ###human: Tell me the 2012 when 2005 is 314 ###assistant: SELECT 2012 FROM table_name_82 WHERE 2005 = "314"
###context:CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR) ###human: What position does the player with 13 caps play? ###assistant: SELECT position FROM table_name_85 WHERE caps = 13
###context:CREATE TABLE table_name_30 (caps INTEGER, player VARCHAR) ###human: How many caps for mike macdonald? ###assistant: SELECT SUM(caps) FROM table_name_30 WHERE player = "mike macdonald"
###context:CREATE TABLE table_name_1 (position VARCHAR, round INTEGER) ###human: Tell me the position for round less than 3 ###assistant: SELECT position FROM table_name_1 WHERE round < 3
###context:CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR) ###human: Name the nationality for d ###assistant: SELECT nationality FROM table_name_19 WHERE position = "d"
###context:CREATE TABLE table_name_15 (fuel__trans VARCHAR, colour VARCHAR) ###human: What sort of Fuel/Trans does the Grey & Red locomotive have? ###assistant: SELECT fuel__trans FROM table_name_15 WHERE colour = "grey & red"
###context:CREATE TABLE table_name_34 (status VARCHAR, name VARCHAR) ###human: What is the status of the Cub/John locomotive? ###assistant: SELECT status FROM table_name_34 WHERE name = "the cub/john"
###context:CREATE TABLE table_name_22 (built VARCHAR, fuel__trans VARCHAR) ###human: What is the manufacturer, found under the Built column, that made locomotives with a Fuel/Trans of diesel-electric? ###assistant: SELECT built FROM table_name_22 WHERE fuel__trans = "diesel-electric"
###context:CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR) ###human: What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service? ###assistant: SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service"
###context:CREATE TABLE table_name_42 (colour VARCHAR, built VARCHAR) ###human: What is the color of the locomotive built by Minirail 1954? ###assistant: SELECT colour FROM table_name_42 WHERE built = "minirail 1954"
###context:CREATE TABLE table_name_65 (round VARCHAR, res VARCHAR, event VARCHAR) ###human: What's the total number of rounds with a win result at the sf 5: stadium event? ###assistant: SELECT COUNT(round) FROM table_name_65 WHERE res = "win" AND event = "sf 5: stadium"
###context:CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) ###human: What location was fábio maldonado the opponent at? ###assistant: SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado"
###context:CREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR) ###human: How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4? ###assistant: SELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 4
###context:CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR) ###human: What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? ###assistant: SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5
###context:CREATE TABLE table_name_69 (tournament VARCHAR) ###human: What tournament is listed as A in 1972 and 2R in 1975? ###assistant: SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r"
###context:CREATE TABLE table_name_82 (career_w_l VARCHAR) ###human: What is theW-L of the tournament listed as A for 1976? ###assistant: SELECT career_w_l FROM table_name_82 WHERE 1976 = "a"
###context:CREATE TABLE table_name_12 (tournament VARCHAR) ###human: What is the listing for the US Open in 1977? ###assistant: SELECT 1977 FROM table_name_12 WHERE tournament = "us open"
###context:CREATE TABLE table_name_23 (career_w_l VARCHAR) ###human: What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974? ###assistant: SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r"
###context:CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR) ###human: What is the combined consumption of 1.6 16v? ###assistant: SELECT combined_consumption FROM table_name_60 WHERE name = "1.6 16v"
###context:CREATE TABLE table_name_76 (power VARCHAR, combined_consumption VARCHAR, code VARCHAR) ###human: What is the power of the engine with a combined consumption of (gas/ethanol) and the k7m hi-torque code? ###assistant: SELECT power FROM table_name_76 WHERE combined_consumption = "(gas/ethanol)" AND code = "k7m hi-torque"
###context:CREATE TABLE table_name_85 (combined_consumption VARCHAR, code VARCHAR) ###human: What is the combined consumption of the engine with the code k9k 796? ###assistant: SELECT combined_consumption FROM table_name_85 WHERE code = "k9k 796"
###context:CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR) ###human: What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex? ###assistant: SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
###context:CREATE TABLE table_name_56 (high_assists VARCHAR, date VARCHAR) ###human: Who had the highest assists on the November 13 game? ###assistant: SELECT high_assists FROM table_name_56 WHERE date = "november 13"
###context:CREATE TABLE table_name_77 (date INTEGER, score_in_the_final VARCHAR) ###human: What is the most recent date for a singles final with the score of 1–6, 4–6, 5–7? ###assistant: SELECT MAX(date) FROM table_name_77 WHERE score_in_the_final = "1–6, 4–6, 5–7"
###context:CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) ###human: What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface? ###assistant: SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–2"
###context:CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) ###human: What was the score in the final, that Víctor Pecci was the opponent and winner after 1984? ###assistant: SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci"
###context:CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR) ###human: Which championship had a score in the final of 3–6, 6–4, 5–7? ###assistant: SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–7"
###context:CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR) ###human: What is the grid total when there are 37 laps? ###assistant: SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
###context:CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) ###human: What constructor has a grid less than 13 with under 9 laps? ###assistant: SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9
###context:CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR) ###human: What year was the Competition of World Junior Championships with a 20th (qf) position? ###assistant: SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
###context:CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR) ###human: What was the notes of the 400 m event before 2004 with a position of 12th (h)? ###assistant: SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"
###context:CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR) ###human: Which venue had a note of 3:34.88 after 2003? ###assistant: SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"
###context:CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR) ###human: What were the notes of the All-Africa Games before 2007? ###assistant: SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
###context:CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR) ###human: Which event in 2007 had a position of 5th? ###assistant: SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
###context:CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR) ###human: How many attended the game on 12/17 with stephen jackson as the leading scorer? ###assistant: SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
###context:CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) ###human: WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ? ###assistant: SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo"
###context:CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR) ###human: WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI? ###assistant: SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"
###context:CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) ###human: What was the away team's score when Collingwood was the home team? ###assistant: SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood"
###context:CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR) ###human: Who was the home team for the game played at Victoria Park? ###assistant: SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
###context:CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR) ###human: Who was the home team when Fitzroy was the away team? ###assistant: SELECT home_team FROM table_name_33 WHERE away_team = "fitzroy"
###context:CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) ###human: Who was the home team for the game played at Lake Oval? ###assistant: SELECT home_team FROM table_name_77 WHERE venue = "lake oval"
###context:CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR) ###human: Who was the opponent in the championship in Johannesburg, South Africa? ###assistant: SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"
###context:CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR) ###human: What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has? ###assistant: SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947
###context:CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR) ###human: I want the total number of people in the crowd for essendon home team ###assistant: SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR) ###human: How many grids have 102 laps and a Time/Retired of + 6.18? ###assistant: SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
###context:CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR) ###human: How many laps did innes ireland drive with a grid higher than 11? ###assistant: SELECT SUM(laps) FROM table_name_29 WHERE driver = "innes ireland" AND grid > 11
###context:CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) ###human: What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102? ###assistant: SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
###context:CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) ###human: I want the score for 23 july 1992 ###assistant: SELECT score FROM table_name_86 WHERE date = "23 july 1992"
###context:CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR) ###human: I want the venue for 23 july 1992 ###assistant: SELECT venue FROM table_name_64 WHERE date = "23 july 1992"
###context:CREATE TABLE table_name_1 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) ###human: What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw? ###assistant: SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
###context:CREATE TABLE table_name_32 (date VARCHAR, away_team VARCHAR) ###human: On what date was Richmond playing as an away team? ###assistant: SELECT date FROM table_name_32 WHERE away_team = "richmond"
###context:CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR) ###human: What is the crowd size for Victoria park? ###assistant: SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
###context:CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR) ###human: What is the average crowd size for princes park? ###assistant: SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park"
###context:CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR) ###human: Name the transfer wind for giuly ###assistant: SELECT transfer_window FROM table_name_15 WHERE name = "giuly"
###context:CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) ###human: Name the transfer fee for transfer status for fra ###assistant: SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
###context:CREATE TABLE table_name_8 (status VARCHAR, name VARCHAR) ###human: Name the status for belletti ###assistant: SELECT status FROM table_name_8 WHERE name = "belletti"
###context:CREATE TABLE table_name_22 (moving_to VARCHAR, country VARCHAR) ###human: Name the moving to for fra ###assistant: SELECT moving_to FROM table_name_22 WHERE country = "fra"
###context:CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR) ###human: Name the transfer window of realmadrid ###assistant: SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
###context:CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR) ###human: Name the country moving to chelsea ###assistant: SELECT country FROM table_name_24 WHERE moving_to = "chelsea"
###context:CREATE TABLE table_name_44 (leading_scorer VARCHAR, date VARCHAR) ###human: Who was the leading scorer of the game on 20 February 2008? ###assistant: SELECT leading_scorer FROM table_name_44 WHERE date = "20 february 2008"
###context:CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR) ###human: What is the visitor team of the game with Rudy Gay (23) as the leading scorer? ###assistant: SELECT visitor FROM table_name_99 WHERE leading_scorer = "rudy gay (23)"
###context:CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) ###human: What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer? ###assistant: SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)"
###context:CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR) ###human: What is the record of the game on 5 February 2008? ###assistant: SELECT record FROM table_name_87 WHERE date = "5 february 2008"
###context:CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR) ###human: tell me the writer of production code ad1d09. ###assistant: SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"
###context:CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR) ###human: tell me the director of the production code ad1d02. ###assistant: SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
###context:CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) ###human: Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby? ###assistant: SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
###context:CREATE TABLE table_name_50 (planet VARCHAR, orbital_period VARCHAR) ###human: What planet orbits in 3.23 days? ###assistant: SELECT planet FROM table_name_50 WHERE orbital_period = "3.23 days"
###context:CREATE TABLE table_name_56 (planet VARCHAR, radial_velocity__m_s_ INTEGER) ###human: What type of planet has a radial velocity of 45.2 m/s? ###assistant: SELECT planet AS Type FROM table_name_56 WHERE radial_velocity__m_s_ > 45.2
###context:CREATE TABLE table_name_51 (planet VARCHAR, semimajor_axis___au__ VARCHAR) ###human: What type of planet has a semimajor axis of 0.07 AU? ###assistant: SELECT planet AS Type FROM table_name_51 WHERE semimajor_axis___au__ = 0.07
###context:CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR) ###human: What is the city where the Telstra Dome is? ###assistant: SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
###context:CREATE TABLE table_name_97 (d_41 VARCHAR, d_46 VARCHAR) ###human: Name the D 41 which has a D 46 of r 6 ###assistant: SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
###context:CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR) ###human: Name the D 41 which has a D 43 of r 18 ###assistant: SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"
###context:CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR) ###human: Name the R 52 which has a D 44 of d 44 ###assistant: SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44"
###context:CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR) ###human: Name the D 46 which has a D 43 of majority→ ###assistant: SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"
###context:CREATE TABLE table_name_6 (d_42 VARCHAR, d_46 VARCHAR) ###human: Name the D 42 which has a D 46 of r 26 ###assistant: SELECT d_42 FROM table_name_6 WHERE d_46 = "r 26"
###context:CREATE TABLE table_name_29 (d_42 VARCHAR, d_44 VARCHAR) ###human: Name the D 42 which has a D 44 of d 44 ###assistant: SELECT d_42 FROM table_name_29 WHERE d_44 = "d 44"
###context:CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR) ###human: How many wins did SD Eibar, which played less than 38 games, have? ###assistant: SELECT SUM(wins) FROM table_name_24 WHERE club = "sd eibar" AND played < 38
###context:CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) ###human: What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have? ###assistant: SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27
###context:CREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR) ###human: What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has? ###assistant: SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 11
###context:CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR) ###human: What is the number of played games a club with more than 71 points and less than 8 losses has? ###assistant: SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8
###context:CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR) ###human: What is the lowest goal difference a club with 61 goals against and less than 11 draws has? ###assistant: SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
###context:CREATE TABLE table_name_25 (crowd INTEGER, venue VARCHAR) ###human: Which Crowd has a Venue of princes park? ###assistant: SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes park"
###context:CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) ###human: Which Away team has a Venue of mcg? ###assistant: SELECT away_team FROM table_name_82 WHERE venue = "mcg"
###context:CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) ###human: Which average Crowd has a Home team of essendon? ###assistant: SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR) ###human: When was terry cook picked? ###assistant: SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"
###context:CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR) ###human: What position is todd hammel? ###assistant: SELECT position FROM table_name_99 WHERE player = "todd hammel"
###context:CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR) ###human: What is the score of the away team that played Essendon? ###assistant: SELECT away_team AS score FROM table_name_98 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_71 (crowd INTEGER, home_team VARCHAR) ###human: How many people attended the North Melbourne game? ###assistant: SELECT AVG(crowd) FROM table_name_71 WHERE home_team = "north melbourne"
###context:CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) ###human: Where did Carlton play? ###assistant: SELECT venue FROM table_name_9 WHERE away_team = "carlton"
###context:CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR) ###human: Which team played at VFL Park? ###assistant: SELECT home_team FROM table_name_95 WHERE venue = "vfl park"
###context:CREATE TABLE table_name_83 (player VARCHAR, college VARCHAR) ###human: Which player has a College of arizona? ###assistant: SELECT player FROM table_name_83 WHERE college = "arizona"
###context:CREATE TABLE table_name_39 (school VARCHAR, hometown VARCHAR) ###human: Which school has a Hometown of phoenix, az? ###assistant: SELECT school FROM table_name_39 WHERE hometown = "phoenix, az"
###context:CREATE TABLE table_name_57 (nba_draft VARCHAR, school VARCHAR) ###human: Which NBA draft has a School of huntington high school? ###assistant: SELECT nba_draft FROM table_name_57 WHERE school = "huntington high school"
###context:CREATE TABLE table_name_91 (nba_draft VARCHAR, school VARCHAR) ###human: Which NBA draft has a School of st. mary's high school? ###assistant: SELECT nba_draft FROM table_name_91 WHERE school = "st. mary's high school"
###context:CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR) ###human: Which school has a Player of donte greene? ###assistant: SELECT school FROM table_name_6 WHERE player = "donte greene"
###context:CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER) ###human: For R. Magjistari scores over 12, what is the highest number of points? ###assistant: SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12
###context:CREATE TABLE table_name_60 (a_krajka INTEGER, rank VARCHAR, r_magjistari VARCHAR, d_tukiqi VARCHAR) ###human: For R. Magjistari scores under 6, D. Tukiqi scores of 6, and ranks under 5, what is the average A. Krajka score? ###assistant: SELECT AVG(a_krajka) FROM table_name_60 WHERE r_magjistari < 6 AND d_tukiqi = 6 AND rank < 5
###context:CREATE TABLE table_name_13 (club VARCHAR) ###human: Where did the Vitória de Setúbal club place in the 2006-2007 season? ###assistant: SELECT 2006 AS _2007_season FROM table_name_13 WHERE club = "vitória de setúbal"
###context:CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR) ###human: Name the sum of Long for yards less than 197 and players of matt nagy ###assistant: SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy"
###context:CREATE TABLE table_name_26 (visitor VARCHAR, home VARCHAR) ###human: Who was the visitor team in tampa bay? ###assistant: SELECT visitor FROM table_name_26 WHERE home = "tampa bay"