text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_27 WHERE result = "l 13-7 ot"[/INST] When the result was l 13-7 ot, who was the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)
<</SYS>>
SELECT event FROM table_name_29 WHERE quarterfinal = "did not advance" AND athlete = "alireza rouzbahani"[/INST] Alireza Rouzbahani did not advance to the quarterfinal in what event?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)
<</SYS>>
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1[/INST] What is the sum of top-25s for events with more than 1 top-5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)
<</SYS>>
SELECT result FROM table_name_98 WHERE location = "match reports"[/INST] What is the result at match reports?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)
<</SYS>>
SELECT away FROM table_name_28 WHERE time = "14:00"[/INST] What is the Away with a Time that is 14:00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12962773_10 (height VARCHAR, no VARCHAR)
<</SYS>>
SELECT height FROM table_12962773_10 WHERE no = 10[/INST] How tall was Player #10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
<</SYS>>
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"[/INST] What season had a viewer rank of #4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
<</SYS>>
SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334[/INST] What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (team VARCHAR, year INTEGER)
<</SYS>>
SELECT team FROM table_name_53 WHERE year < 1994[/INST] Which team is from earlier than 1994?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_88 WHERE date = "november 20, 1966"[/INST] Who is the opponent on November 20, 1966?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"[/INST] What did United States place when the player was Raymond Floyd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"[/INST] Who are the candidates in the race where Wright Patman is the incumbent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12[/INST] before week 12 what was the attendance on 1983-11-21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)
<</SYS>>
SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"[/INST] what was the drawn when the tries for was 46?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)
<</SYS>>
SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan"[/INST] What team was Ryan Callahan, who received a penalty for roughing, playing for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)
<</SYS>>
SELECT finish FROM table_name_8 WHERE wins = "28"[/INST] What is the Finish of 28 Wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)
<</SYS>>
SELECT tyre FROM table_name_77 WHERE constructor = "cooper - bristol" AND driver = "bob gerard"[/INST] What was tyre that was made by cooper - bristol that was driven by bob gerard?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR)
<</SYS>>
SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs"[/INST] Which IHSAA Class has a Mascot of bulldogs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)
<</SYS>>
SELECT driver FROM table_name_42 WHERE year = "1969"[/INST] Who is the driver from 1969?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)
<</SYS>>
SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC"[/INST] How many times did kingfisher east bengal fc win?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)
<</SYS>>
SELECT points_for FROM table_1676073_13 WHERE points = "6"[/INST] What is the points for when the total points is 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_76 WHERE away_team = "footscray"[/INST] Where did Footscray play as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (draw INTEGER, points INTEGER)
<</SYS>>
SELECT AVG(draw) FROM table_name_52 WHERE points > 12[/INST] Which average draw has points greater than 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_6 WHERE opponent = "philadelphia 76ers"[/INST] What is Date, when Opponent is "Philadelphia 76ers"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (pick INTEGER, player VARCHAR)
<</SYS>>
SELECT MIN(pick) FROM table_name_52 WHERE player = "j.d. hill"[/INST] What pick was J.D. Hill?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR)
<</SYS>>
SELECT year FROM table_name_96 WHERE laps < 197 AND start = "2"[/INST] Tell me the year with Laps less than 197 and start of 2</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_59 WHERE away_team = "collingwood"[/INST] When was the game at Collingwood?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
<</SYS>>
SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena"[/INST] Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)
<</SYS>>
SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508[/INST] Which class starts after 1939 and has a road number smaller than 3508?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
<</SYS>>
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"[/INST] What's the GFL Premiership when the home ground was Leopold Memorial Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)
<</SYS>>
SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf club"[/INST] Which champion has sentosa golf club as the tournament location?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT title FROM table_17624965_1 WHERE production_code = 618[/INST] What was the name of eipsode 618?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys"[/INST] What was the attendance when they played at Dallas Cowboys?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1773908_3 (resale VARCHAR, provider VARCHAR)
<</SYS>>
SELECT resale FROM table_1773908_3 WHERE provider = "Netcologne"[/INST] What is the resale category for the provider NetCologne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (number_of_votes VARCHAR, election VARCHAR)
<</SYS>>
SELECT number_of_votes FROM table_name_79 WHERE election = 1941[/INST] How many people voted in the election of 1941?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)
<</SYS>>
SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"[/INST] I want the sum of year for edition more than 4 and winners of new york red bulls</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4[/INST] How large was the total when the E Score was greater than 9.35 and T Score was less than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)
<</SYS>>
SELECT preliminary_average FROM table_name_34 WHERE state = "utah"[/INST] Name the preliminary average for utah</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_49 WHERE tie_no = "4"[/INST] What is Home Team, when Tie No is 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_70 WHERE away_team = "richmond"[/INST] Where did Richmond play as an away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
<</SYS>>
SELECT date FROM table_name_87 WHERE home = "hartford"[/INST] What was the date of the home game for Hartford?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"[/INST] Who was the opponent before week 5 that played on September 23, 2001?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)
<</SYS>>
SELECT date_to FROM table_name_47 WHERE name = "lee cook"[/INST] What is Date To, when Name is "Lee Cook"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
<</SYS>>
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe"[/INST] What are the number of days in 1945 where the constituent was heywood and radcliffe?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_80 WHERE tie_no = 23[/INST] Who was the Home team in Tie #23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)
<</SYS>>
SELECT score FROM table_name_99 WHERE country = "fiji"[/INST] Name the score for fiji</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"[/INST] What date has a Decision of osgood, and a Score of 3 – 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
<</SYS>>
SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast"[/INST] What is the 2009 estimate population of the Northeast?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"[/INST] How many positions did 1972 NHL Draft pick Rene Lambert play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13[/INST] What is the minimum position when points are 32 and wins are greater than 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE market (Number_cities INTEGER)
<</SYS>>
SELECT COUNT(*) FROM market WHERE Number_cities < 300[/INST] How many markets have number of cities smaller than 300?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts"[/INST] what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)
<</SYS>>
SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber"[/INST] Name the week number for andrew lloyd webber</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)
<</SYS>>
SELECT round FROM table_name_31 WHERE against = "greece"[/INST] What was the round when nueza silva played against greece?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
<</SYS>>
SELECT host_team FROM table_name_37 WHERE date = "september 11"[/INST] What team was the host on september 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)
<</SYS>>
SELECT name FROM table_24565004_15 WHERE goals¹ = 4[/INST] List the player that scored 4 times.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT position FROM table_25085059_1 WHERE pick__number = 6[/INST] What position was the number 6 draft pick?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)
<</SYS>>
SELECT role FROM table_name_4 WHERE program = "the bionic woman"[/INST] What's the roles of the Bionic Woman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)
<</SYS>>
SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale"[/INST] Who is the play by play commentator for the game that has Alan Massengale as Studio Host?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"[/INST] Name the least year for evonne goolagong helen gourlay</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)
<</SYS>>
SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"[/INST] In what year was Letecke Zavody N.P., Jinonice the manufacturer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2899987_2 (network VARCHAR, origin VARCHAR)
<</SYS>>
SELECT network FROM table_2899987_2 WHERE origin = "Xalapa"[/INST] Which of the networks originate in Xalapa?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)
<</SYS>>
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)"[/INST] Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)
<</SYS>>
SELECT city FROM table_name_51 WHERE iata = "muc"[/INST] What is the City with an IATA of MUC?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (country VARCHAR, city VARCHAR)
<</SYS>>
SELECT country FROM table_name_82 WHERE city = "zamboanga"[/INST] What is Country, when City is "Zamboanga"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)
<</SYS>>
SELECT host_city FROM table_2331549_1 WHERE host_school = "École de technologie supérieure"[/INST] What was the host city in years where the host school was école de technologie supérieure?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_37 WHERE player = "claude harmon"[/INST] What is Claude Harmon's Place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)
<</SYS>>
SELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2[/INST] Which club has 1 runners-up with 0 winners and 2 third place earned?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_35 WHERE score = 70 - 72 - 70 = 212[/INST] What player scored 70-72-70=212?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (champion VARCHAR, israel_bowl VARCHAR)
<</SYS>>
SELECT champion FROM table_name_33 WHERE israel_bowl = "iv"[/INST] Name the champion for israel bowl of iv</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)
<</SYS>>
SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson"[/INST] In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)
<</SYS>>
SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"[/INST] Find the first names of all the authors who have written a paper with title containing the word "Functional".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)
<</SYS>>
SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne"[/INST] Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE singer (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM singer[/INST] How many singers do we have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR)
<</SYS>>
SELECT date FROM table_name_77 WHERE game_site = "bye"[/INST] What date has a Game site of bye?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)
<</SYS>>
SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"[/INST] Who was the 3rd performer when christopher smith was the 2nd performer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)
<</SYS>>
SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight"[/INST] What are the titles for the November 9 Super Bantamweight division?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)
<</SYS>>
SELECT order__number FROM table_19508635_1 WHERE theme = "1960s"[/INST] Name the order number for 1960s</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"[/INST] What year had an issue price of $2,995.95, and a theme of grizzly bear?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)
<</SYS>>
SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber"[/INST] What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
<</SYS>>
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade"[/INST] List all characteristics of product named "sesame" with type code "Grade".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_name_62 WHERE record = "24-23"[/INST] What is the highest game with a 24-23 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)
<</SYS>>
SELECT date FROM table_name_39 WHERE home = "buffalo"[/INST] Home of buffalo happened on what date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (years VARCHAR, jersey_number_s_ INTEGER)
<</SYS>>
SELECT years FROM table_name_1 WHERE jersey_number_s_ < 3[/INST] What years was the jersey number(s) smaller than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR)
<</SYS>>
SELECT location FROM table_name_40 WHERE year = 1998[/INST] Where was the match played in 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
<</SYS>>
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0[/INST] how many times is there more than 0 draws and more than 0 losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)
<</SYS>>
SELECT february FROM table_name_46 WHERE record = "21-29-11"[/INST] What is February, when Record is "21-29-11"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)
<</SYS>>
SELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = "03:15:46"[/INST] What is the date for the UTC time of 03:15:46?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
<</SYS>>
SELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = "nelson philippe"[/INST] When Nelson Philippe drove with a grid larger than 16, what was the timre/retired?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (24)"[/INST] Steve Nash (24) got high points for how many teams?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"[/INST] How many total medals for the netherlands?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (attendance VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_89 WHERE tie_no = 1[/INST] How many were in Attendance during a Tie no of 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (margin_of_victory VARCHAR, winning_score VARCHAR)
<</SYS>>
SELECT margin_of_victory FROM table_name_67 WHERE winning_score = −12(66 - 67 - 64 - 71 = 268)[/INST] What was the margin of victory when the winning score was −12 (66-67-64-71=268)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)
<</SYS>>
SELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = "stm"[/INST] Which 2nd senior VIII that also has a 4th senior stm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_58 WHERE grid > 17 AND time_retired = "brakes"[/INST] Who constructed the car that retired due to brakes with a grid larger than 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
<</SYS>>
SELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = "Next station"[/INST] How many frequency figures are given for next station service pattern?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23186738_10 (score VARCHAR, team VARCHAR)
<</SYS>>
SELECT score FROM table_23186738_10 WHERE team = "Milwaukee"[/INST] What was the score when playing Milwaukee?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)
<</SYS>>
SELECT score FROM table_27722734_11 WHERE team = "Denver"[/INST] Name the score for denver</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)
<</SYS>>
SELECT MAX(uni_number) FROM table_name_32 WHERE first = "todd"[/INST] What is the highest uni# of the person with the first name Todd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)
<</SYS>>
SELECT hometown FROM table_name_83 WHERE player = "cody zeller"[/INST] What is the hometown of Cody Zeller?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.