text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (player VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_78 WHERE to_par = 13[/INST] Which player had a To par of 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR)
<</SYS>>
SELECT written_by FROM table_2409041_3 WHERE no_in_season = 23[/INST] Who wrote season 23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)
<</SYS>>
SELECT length_feet FROM table_name_28 WHERE mi_from_kingston > 84.5 AND length_meters > 55.5 AND name = "unnamed"[/INST] What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (opponents_in_the_final VARCHAR, score VARCHAR)
<</SYS>>
SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-10"[/INST] Tell me the opponents for score of 6-1 2-6 7-10</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (match_report VARCHAR, date VARCHAR)
<</SYS>>
SELECT match_report FROM table_name_4 WHERE date = "25 april 2009"[/INST] What is the match report from the game played on 25 april 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR)
<</SYS>>
SELECT pronunciation_spelled_free FROM table_name_24 WHERE pronunciation_spelled_checked = "ɑ"[/INST] What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is "ɑ"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (ground VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT ground FROM table_name_98 WHERE opponent = "portsmouth reserves"[/INST] What ground had Portsmouth reserves as an opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (total_receipts VARCHAR, candidate VARCHAR)
<</SYS>>
SELECT total_receipts FROM table_name_44 WHERE candidate = "tom tancredo"[/INST] Tell me the total receipts for tom tancredo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (group_position VARCHAR, result_f_a VARCHAR, date VARCHAR)
<</SYS>>
SELECT group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"[/INST] Which Group position has Result F–A of 0–1 on 1 november 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR)
<</SYS>>
SELECT date FROM table_name_64 WHERE record = "27-25"[/INST] When was the record 27-25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (week_3 VARCHAR, week_2 VARCHAR)
<</SYS>>
SELECT week_3 FROM table_name_64 WHERE week_2 = "nikki fiction"[/INST] Who is week 3 if week 2 is Nikki Fiction?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26593762_3 (position_in_table VARCHAR, outgoing_manager VARCHAR)
<</SYS>>
SELECT position_in_table FROM table_26593762_3 WHERE outgoing_manager = "Brian Laws"[/INST] What was the table position for the team whose outgoing manager was Brian Laws?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)
<</SYS>>
SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0[/INST] What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)
<</SYS>>
SELECT episode FROM table_2114308_1 WHERE run_time = "22:50"[/INST] Name the episode for run time of 22:50</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_11 WHERE venue = "western oval"[/INST] What away team played at western oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham"[/INST] Who is the opponent in the final with a clay surface at the Tournament of Lyneham?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR)
<</SYS>>
SELECT october FROM table_name_17 WHERE november = "buffy tyler"[/INST] Name the october when november is buffy tyler</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne"[/INST] What was Melbourne's away team score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE race (CLASS VARCHAR)
<</SYS>>
SELECT CLASS, COUNT(*) FROM race GROUP BY CLASS[/INST] Show the race class and number of races in each class.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (latest_version VARCHAR, release_date VARCHAR)
<</SYS>>
SELECT latest_version FROM table_name_24 WHERE release_date = "1987-12-09"[/INST] Which of the Latest version was released on Release date 1987-12-09?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (tournament VARCHAR, outcome VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_25 WHERE outcome = "winner" AND date = "19 october 2008"[/INST] Which Tournament has an Outcome of winner on 19 october 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23281862_5 (score VARCHAR, team VARCHAR)
<</SYS>>
SELECT COUNT(score) FROM table_23281862_5 WHERE team = "Sacramento"[/INST] Name the number of score for sacramento</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14342210_6 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_14342210_6 WHERE player = "Redden"[/INST] Which position did Redden play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (population INTEGER, name VARCHAR, region VARCHAR)
<</SYS>>
SELECT SUM(population) FROM table_name_44 WHERE name = "saint-wenceslas" AND region < 17[/INST] What is the population total for saint-wenceslas with a region number of under 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12226390_7 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
<</SYS>>
SELECT written_by FROM table_12226390_7 WHERE directed_by = "Richard L. Bare" AND no_in_season = 8[/INST] Who was the writters for the episode directed by Richard L. Bare, no. 8 in season?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR)
<</SYS>>
SELECT wickets FROM table_16570286_4 WHERE average = "22.66"[/INST] How many wickets were there when average was 22.66?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (frequency VARCHAR, branding VARCHAR)
<</SYS>>
SELECT frequency FROM table_name_26 WHERE branding = "country 600"[/INST] Which Frequency has a Branding of country 600?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18914438_1 (best VARCHAR, career VARCHAR)
<</SYS>>
SELECT best FROM table_18914438_1 WHERE career = "1971-1984"[/INST] What was the Best score during the game played from 1971-1984?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (artist VARCHAR, actual_title VARCHAR)
<</SYS>>
SELECT artist FROM table_name_82 WHERE actual_title = "game of thrones"[/INST] Game of Thrones was done by which artist?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_53 WHERE date = "april 22"[/INST] What was the score on April 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER)
<</SYS>>
SELECT MAX(games) FROM table_name_69 WHERE drawn > 1[/INST] Name the most games with drawn more than 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Drama_Workshop_Groups (Marketing_Region_Code VARCHAR)
<</SYS>>
SELECT Marketing_Region_Code FROM Drama_Workshop_Groups GROUP BY Marketing_Region_Code ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the marketing region code that has the most drama workshop groups?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
<</SYS>>
SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = "cannibal vegetarian"[/INST] Who is the director of Cannibal vegetarian, which is the film title used in nomination?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (decision VARCHAR, series VARCHAR, visitor VARCHAR, score VARCHAR)
<</SYS>>
SELECT decision FROM table_name_5 WHERE visitor = "calgary" AND score = "2 – 1" AND series = "4 – 3"[/INST] Which Decision has a Visitor of calgary, a Score of 2 – 1, and a Series of 4 – 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (Id VARCHAR)
<</SYS>>
SELECT 2002 FROM table_name_21 WHERE 2008 = "career statistics"[/INST] What 2002 tournament has 2008 career statistics?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (name__birth_death_ VARCHAR, left_office VARCHAR)
<</SYS>>
SELECT name__birth_death_ FROM table_name_79 WHERE left_office = "7 october 1958"[/INST] What is Name (Birth-Death), when Left Office is 7 October 1958?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2886617_2 (player VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers"[/INST] What player was picked by the New York Rangers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR)
<</SYS>>
SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3[/INST] What is the lowest Top-25 for the open championship, with a Top-10 larger than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28211103_1 (attendance VARCHAR, hawthorn_score VARCHAR)
<</SYS>>
SELECT attendance FROM table_28211103_1 WHERE hawthorn_score = "18.15.123"[/INST] What is the attendance when the hawthorn score is 18.15.123?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (ends VARCHAR, goals VARCHAR, since VARCHAR, nat VARCHAR)
<</SYS>>
SELECT COUNT(ends) FROM table_name_39 WHERE since > 2006 AND nat = "ita" AND goals < 0[/INST] What is the total number of ends after 2006 with a nationality of ita and 0 goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (Id VARCHAR)
<</SYS>>
SELECT 1987 FROM table_name_71 WHERE 1989 = "grand slam tournaments"[/INST] What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)
<</SYS>>
SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = "10.9%" AND freight__metric_tonnes_ < 4 OFFSET 022[/INST] What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14345690_15 (series VARCHAR, main_presenter VARCHAR)
<</SYS>>
SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline Flack"[/INST] What series have Caroline Flack as a main presenter?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (catalog VARCHAR, country VARCHAR)
<</SYS>>
SELECT catalog FROM table_name_9 WHERE country = "united kingdom"[/INST] What catalog has the United Kingdom as the country?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 5[/INST] What is the average silver medals a team that has 1 gold and more than 5 bronze has?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)
<</SYS>>
SELECT airport FROM table_name_77 WHERE country = "vietnam"[/INST] What airport is in Vietnam?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (type VARCHAR, issued VARCHAR)
<</SYS>>
SELECT type FROM table_name_1 WHERE issued = 1964[/INST] What type was issued in 1964?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (year VARCHAR, group VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_45 WHERE group = "method fest independent film festival"[/INST] What is the total number of Years that has the Group, Method Fest Independent Film Festival?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MAX(crowd) FROM table_name_10 WHERE away_team = "north melbourne"[/INST] What is the highest crowd with north melbourne as away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (field_goals INTEGER, touchdowns VARCHAR)
<</SYS>>
SELECT MIN(field_goals) FROM table_name_84 WHERE touchdowns = 3[/INST] What is the lowest number of field goals for a player with 3 touchdowns?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_40 WHERE tie_no = "11"[/INST] What is the home team when the tie is 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (round VARCHAR, event VARCHAR)
<</SYS>>
SELECT round FROM table_name_84 WHERE event = "strikeforce: shamrock vs. diaz"[/INST] How many rounds did Brett go for the Strikeforce: Shamrock vs. Diaz match?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20963074_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
<</SYS>>
SELECT film_title_used_in_nomination FROM table_20963074_1 WHERE original_title = "La boca del lobo"[/INST] Name the film title for la boca del lobo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25800134_11 (director VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT director FROM table_25800134_11 WHERE series__number = 422[/INST] Who directed series # 422?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR)
<</SYS>>
SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"[/INST] What is the lowest Height (m) on the island of Burray?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)
<</SYS>>
SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"[/INST] What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24466191_1 (poles VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(poles) FROM table_24466191_1 WHERE position = "15th"[/INST] Name the number of poles for 15th position</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11677100_12 (player VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT COUNT(player) FROM table_11677100_12 WHERE hometown = "Pennsauken, NJ"[/INST] How many players have the hometown Pennsauken, NJ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (event VARCHAR, result VARCHAR)
<</SYS>>
SELECT event FROM table_name_82 WHERE result = "7th (5-6)"[/INST] What event has the result of 7th (5-6)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342149_18 (party VARCHAR, result VARCHAR, district VARCHAR)
<</SYS>>
SELECT party FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 6"[/INST] What party's candidate was re-elected in the Louisiana 6 district?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER)
<</SYS>>
SELECT home_team FROM table_name_70 WHERE crowd > 25 OFFSET 000[/INST] What was the home team for the game with more than 25,000 crowd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
<</SYS>>
SELECT competition FROM table_name_64 WHERE score = "58-4"[/INST] Which competition ended with a score of 58-4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_72 WHERE venue = "windy hill"[/INST] What is the away team for the game at Windy Hill?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (results¹ VARCHAR, city VARCHAR)
<</SYS>>
SELECT results¹ FROM table_name_70 WHERE city = "belgrade"[/INST] What's the result of the game played in Belgrade?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.3"[/INST] When fm 97.3 is the frequency how many formats are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341586_43 (candidates VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964[/INST] Name the candidates in 1964</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (rating INTEGER, episode VARCHAR, rank__night_ VARCHAR, rank__timeslot_ VARCHAR)
<</SYS>>
SELECT MIN(rating) FROM table_name_27 WHERE rank__night_ < 7 AND rank__timeslot_ < 5 AND episode > 6[/INST] What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)
<</SYS>>
SELECT first FROM table_name_30 WHERE dob = "5 february 1979"[/INST] Which first was born on 5 february 1979?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR)
<</SYS>>
SELECT score FROM table_name_78 WHERE place = "2"[/INST] What score has 2 as the place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21326205_2 (winner VARCHAR, time__gmt_ VARCHAR)
<</SYS>>
SELECT winner FROM table_21326205_2 WHERE time__gmt_ = "18:54"[/INST] Which ralliers won the stages that were at 18:54 GMT?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR)
<</SYS>>
SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone"[/INST] what's the song title with artbeingt being pat boone</s>
|
<s>[INST] <<SYS>>
CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR)
<</SYS>>
SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and gas"[/INST] Show the headquarters that have both companies in banking industry and companies in oil and gas industry.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR)
<</SYS>>
SELECT date FROM table_name_65 WHERE save = "aguilera (5)"[/INST] What was the date when the game had a save by Aguilera (5)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_79 WHERE country = "new zealand"[/INST] What is the To par of the New Zealand Player?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR)
<</SYS>>
SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5"[/INST] Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "august 12"[/INST] How many attended the game on August 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (reign INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(reign) FROM table_name_66 WHERE date = "march 10, 2007"[/INST] What's the highest reign on march 10, 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (place INTEGER, points INTEGER)
<</SYS>>
SELECT AVG(place) FROM table_name_77 WHERE points < 1[/INST] What is the place when less than 1 point is scored?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"[/INST] Which game did New Jersey Devils played in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)
<</SYS>>
SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671[/INST] Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2182654_3 (no_in_series VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT COUNT(no_in_series) FROM table_2182654_3 WHERE directed_by = "Alan Taylor"[/INST] How many episodes in the series were directed by Alan Taylor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (date VARCHAR, label VARCHAR)
<</SYS>>
SELECT date FROM table_name_66 WHERE label = "wrongun"[/INST] What date was the release that was Wrongun as the label?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19722664_5 (blocks INTEGER, rebounds VARCHAR)
<</SYS>>
SELECT MAX(blocks) FROM table_19722664_5 WHERE rebounds = 35[/INST] What is the maximum number of blocks where rebounds equal 35?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (laps INTEGER, rider VARCHAR, grid VARCHAR)
<</SYS>>
SELECT MAX(laps) FROM table_name_54 WHERE rider = "russell holland" AND grid < 10[/INST] Which Laps have a Rider of russell holland, and a Grid smaller than 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR)
<</SYS>>
SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th"[/INST] Name the number of traditional chinese for album number 6th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (sport VARCHAR, year_of_award VARCHAR)
<</SYS>>
SELECT sport FROM table_name_92 WHERE year_of_award = 2011[/INST] In 2011 which sport had the year award?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_49 WHERE away_team = "hawthorn"[/INST] Which home team played against Hawthorn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (difference VARCHAR, position VARCHAR)
<</SYS>>
SELECT difference FROM table_name_53 WHERE position = 5[/INST] What is the goal Difference at Position 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT grid FROM table_name_8 WHERE time_retired = "suspension"[/INST] What was the grid for suspension time/retired?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (player VARCHAR, to_par VARCHAR, country VARCHAR)
<</SYS>>
SELECT player FROM table_name_7 WHERE to_par = "–2" AND country = "wales"[/INST] Which Player has a To par of –2, and a Country of wales?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18662026_1 (vault VARCHAR, rings VARCHAR)
<</SYS>>
SELECT COUNT(vault) FROM table_18662026_1 WHERE rings = "60.000"[/INST] If the rings number is 60.000, what is the number for the vault?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_49 WHERE ties = 1 AND poll_wins > 3[/INST] What are the number of losses that have Ties of 1 and 3 or more poll wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE staff (address_id VARCHAR, first_name VARCHAR); CREATE TABLE address (address VARCHAR, address_id VARCHAR)
<</SYS>>
SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE T1.first_name = 'Elsa'[/INST] Where does the staff member with the first name Elsa live?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27723228_7 (high_assists VARCHAR, score VARCHAR)
<</SYS>>
SELECT high_assists FROM table_27723228_7 WHERE score = "W 107–99 (OT)"[/INST] Name the high assists for w 107–99 (ot)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR)
<</SYS>>
SELECT team FROM table_name_74 WHERE points = "test driver"[/INST] Which team has the points category of test driver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR)
<</SYS>>
SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1"[/INST] Name the total number for 18-49 share being 18-49 being 3.1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_55 WHERE tie_no = "20"[/INST] Who were the away team in tie number 20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)
<</SYS>>
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"[/INST] What was the manner of leaving the team for the manager of Gostaresh Foolad?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (total VARCHAR, set_3 VARCHAR)
<</SYS>>
SELECT total FROM table_name_80 WHERE set_3 = "25–14"[/INST] What was the total when the set 3 was 25–14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (a_score VARCHAR, nation VARCHAR, t_score VARCHAR)
<</SYS>>
SELECT COUNT(a_score) FROM table_name_63 WHERE nation = "japan" AND t_score > 4[/INST] What was the total number of A scores for Japan when the T score was more than 4?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.