training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_87 (location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR)
###human: Where is the location of the friendly match larger than 1 where the Super Reds were the opponent?
###assistant: SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds" |
###context:CREATE TABLE table_name_78 (location_attendance VARCHAR, team VARCHAR)
###human: When the team is @ Milwaukee, what is the name of the location where the game is played?
###assistant: SELECT location_attendance FROM table_name_78 WHERE team = "@ milwaukee" |
###context:CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR)
###human: For the game with team of @ Chicago, what was the final score?
###assistant: SELECT score FROM table_name_19 WHERE team = "@ chicago" |
###context:CREATE TABLE table_name_90 (rank VARCHAR, title VARCHAR)
###human: What rank did Best Friends receive?
###assistant: SELECT rank FROM table_name_90 WHERE title = "best friends" |
###context:CREATE TABLE table_name_91 (points_for VARCHAR, club VARCHAR)
###human: How many points are for the Fall Bay RFC club?
###assistant: SELECT points_for FROM table_name_91 WHERE club = "fall bay rfc" |
###context:CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR)
###human: What was drawn for 6 bonus points and is against 410 points?
###assistant: SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410" |
###context:CREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR)
###human: What is the club had 431 points against them?
###assistant: SELECT club FROM table_name_63 WHERE points_against = "431" |
###context:CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR)
###human: What are the points against with a points difference?
###assistant: SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" |
###context:CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR)
###human: What are the played points difference?
###assistant: SELECT played FROM table_name_82 WHERE points_difference = "points difference" |
###context:CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR)
###human: When the Home Team was Sydney, what did the Away team score?
###assistant: SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney" |
###context:CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR)
###human: What was the Home team Carlton's Ground?
###assistant: SELECT ground FROM table_name_55 WHERE home_team = "carlton" |
###context:CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR)
###human: Which player scored 71?
###assistant: SELECT player FROM table_name_4 WHERE score = 71 |
###context:CREATE TABLE table_name_84 (circuit VARCHAR, winner VARCHAR, date VARCHAR)
###human: What is the circuit on 19 Apr with Craig Lowndes as the winner?
###assistant: SELECT circuit FROM table_name_84 WHERE winner = "craig lowndes" AND date = "19 apr" |
###context:CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR)
###human: What circuit has volvo cars australia as the team?
###assistant: SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia" |
###context:CREATE TABLE table_name_8 (series VARCHAR, team VARCHAR)
###human: What series was Dick Johnson Racing the team?
###assistant: SELECT series FROM table_name_8 WHERE team = "dick johnson racing" |
###context:CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR)
###human: What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?
###assistant: SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins" |
###context:CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR)
###human: What date was the away team, team Gillingham?
###assistant: SELECT date FROM table_name_64 WHERE away_team = "gillingham" |
###context:CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR)
###human: What was the score for a no. 21 tie?
###assistant: SELECT score FROM table_name_6 WHERE tie_no = "21" |
###context:CREATE TABLE table_name_80 (date VARCHAR, away_team VARCHAR)
###human: What was the date for the away team, team Southport?
###assistant: SELECT date FROM table_name_80 WHERE away_team = "southport" |
###context:CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR)
###human: What was the score for the away team, southport?
###assistant: SELECT score FROM table_name_19 WHERE away_team = "southport" |
###context:CREATE TABLE table_name_65 (result VARCHAR, attendance VARCHAR)
###human: What was the result when the attendance was 47,971?
###assistant: SELECT result FROM table_name_65 WHERE attendance = "47,971" |
###context:CREATE TABLE table_name_2 (result VARCHAR, attendance VARCHAR)
###human: What was the result when the attendance was 46,456?
###assistant: SELECT result FROM table_name_2 WHERE attendance = "46,456" |
###context:CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on september 27, 1998?
###assistant: SELECT opponent FROM table_name_16 WHERE date = "september 27, 1998" |
###context:CREATE TABLE table_name_39 (venue VARCHAR, team_1 VARCHAR, score VARCHAR, season VARCHAR)
###human: Which Venue has a Score of 0:0, a Season larger than 2010, and a Team 1 of t&t hanoi?
###assistant: SELECT venue FROM table_name_39 WHERE score = "0:0" AND season > 2010 AND team_1 = "t&t hanoi" |
###context:CREATE TABLE table_name_2 (highest_league VARCHAR, total_seasons VARCHAR, team VARCHAR)
###human: What's the highest league of the Nova Scotia Clippers with a total season of less than 4?
###assistant: SELECT highest_league FROM table_name_2 WHERE total_seasons < 4 AND team = "nova scotia clippers" |
###context:CREATE TABLE table_name_49 (seasons VARCHAR, total_seasons VARCHAR, city VARCHAR)
###human: What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario?
###assistant: SELECT seasons FROM table_name_49 WHERE total_seasons < 5 AND city = "ottawa, ontario" |
###context:CREATE TABLE table_name_58 (total_seasons INTEGER, team VARCHAR)
###human: What is the least total seasons of the Vancouver 86ers?
###assistant: SELECT MIN(total_seasons) FROM table_name_58 WHERE team = "vancouver 86ers" |
###context:CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR)
###human: Who was the opponent in week 14?
###assistant: SELECT opponent FROM table_name_28 WHERE week = 14 |
###context:CREATE TABLE table_name_87 (date VARCHAR, city VARCHAR)
###human: What is Date, when City is "Punta Del Este"?
###assistant: SELECT date FROM table_name_87 WHERE city = "punta del este" |
###context:CREATE TABLE table_name_18 (city VARCHAR, prize VARCHAR)
###human: What is City, when Prize is "$146,000"?
###assistant: SELECT city FROM table_name_18 WHERE prize = "$146,000" |
###context:CREATE TABLE table_name_66 (date VARCHAR, winner VARCHAR)
###human: What is Date, when Winner is "Murilo Figueiredo"?
###assistant: SELECT date FROM table_name_66 WHERE winner = "murilo figueiredo" |
###context:CREATE TABLE table_name_12 (aspect VARCHAR, programming VARCHAR)
###human: What Aspect has a Programming of Saigon Network Television?
###assistant: SELECT aspect FROM table_name_12 WHERE programming = "saigon network television" |
###context:CREATE TABLE table_name_18 (aspect VARCHAR, programming VARCHAR)
###human: Which Aspect has a Programming of latv?
###assistant: SELECT aspect FROM table_name_18 WHERE programming = "latv" |
###context:CREATE TABLE table_name_53 (programming VARCHAR, channel VARCHAR, psip_short_name VARCHAR)
###human: Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5?
###assistant: SELECT programming FROM table_name_53 WHERE channel > 51.2 AND psip_short_name = "kyaz-5" |
###context:CREATE TABLE table_name_70 (psip_short_name VARCHAR, channel INTEGER)
###human: What is the PSIP Short name for the Channel that is less than 51.6?
###assistant: SELECT psip_short_name FROM table_name_70 WHERE channel < 51.6 |
###context:CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR)
###human: What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?
###assistant: SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall" |
###context:CREATE TABLE table_name_31 (prize VARCHAR, beer_name VARCHAR, year VARCHAR, competition VARCHAR)
###human: What prize did good old boy win in 2002 at the camra london and south east regional competition?
###assistant: SELECT prize FROM table_name_31 WHERE year > 2002 AND competition = "camra london and south east regional competition" AND beer_name = "good old boy" |
###context:CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)
###human: What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?
###assistant: SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition" |
###context:CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR)
###human: What beer won a silver medal at the camra reading branch beer festival in 2008?
###assistant: SELECT beer_name FROM table_name_33 WHERE prize = "silver medal" AND competition = "camra reading branch beer festival" AND year = 2008 |
###context:CREATE TABLE table_name_70 (model_number VARCHAR, part_number_s_ VARCHAR)
###human: What is Model Number, when Part Number(s) is AY80609003987AB?
###assistant: SELECT model_number FROM table_name_70 WHERE part_number_s_ = "ay80609003987ab" |
###context:CREATE TABLE table_name_85 (frequency VARCHAR, part_number_s_ VARCHAR)
###human: What is Frequency, when Part Number(s) is AY80609004002AC?
###assistant: SELECT frequency FROM table_name_85 WHERE part_number_s_ = "ay80609004002ac" |
###context:CREATE TABLE table_name_98 (sspec_number VARCHAR, frequency VARCHAR)
###human: What is sSpec Number, when Frequency is 1 GHZ?
###assistant: SELECT sspec_number FROM table_name_98 WHERE frequency = "1 ghz" |
###context:CREATE TABLE table_name_22 (release_date VARCHAR, sspec_number VARCHAR)
###human: What is Release Date, when sSpec Number is SLBZE(C0)SLBR8?
###assistant: SELECT release_date FROM table_name_22 WHERE sspec_number = "slbze(c0)slbr8" |
###context:CREATE TABLE table_name_60 (l2_cache VARCHAR, model_number VARCHAR)
###human: What is L2 Cache, when Model Number is Atom Z625?
###assistant: SELECT l2_cache FROM table_name_60 WHERE model_number = "atom z625" |
###context:CREATE TABLE table_name_17 (pick VARCHAR, player VARCHAR, round VARCHAR)
###human: Which Pick has a Player of renaldo wynn, and a Round smaller than 1?
###assistant: SELECT COUNT(pick) FROM table_name_17 WHERE player = "renaldo wynn" AND round < 1 |
###context:CREATE TABLE table_name_49 (round INTEGER, player VARCHAR)
###human: Which Round has a Player of damon jones?
###assistant: SELECT SUM(round) FROM table_name_49 WHERE player = "damon jones" |
###context:CREATE TABLE table_name_50 (college VARCHAR, round INTEGER)
###human: Which College has a Round smaller than 2?
###assistant: SELECT college FROM table_name_50 WHERE round < 2 |
###context:CREATE TABLE table_name_94 (event VARCHAR, location VARCHAR)
###human: Which event is located in Northfield, Mn?
###assistant: SELECT event FROM table_name_94 WHERE location = "northfield, mn" |
###context:CREATE TABLE table_name_88 (event VARCHAR, distance VARCHAR)
###human: Which event has a distance of ft10in (m)?
###assistant: SELECT event FROM table_name_88 WHERE distance = "ft10in (m)" |
###context:CREATE TABLE table_name_97 (distance VARCHAR, event VARCHAR)
###human: What distance does the Bass Pro Shops event have?
###assistant: SELECT distance FROM table_name_97 WHERE event = "bass pro shops" |
###context:CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)
###human: On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
###assistant: SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show" |
###context:CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER)
###human: Who did they play when there were only 751 in attendance?
###assistant: SELECT opponent FROM table_name_78 WHERE attendance < 751 |
###context:CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
###human: When did they play the swindon wildcats away?
###assistant: SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats" |
###context:CREATE TABLE table_name_28 (man_of_the_match VARCHAR, venue VARCHAR, opponent VARCHAR)
###human: Who was the Man of the Match when they played the Romford Raiders at home?
###assistant: SELECT man_of_the_match FROM table_name_28 WHERE venue = "home" AND opponent = "romford raiders" |
###context:CREATE TABLE table_name_76 (nat VARCHAR, app_l_c_e_ VARCHAR, name VARCHAR)
###human: What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)?
###assistant: SELECT nat FROM table_name_76 WHERE app_l_c_e_ = "0 (0/0/0)" AND name = "yahaya" |
###context:CREATE TABLE table_name_61 (transfer_fee VARCHAR, app_l_c_e_ VARCHAR, notes VARCHAR)
###human: What was the transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa?
###assistant: SELECT transfer_fee FROM table_name_61 WHERE app_l_c_e_ = "0 (0/0/0)" AND notes = "to anagennisi karditsa" |
###context:CREATE TABLE table_name_50 (british_name VARCHAR, american_name VARCHAR)
###human: what is the british name when the american name is sixteenth note?
###assistant: SELECT british_name FROM table_name_50 WHERE american_name = "sixteenth note" |
###context:CREATE TABLE table_name_23 (value VARCHAR, british_name VARCHAR)
###human: what is the value when the british name is quaver?
###assistant: SELECT value FROM table_name_23 WHERE british_name = "quaver" |
###context:CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)
###human: what is the value when the british name is maxima?
###assistant: SELECT value FROM table_name_40 WHERE british_name = "maxima" |
###context:CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
###human: What is Home Team, when Date is "28 January 1984", and when Tie No is "4"?
###assistant: SELECT home_team FROM table_name_65 WHERE date = "28 january 1984" AND tie_no = "4" |
###context:CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR)
###human: What is Date, when Away Team is "Gillingham"?
###assistant: SELECT date FROM table_name_2 WHERE away_team = "gillingham" |
###context:CREATE TABLE table_name_30 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
###human: What is Home Team, when Date is "1 February 1984", and when Tie No is "5"?
###assistant: SELECT home_team FROM table_name_30 WHERE date = "1 february 1984" AND tie_no = "5" |
###context:CREATE TABLE table_name_65 (away_team VARCHAR, home_team VARCHAR)
###human: What is Away Team, when Home Team is "Sheffield Wednesday"?
###assistant: SELECT away_team FROM table_name_65 WHERE home_team = "sheffield wednesday" |
###context:CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
###human: What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?
###assistant: SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace" |
###context:CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR)
###human: What to par has tom kite as the player?
###assistant: SELECT to_par FROM table_name_92 WHERE player = "tom kite" |
###context:CREATE TABLE table_name_65 (player VARCHAR, finish VARCHAR)
###human: What player has a t57 as the finish?
###assistant: SELECT player FROM table_name_65 WHERE finish = "t57" |
###context:CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)
###human: What is the lowest total that has 1992 as the year (s) won?
###assistant: SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992" |
###context:CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR)
###human: What player has +21 as the to par?
###assistant: SELECT player FROM table_name_36 WHERE to_par = "+21" |
###context:CREATE TABLE table_name_5 (to_par VARCHAR, total INTEGER)
###human: Which to par has a total less than 296?
###assistant: SELECT to_par FROM table_name_5 WHERE total < 296 |
###context:CREATE TABLE table_name_35 (finish VARCHAR, to_par VARCHAR)
###human: What finish has +21 as the to par?
###assistant: SELECT finish FROM table_name_35 WHERE to_par = "+21" |
###context:CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)
###human: What is the total number of events that had 34 cuts and 3 in the top 10?
###assistant: SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3 |
###context:CREATE TABLE table_name_7 (high_rebounds VARCHAR, date VARCHAR)
###human: Who had the most rebounds on January 3?
###assistant: SELECT high_rebounds FROM table_name_7 WHERE date = "january 3" |
###context:CREATE TABLE table_name_28 (surface VARCHAR, date VARCHAR, partner VARCHAR)
###human: Which surface had a date after 1982 and partner of Guy Forget?
###assistant: SELECT surface FROM table_name_28 WHERE date > 1982 AND partner = "guy forget" |
###context:CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR)
###human: What was the result of the week 9 game?
###assistant: SELECT result FROM table_name_48 WHERE week = 9 |
###context:CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR)
###human: What was the attendance during the november 16, 1975 game?
###assistant: SELECT MAX(attendance) FROM table_name_18 WHERE date = "november 16, 1975" |
###context:CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR)
###human: What is the total number in class for the Whitehaven Coal?
###assistant: SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal" |
###context:CREATE TABLE table_name_58 (built VARCHAR, number_in_class VARCHAR, owner VARCHAR)
###human: What was built in a class with less than 10, and the Downer Rail owner?
###assistant: SELECT built FROM table_name_58 WHERE number_in_class < 10 AND owner = "downer rail" |
###context:CREATE TABLE table_name_83 (class VARCHAR, number_in_class INTEGER)
###human: Which class has more than 15 people in the class?
###assistant: SELECT class FROM table_name_83 WHERE number_in_class > 15 |
###context:CREATE TABLE table_name_98 (owner VARCHAR, built VARCHAR)
###human: Who is the owner that built in 2009-2011?
###assistant: SELECT owner FROM table_name_98 WHERE built = "2009-2011" |
###context:CREATE TABLE table_name_33 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
###human: Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
###assistant: SELECT AVG(grid) FROM table_name_33 WHERE manufacturer = "aprilia" AND rider = "bradley smith" |
###context:CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
###human: Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
###assistant: SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher" |
###context:CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
###human: Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
###assistant: SELECT time FROM table_name_13 WHERE manufacturer = "aprilia" AND grid < 16 AND rider = "sandro cortese" |
###context:CREATE TABLE table_name_1 (silver INTEGER, bronze VARCHAR, total VARCHAR)
###human: Name the Silver which has a Bronze of 19, and a Total larger than 58?
###assistant: SELECT MIN(silver) FROM table_name_1 WHERE bronze = 19 AND total > 58 |
###context:CREATE TABLE table_name_9 (silver VARCHAR, rank VARCHAR, gold VARCHAR)
###human: What kind of Silver has a Rank of 3, and a Gold smaller than 2?
###assistant: SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3" AND gold < 2 |
###context:CREATE TABLE table_name_19 (silver INTEGER, bronze INTEGER)
###human: COunt the silver that has a Bronze smaller than 1?
###assistant: SELECT SUM(silver) FROM table_name_19 WHERE bronze < 1 |
###context:CREATE TABLE table_name_70 (total INTEGER, silver INTEGER)
###human: Name the Total which has a Silver larger than 19?
###assistant: SELECT MAX(total) FROM table_name_70 WHERE silver > 19 |
###context:CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, nation VARCHAR)
###human: Name the Silver that has a Total smaller than 2, and a Nation of south korea?
###assistant: SELECT AVG(silver) FROM table_name_49 WHERE total < 2 AND nation = "south korea" |
###context:CREATE TABLE table_name_47 (location VARCHAR, opponent VARCHAR)
###human: What is the location of the match with chad armstrong as the opponent?
###assistant: SELECT location FROM table_name_47 WHERE opponent = "chad armstrong" |
###context:CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)
###human: What is Scott Verplank's score?
###assistant: SELECT score FROM table_name_65 WHERE player = "scott verplank" |
###context:CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR)
###human: What place is United States player Corey Pavin in?
###assistant: SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin" |
###context:CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
###human: Which country has a score of 70-71-72=213?
###assistant: SELECT country FROM table_name_76 WHERE score = 70 - 71 - 72 = 213 |
###context:CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
###human: Where does Bob Tway Place?
###assistant: SELECT place FROM table_name_95 WHERE player = "bob tway" |
###context:CREATE TABLE table_name_59 (place VARCHAR, to_par VARCHAR, score VARCHAR)
###human: What is the place with a to par of E and a score of 69-69-72=210?
###assistant: SELECT place FROM table_name_59 WHERE to_par = "e" AND score = 69 - 69 - 72 = 210 |
###context:CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)
###human: WHAT IS THE COUNTRY WITH DAVE BARR?
###assistant: SELECT country FROM table_name_26 WHERE player = "dave barr" |
###context:CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
###human: WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
###assistant: SELECT to_par FROM table_name_77 WHERE place = "t7" AND score = 72 - 67 = 139 AND player = "raymond floyd" |
###context:CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)
###human: WHAT IS THE PLACE WITH PLAYER mark o'meara?
###assistant: SELECT place FROM table_name_78 WHERE player = "mark o'meara" |
###context:CREATE TABLE table_name_64 (drawn INTEGER, position VARCHAR, lost VARCHAR)
###human: Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?
###assistant: SELECT MAX(drawn) FROM table_name_64 WHERE position < 4 AND lost < 2 |
###context:CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)
###human: How many Points have a Position larger than 3, and a Played smaller than 14?
###assistant: SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14 |
###context:CREATE TABLE table_name_4 (lost INTEGER, position VARCHAR, drawn VARCHAR)
###human: Which Lost has a Position of 4, and a Drawn smaller than 3?
###assistant: SELECT AVG(lost) FROM table_name_4 WHERE position = 4 AND drawn < 3 |
###context:CREATE TABLE table_name_60 (position INTEGER, lost VARCHAR, played VARCHAR)
###human: Which Position has a Lost larger than 4, and a Played larger than 14?
###assistant: SELECT AVG(position) FROM table_name_60 WHERE lost > 4 AND played > 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.