text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR)
<</SYS>>
SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)"[/INST] Which Xenon has Neon of 20.1797(6)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)
<</SYS>>
SELECT no FROM table_23670057_4 WHERE position = "Center"[/INST] Display the serial numbers for the players who play at the center.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (width VARCHAR, year VARCHAR)
<</SYS>>
SELECT width FROM table_name_38 WHERE year = "1970"[/INST] What is the width for the year of the 1970?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)
<</SYS>>
SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"[/INST] What is the aggregate for the tie with a team 2 of Irtysh?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)
<</SYS>>
SELECT pole_position FROM table_name_87 WHERE race = "belgian grand prix"[/INST] What was the pole position for the belgian grand prix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)
<</SYS>>
SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003"[/INST] what was the gp/gs in 2003 when the total points was "did not play"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR)
<</SYS>>
SELECT high_assists FROM table_17355408_9 WHERE game = 80[/INST] Who had the high assists in game 80?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE people (Weight VARCHAR, Height VARCHAR)
<</SYS>>
SELECT Weight FROM people ORDER BY Height LIMIT 1[/INST] What is the weight of the shortest person?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (attendance INTEGER, visitor VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_16 WHERE visitor = "phoenix"[/INST] What is the average attendance for a game against Phoenix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)
<</SYS>>
SELECT team_classification FROM table_15088557_1 WHERE combination_classification = "Mederic Clain"[/INST] Name all the team clasification where the combination classification is mederic clain</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
<</SYS>>
SELECT venue FROM table_name_6 WHERE date = "30 may 2004"[/INST] Where was the game played on 30 May 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (lane INTEGER, name VARCHAR)
<</SYS>>
SELECT MAX(lane) FROM table_name_74 WHERE name = "inna nikitina"[/INST] what lane did inna nikitina have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
<</SYS>>
SELECT MAX(grid) FROM table_name_45 WHERE constructor = "ferrari" AND laps = 2[/INST] What is the high grid for ferrari's with 2 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR)
<</SYS>>
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"[/INST] What is the innovation when the economic incentive grime is 7.14? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_60 WHERE home_team = "rochdale"[/INST] Which Date has a Home team of rochdale?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR)
<</SYS>>
SELECT city FROM table_name_52 WHERE lead = "steve gould"[/INST] Which City has a Lead of steve gould?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR)
<</SYS>>
SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"[/INST] The match that went 1 round, and had a method of submission (rear-naked choke) had what record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (winner VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT winner FROM table_name_61 WHERE circuit = "phillip island grand prix circuit"[/INST] Which driver won the Phillip Island Grand Prix Circuit?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon"[/INST] What was the location when the winning driver was Nathanaël Berthon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (round_of_32 VARCHAR, event VARCHAR, quarterfinals VARCHAR, finals VARCHAR, semifinals VARCHAR)
<</SYS>>
SELECT round_of_32 FROM table_name_10 WHERE finals = "did not advance" AND semifinals = "did not advance" AND quarterfinals = "did not advance" AND event = "56kg"[/INST] What's the round of 32 during the 56kg when the quarterfinals, semifinals, and finals did not advance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (date VARCHAR, election VARCHAR)
<</SYS>>
SELECT date FROM table_name_46 WHERE election = "1953"[/INST] When was the Election of 1953?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45[/INST] In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (role VARCHAR, broadcaster VARCHAR)
<</SYS>>
SELECT role FROM table_name_55 WHERE broadcaster = "challenge tv"[/INST] What was the role for Challenge TV?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (high_rebounds VARCHAR, record VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_name_44 WHERE record = "18-14"[/INST] What is the high rebounds with a record that is 18-14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (week INTEGER, attendance VARCHAR)
<</SYS>>
SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263[/INST] What's the mean week number when attendance was 63,263?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_30 WHERE date = "19/08/2012"[/INST] What was the score on 19/08/2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
<</SYS>>
SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004[/INST] Who was the recipient when the show was nominated for Most Popular Drama after 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR)
<</SYS>>
SELECT date FROM table_name_20 WHERE field = "hofstra stadium"[/INST] What days were games played at Hofstra Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR)
<</SYS>>
SELECT MIN(round) FROM table_name_11 WHERE weight_class = "welterweight" AND card = "preliminary"[/INST] What is the smallest round for the welterweight class with a preliminary card?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
<</SYS>>
SELECT status FROM table_name_33 WHERE date = "10/05/1975"[/INST] What is Status, when Date is 10/05/1975?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25055040_22 (mountains_classification VARCHAR, most_courageous VARCHAR)
<</SYS>>
SELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = "Yaroslav Popovych"[/INST] When Yaroslav Popovych won most corageous, who won the mountains classification?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, year VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR)
<</SYS>>
SELECT womens_doubles FROM table_14903999_1 WHERE mixed_doubles = "Magnús Ingi Helgason Tinna Helgadóttir" AND womens_singles = "Ragna Ingólfsdóttir" AND year = 2010[/INST] Who won womens doubles the year magnús ingi helgason tinna helgadóttir won mixed doubles and ragna ingólfsdóttir won womens singles in 2010</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)
<</SYS>>
SELECT date FROM table_11964047_9 WHERE visitor = "Phoenix Suns" AND record = "31–30"[/INST] what's the date where visitor is phoenix suns and record is 31–30</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)
<</SYS>>
SELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = "10"[/INST] How many league goals did the player with 10 league apps and 0 FA cup goals have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR)
<</SYS>>
SELECT MIN(zone) FROM table_name_88 WHERE managed_by = "southern" AND platforms < 2[/INST] Which Zone is the lowest when Managed By Southern and has Platforms under 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_96 WHERE result = "w 33-31"[/INST] Tell me opponent for result of w 33-31</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)
<</SYS>>
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"[/INST] What is the type of Kuang-Hsing?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE staff (gender VARCHAR)
<</SYS>>
SELECT gender FROM staff GROUP BY gender ORDER BY COUNT(*) DESC LIMIT 1[/INST] Which gender makes up the majority of the staff?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (score VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT score FROM table_name_42 WHERE visitor = "pittsburgh"[/INST] What was the score when Pittsburgh was the visitor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)
<</SYS>>
SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6"[/INST] What team was the home team when Colorado was the visitor and the record became 22–13–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.3"[/INST] What is the season # when ther are 5.3 million U.S viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR)
<</SYS>>
SELECT couple FROM table_23662272_4 WHERE number_of_dances = 6[/INST] What was the name of the couple if the number of dances is 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)
<</SYS>>
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"[/INST] What is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-2"[/INST] What are the most points scored in a game where the score was 1-2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14960574_6 (italian_voice_actor VARCHAR, german_voice_actor VARCHAR)
<</SYS>>
SELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = "Dirk Fenselau"[/INST] Name the italian voice actor for dirk fenselau</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_26 WHERE venue = "corio oval"[/INST] What is the away team at corio oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (shooter VARCHAR, rank_points VARCHAR, score_points VARCHAR)
<</SYS>>
SELECT shooter FROM table_name_56 WHERE rank_points = "15" AND score_points = "0"[/INST] Who is the shooter with 15 rank points, and 0 score points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR)
<</SYS>>
SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus"[/INST] On which date was the position less than 4 at Piraeus?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_68 WHERE attendance = "16,971"[/INST] What home team had an attendance record of 16,971?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (builder VARCHAR, built VARCHAR)
<</SYS>>
SELECT builder FROM table_name_84 WHERE built = "1920"[/INST] Who was the builder in 1920?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)
<</SYS>>
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (punches and elbows)"[/INST] What is the average round for the TKO (punches and elbows) method?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (money___ VARCHAR, country VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND to_par = "–2"[/INST] What is the total amount of money that the United States one with a To par of –2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (location VARCHAR, event VARCHAR)
<</SYS>>
SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins"[/INST] What location did the event kotc: mortal sins take place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER)
<</SYS>>
SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013[/INST] Which city has a First season of current spell in Segunda División smaller than 2013?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)
<</SYS>>
SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"[/INST] Who left office on January 9, 1893</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (player VARCHAR)
<</SYS>>
SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan"[/INST] How many average 100s were there for Tim Bresnan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (name VARCHAR, last_performance VARCHAR)
<</SYS>>
SELECT name FROM table_name_18 WHERE last_performance = "3 july 2011"[/INST] who had a last performance of 3 july 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
<</SYS>>
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s"[/INST] what is the constellation when the right ascension (j2000) is 09h51m54.0s?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (position VARCHAR, wins VARCHAR, podiums VARCHAR)
<</SYS>>
SELECT position FROM table_name_16 WHERE wins > 0 AND podiums < 3[/INST] What position has over 0 wins and under 3 podiums?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2182573_2 (top_5 INTEGER, avg_start VARCHAR)
<</SYS>>
SELECT MAX(top_5) FROM table_2182573_2 WHERE avg_start = "28.5"[/INST] What was the best top five result when the average start is 28.5? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285[/INST] Name the player for 68-68-75-74=285</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)
<</SYS>>
SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7[/INST] What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11691212_2 (ratings VARCHAR, year VARCHAR)
<</SYS>>
SELECT ratings FROM table_11691212_2 WHERE year = 1997[/INST] What was the rating in 1997?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR)
<</SYS>>
SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11[/INST] Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2[/INST] What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)
<</SYS>>
SELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26[/INST] WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_77 WHERE away_team = "carlton"[/INST] Name the home team for carlton away team</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (sales__billion_$_ VARCHAR, company VARCHAR)
<</SYS>>
SELECT sales__billion_$_ FROM table_name_70 WHERE company = "exxonmobil"[/INST] Name the Sales (billion $) which have a Company of exxonmobil?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (version VARCHAR, year INTEGER)
<</SYS>>
SELECT version FROM table_name_45 WHERE year < 1996[/INST] What was the Version prior to 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21350934_2 (venue VARCHAR, score VARCHAR)
<</SYS>>
SELECT venue FROM table_21350934_2 WHERE score = "34-18"[/INST] What is the venue that has 34-18 as the score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn"[/INST] What is the average crowd size for games with hawthorn as the home side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (career_with_the_franchise VARCHAR, previous_team VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
<</SYS>>
SELECT career_with_the_franchise FROM table_name_47 WHERE years_of_nba_experience_[a_] < 9 AND pos = "f/c" AND previous_team = "phoenix suns"[/INST] What is the career with the franchise of the f/c player with fewer than 9 years of NBA experience who previously played for the Phoenix Suns?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)
<</SYS>>
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"[/INST] Find the title of all the albums of the artist "AC/DC".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)
<</SYS>>
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"[/INST] Who was the winner with a mountain stage type on 22 May?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR)
<</SYS>>
SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen"[/INST] What was the total of arlenes vote when craig voted for brian and karen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR)
<</SYS>>
SELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = "oct. 29" AND bills_points > 23[/INST] What was the Bills first downs on Oct. 29 with more the 23 Bills points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_14 WHERE date = "2 may 2007"[/INST] How many people attended on 2 may 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_64 WHERE attendance = "37,845"[/INST] Who is the opponent for the game with 37,845 people in attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (events INTEGER, top_25 INTEGER)
<</SYS>>
SELECT AVG(events) FROM table_name_84 WHERE top_25 < 0[/INST] What is the event average for a top-25 smaller than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_91 WHERE away_team = "liverpool"[/INST] What is Date, when Away Team is "Liverpool"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_64 WHERE away_team = "hawthorn"[/INST] What venue features hawthorn as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_81 WHERE date = "4 february 2003"[/INST] How many attended the game on 4 February 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)
<</SYS>>
SELECT class FROM table_name_9 WHERE weight = 242[/INST] What is the class of the player with a weight of 242 pounds?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)
<</SYS>>
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1[/INST] Name the total number of yards for avg of 9 and rec of 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12419515_5 (written_by VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT written_by FROM table_12419515_5 WHERE series__number = 67[/INST] Name the people who wrote number 67</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)
<</SYS>>
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"[/INST] How many different municipal mayors were there in the municipality with an area of 42.66 km2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_name_98 WHERE player = "denard walker"[/INST] What position does Denard Walker play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR)
<</SYS>>
SELECT date FROM table_name_18 WHERE name = "tirrana"[/INST] what is the date for tirrana?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (place INTEGER, english_translation VARCHAR)
<</SYS>>
SELECT MAX(place) FROM table_name_58 WHERE english_translation = "lullaby for my beloved"[/INST] Which Place has an English translation of lullaby for my beloved?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR)
<</SYS>>
SELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = "72.75%"[/INST] How many people voted for Obama in the county where McCain got 72.75% of the votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR)
<</SYS>>
SELECT surface FROM table_name_88 WHERE partner = "aurelija misevičiūtė"[/INST] The tournament with a partner listed as Aurelija Misevičiūtė had what kind of surface?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT no_in_season FROM table_17482534_1 WHERE directed_by = "Gene Stupnitsky"[/INST] What number in season is the episode directed by Gene Stupnitsky?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 12[/INST] What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)
<</SYS>>
SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"[/INST] Name the total number of race time for kevin harvick</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129[/INST] What is the total round of the 129 pick?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (year INTEGER, result VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_32 WHERE result = "nominated"[/INST] What is the average year with nominated result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (moving_from VARCHAR, rank VARCHAR)
<</SYS>>
SELECT moving_from FROM table_name_55 WHERE rank = 9[/INST] The player with a rank of 9, made a move from what football club?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10392906_2 (team_record VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(team_record) FROM table_10392906_2 WHERE date = "Friday, May 25"[/INST] How many records are listed on Friday, May 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR)
<</SYS>>
SELECT english_title FROM table_22128871_1 WHERE result = "Nominee"[/INST] What is every English title for the result of nominee?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (tie_no VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_44 WHERE away_team = "tranmere rovers"[/INST] Which tie number had an away team of the Tranmere Rovers?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.