output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT sport FROM table_name_76 WHERE city = "huntsville" AND venue = "von braun center" AND league = "southern indoor football league"
CREATE TABLE table_name_76 (sport VARCHAR, league VARCHAR, city VARCHAR, venue VARCHAR), Which sport was held in Huntsville at the Von Braun Center as part of the Southern Indoor Football League?
SELECT venue FROM table_name_85 WHERE league = "gridiron development football league"
CREATE TABLE table_name_85 (venue VARCHAR, league VARCHAR), Which venue hosted the Gridiron Development Football League?
SELECT venue FROM table_name_68 WHERE club = "dixie derby girls"
CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR), Which venue hosted the Dixie Derby Girls?
SELECT city FROM table_name_96 WHERE club = "huntsville stars"
CREATE TABLE table_name_96 (city VARCHAR, club VARCHAR), Which city has a club called the Huntsville Stars?
SELECT type FROM table_name_49 WHERE title = "so alive"
CREATE TABLE table_name_49 (type VARCHAR, title VARCHAR), which Type has a Title of so alive?
SELECT year FROM table_name_15 WHERE label = "atco records" AND type = "album"
CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, type VARCHAR), Name the Year which has a Label of atco records and a Type of album? Question 2
SELECT title FROM table_name_73 WHERE type = "album" AND year > 1986
CREATE TABLE table_name_73 (title VARCHAR, type VARCHAR, year VARCHAR), Which Title has a Type of album and a Year larger than 1986?
SELECT title FROM table_name_83 WHERE type = "ep" AND year > 2003
CREATE TABLE table_name_83 (title VARCHAR, type VARCHAR, year VARCHAR), Which Title has a Type of ep and a Year larger than 2003?
SELECT title FROM table_name_34 WHERE type = "album" AND year = 1983
CREATE TABLE table_name_34 (title VARCHAR, type VARCHAR, year VARCHAR), Which Title has a Type of album in 1983?
SELECT date FROM table_name_23 WHERE attendance = "20,874"
CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR), What was the date of the game with an attendance of 20,874 fans?
SELECT record FROM table_name_66 WHERE opponent = "vs. calgary stampeders" AND week < 15
CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR, week VARCHAR), What was the record the the match against vs. calgary stampeders before week 15?
SELECT status FROM table_name_31 WHERE artist = "neil sedaka"
CREATE TABLE table_name_31 (status VARCHAR, artist VARCHAR), What is the status when the artist is Neil Sedaka?
SELECT theme FROM table_name_59 WHERE week = "top 11"
CREATE TABLE table_name_59 (theme VARCHAR, week VARCHAR), What was the theme for the Top 11 week?
SELECT week FROM table_name_41 WHERE status = "bottom 2" AND artist = "celine dion"
CREATE TABLE table_name_41 (week VARCHAR, status VARCHAR, artist VARCHAR), What week did the contestant finish in the bottom 2 with a Celine Dion song?
SELECT order_sung FROM table_name_43 WHERE artist = "richard marx"
CREATE TABLE table_name_43 (order_sung VARCHAR, artist VARCHAR), What order was the performance of a Richard Marx song?
SELECT artist FROM table_name_89 WHERE theme = "billboard #1"
CREATE TABLE table_name_89 (artist VARCHAR, theme VARCHAR), What artist's song was performed in the week with theme of Billboard #1?
SELECT headquarter FROM table_name_49 WHERE type = "independent online news portal"
CREATE TABLE table_name_49 (headquarter VARCHAR, type VARCHAR), What is Headquarter, when Type is Independent Online News Portal?
SELECT status FROM table_name_24 WHERE newspaper_magazine = "al-thawra"
CREATE TABLE table_name_24 (status VARCHAR, newspaper_magazine VARCHAR), What is Status, when Newspaper/Magazine is Al-Thawra?
SELECT headquarter FROM table_name_4 WHERE newspaper_magazine = "al-ayyam"
CREATE TABLE table_name_4 (headquarter VARCHAR, newspaper_magazine VARCHAR), What is Headquarter, when Newspaper/Magazine is Al-Ayyam?
SELECT type FROM table_name_97 WHERE newspaper_magazine = "telecoms & it magazine"
CREATE TABLE table_name_97 (type VARCHAR, newspaper_magazine VARCHAR), What is Type, when Newspaper/Magazine is Telecoms & It Magazine?
SELECT headquarter FROM table_name_89 WHERE language = "english" AND type = "independent online news portal"
CREATE TABLE table_name_89 (headquarter VARCHAR, language VARCHAR, type VARCHAR), What is Headquarter, when Language is English, and when Type is Independent Online News Portal?
SELECT headquarter FROM table_name_11 WHERE type = "government-owned" AND newspaper_magazine = "al-jumhuriya"
CREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR), What is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya?
SELECT COUNT(population) FROM table_name_59 WHERE official_name = "saint-paul" AND area_km_2 > 228.65
CREATE TABLE table_name_59 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR), For Saint-Paul parish, if it has an area of over 228.65 kilometers how many people live there?
SELECT Box AS score FROM table_name_20 WHERE score = "86-96"
CREATE TABLE table_name_20 (Box VARCHAR, score VARCHAR), What was the box score during a game that had a score of 86-96?
SELECT report FROM table_name_43 WHERE venue = "state sports centre"
CREATE TABLE table_name_43 (report VARCHAR, venue VARCHAR), What was the report at State Sports Centre?
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre"
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR), Who was the home team at Gold Coast Convention Centre?
SELECT date FROM table_name_21 WHERE away_team = "gold coast blaze"
CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR), What was the date that featured a game against Gold Coast Blaze?
SELECT Box AS score FROM table_name_39 WHERE home_team = "adelaide 36ers"
CREATE TABLE table_name_39 (Box VARCHAR, home_team VARCHAR), What was the box score during a home game of the Adelaide 36ers?
SELECT COUNT(pick) FROM table_name_86 WHERE overall < 304 AND position = "g" AND round < 11
CREATE TABLE table_name_86 (pick VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR), How many Picks have an Overall smaller than 304, and a Position of g, and a Round smaller than 11?
SELECT MAX(overall) FROM table_name_31 WHERE name = "raleigh mckenzie" AND pick > 10
CREATE TABLE table_name_31 (overall INTEGER, name VARCHAR, pick VARCHAR), Which Overall is the highest one that has a Name of raleigh mckenzie, and a Pick larger than 10?
SELECT COUNT(pick) FROM table_name_51 WHERE college = "hawaii" AND overall < 122
CREATE TABLE table_name_51 (pick VARCHAR, college VARCHAR, overall VARCHAR), How many Picks have a College of hawaii, and an Overall smaller than 122?
SELECT MAX(round) FROM table_name_7 WHERE pick < 10 AND name = "tory nixon"
CREATE TABLE table_name_7 (round INTEGER, pick VARCHAR, name VARCHAR), Which Round is the highest one that has a Pick smaller than 10, and a Name of tory nixon?
SELECT ofsted FROM table_name_83 WHERE capacity = 1677
CREATE TABLE table_name_83 (ofsted VARCHAR, capacity VARCHAR), Which Ofsted has a Capacity of 1677?
SELECT MIN(ofsted) FROM table_name_63 WHERE school = "marple hall school" AND capacity > 1711
CREATE TABLE table_name_63 (ofsted INTEGER, school VARCHAR, capacity VARCHAR), Which Ofsted has a School of marple hall school, and a Capacity larger than 1711?
SELECT school FROM table_name_65 WHERE ages = "11-16" AND ofsted < 106142 AND capacity = 1206
CREATE TABLE table_name_65 (school VARCHAR, capacity VARCHAR, ages VARCHAR, ofsted VARCHAR), Which School has Ages of 11-16, and an Ofsted smaller than 106142, and a Capacity of 1206?
SELECT MAX(capacity) FROM table_name_54 WHERE locality = "heaton chapel"
CREATE TABLE table_name_54 (capacity INTEGER, locality VARCHAR), What is heaton chapel's capacity?
SELECT school FROM table_name_89 WHERE capacity > 730 AND ofsted < 106135 AND locality = "heaton mersey"
CREATE TABLE table_name_89 (school VARCHAR, locality VARCHAR, capacity VARCHAR, ofsted VARCHAR), Which School has a Capacity larger than 730, and an Ofsted smaller than 106135, and a Locality of heaton mersey?
SELECT MIN(game) FROM table_name_66 WHERE date = "march 21"
CREATE TABLE table_name_66 (game INTEGER, date VARCHAR), What is the lowest Game, when Date is March 21?
SELECT team FROM table_name_90 WHERE game = 77
CREATE TABLE table_name_90 (team VARCHAR, game VARCHAR), What is Team, when Game is 77?
SELECT team FROM table_name_21 WHERE game = 73
CREATE TABLE table_name_21 (team VARCHAR, game VARCHAR), What is Team, when Game is 73?
SELECT location FROM table_name_68 WHERE type = "surveying"
CREATE TABLE table_name_68 (location VARCHAR, type VARCHAR), What location has surveying as the type?
SELECT AVG(wheels) FROM table_name_71 WHERE type = "accounting" AND location = "ibm collection"
CREATE TABLE table_name_71 (wheels INTEGER, type VARCHAR, location VARCHAR), What average wheels has accounting as the type, with IBM Collection as the location?
SELECT configuration FROM table_name_25 WHERE country = "france" AND type = "accounting" AND wheels > 6
CREATE TABLE table_name_25 (configuration VARCHAR, wheels VARCHAR, country VARCHAR, type VARCHAR), What is the configuration for the country France, with accounting as the type, and wheels greater than 6?
SELECT nfl_team FROM table_name_23 WHERE pick__number < 200 AND player = "travis davis"
CREATE TABLE table_name_23 (nfl_team VARCHAR, pick__number VARCHAR, player VARCHAR), Which NFL team has a pick# less than 200 for Travis Davis?
SELECT player FROM table_name_94 WHERE position = "running back" AND college = "san jose state"
CREATE TABLE table_name_94 (player VARCHAR, position VARCHAR, college VARCHAR), Which player was a running back from San Jose State?
SELECT pick__number FROM table_name_23 WHERE college = "south dakota"
CREATE TABLE table_name_23 (pick__number VARCHAR, college VARCHAR), What is the pick# from South Dakota college?
SELECT college FROM table_name_30 WHERE position = "nose tackle"
CREATE TABLE table_name_30 (college VARCHAR, position VARCHAR), Which college has a nose tackle position?
SELECT home_or_away FROM table_name_25 WHERE shirt_number > 18
CREATE TABLE table_name_25 (home_or_away VARCHAR, shirt_number INTEGER), Can you tell me the Home or the Away that has the Shirt Number larger than 18?
SELECT score FROM table_name_62 WHERE result = "win" AND date = "13 november 2009"
CREATE TABLE table_name_62 (score VARCHAR, result VARCHAR, date VARCHAR), Can you tell me the Score that has the Result of win, and the Date of 13 november 2009?
SELECT MIN(cap_number) FROM table_name_96 WHERE date = "8 february 2009" AND shirt_number > 19
CREATE TABLE table_name_96 (cap_number INTEGER, date VARCHAR, shirt_number VARCHAR), Can you tell me the lowest Cap Number that has the Date of 8 february 2009, and the Shirt Number larger than 19?
SELECT AVG(points) FROM table_name_98 WHERE position > 6 AND lost < 13
CREATE TABLE table_name_98 (points INTEGER, position VARCHAR, lost VARCHAR), Which Points have a Position larger than 6, and a Lost smaller than 13?
SELECT SUM(drawn) FROM table_name_46 WHERE lost = 2 AND played < 14
CREATE TABLE table_name_46 (drawn INTEGER, lost VARCHAR, played VARCHAR), How much Drawn has a Lost of 2, and Played smaller than 14?
SELECT MAX(points) FROM table_name_91 WHERE drawn < 2 AND name = "esc holzkirchen" AND played < 14
CREATE TABLE table_name_91 (points INTEGER, played VARCHAR, drawn VARCHAR, name VARCHAR), Which Points is the highest one that has a Drawn smaller than 2, and a Name of esc holzkirchen, and Played smaller than 14?
SELECT MIN(lost) FROM table_name_79 WHERE name = "esc holzkirchen" AND played < 14
CREATE TABLE table_name_79 (lost INTEGER, name VARCHAR, played VARCHAR), Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?
SELECT MIN(episode__number) FROM table_name_89 WHERE rating / SHARE(18 AS –49) = 0.9 / 4 AND viewers__millions_ > 3.79
CREATE TABLE table_name_89 (episode__number INTEGER, viewers__millions_ VARCHAR, rating VARCHAR), What is the lowest numbered episode that had a rating/share of 0.9/4 and more than 3.79 million viewers?
SELECT AVG(viewers__millions_) FROM table_name_28 WHERE episode__number < 11 AND share = "4"
CREATE TABLE table_name_28 (viewers__millions_ INTEGER, episode__number VARCHAR, share VARCHAR), What is the average number of million viewers that watched an episode before episode 11 with a share of 4?
SELECT rating / SHARE(18 AS –49) FROM table_name_72 WHERE episode__number = 13
CREATE TABLE table_name_72 (rating VARCHAR, episode__number VARCHAR), What is the rating/share for episode 13?
SELECT MIN(viewers__millions_) FROM table_name_74 WHERE rating / SHARE(18 AS –49) = 1.1 / 3 AND episode__number < 5
CREATE TABLE table_name_74 (viewers__millions_ INTEGER, episode__number VARCHAR, rating VARCHAR), What is the lowest number of million viewers for an episode before episode 5 with a rating/share of 1.1/3?
SELECT years_of_nba_experience_[a_] FROM table_name_28 WHERE pos = "g" AND team = "portland trail blazers"
CREATE TABLE table_name_28 (years_of_nba_experience_ VARCHAR, a_ VARCHAR, pos VARCHAR, team VARCHAR), How many years of NBA experience does the player who plays position g for the Portland Trail Blazers?
SELECT player FROM table_name_89 WHERE team = "buffalo braves" AND previous_team = "los angeles lakers" AND career_with_the_franchise_[b_] = "1970"
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, previous_team VARCHAR, career_with_the_franchise_ VARCHAR, b_ VARCHAR), Who is the player from the Buffalo Braves with the previous team Los Angeles Lakers and a career with the franchase in 1970?
SELECT player FROM table_name_23 WHERE years_of_nba_experience_[a_] = 7
CREATE TABLE table_name_23 (player VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR), Who is the player with 7 years of NBA experience?
SELECT COUNT(total) FROM table_name_10 WHERE regular_season = 1063 AND playoffs > 119
CREATE TABLE table_name_10 (total VARCHAR, regular_season VARCHAR, playoffs VARCHAR), how may times is regular season 1063 and playoffs more than 119?
SELECT years FROM table_name_51 WHERE playoffs = 115
CREATE TABLE table_name_51 (years VARCHAR, playoffs VARCHAR), what is the years when playoffs is 115?
SELECT competition FROM table_name_38 WHERE score = "2–0"
CREATE TABLE table_name_38 (competition VARCHAR, score VARCHAR), What Competition had a Score of 2–0?
SELECT score FROM table_name_47 WHERE venue = "gelora sriwijaya stadium"
CREATE TABLE table_name_47 (score VARCHAR, venue VARCHAR), What was the Score in Gelora Sriwijaya Stadium?
SELECT venue FROM table_name_6 WHERE result = "2–2 (d)"
CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR), What is the Venue of the Competition with a Result of 2–2 (d)?
SELECT result FROM table_name_95 WHERE score = "4–0" AND venue = "mbpj stadium"
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR, venue VARCHAR), What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?
SELECT venue FROM table_name_36 WHERE result = "2–2 (d)"
CREATE TABLE table_name_36 (venue VARCHAR, result VARCHAR), What is the Venue of the Competition with a Result of 2–2 (d)?
SELECT competition FROM table_name_60 WHERE result = "2–0 (w)" AND venue = "shah alam stadium"
CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR, venue VARCHAR), What Competition in Shah Alam Stadium have a Result of 2–0 (w)?
SELECT SUM(avg_g) FROM table_name_71 WHERE long = 93 AND loss < 249
CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR), Which Avg/G has a Long of 93, and a Loss smaller than 249?
SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839
CREATE TABLE table_name_93 (avg_g INTEGER, gain VARCHAR), Which Avg/G has a Gain of 1,839?
SELECT SUM(avg_g) FROM table_name_59 WHERE name = "josh freeman" AND loss < 134
CREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR), Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?
SELECT COUNT(gain) FROM table_name_77 WHERE long = 29 AND avg_g < 33.7
CREATE TABLE table_name_77 (gain VARCHAR, long VARCHAR, avg_g VARCHAR), How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
SELECT MAX(long) FROM table_name_22 WHERE loss > 3 AND gain > 2 OFFSET 894
CREATE TABLE table_name_22 (long INTEGER, loss VARCHAR, gain VARCHAR), Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894?
SELECT AVG(round) FROM table_name_18 WHERE nationality = "united states" AND position = "rw"
CREATE TABLE table_name_18 (round INTEGER, nationality VARCHAR, position VARCHAR), What is the average round of the rw position player from the United States?
SELECT college_junior_team FROM table_name_35 WHERE pick < 44 AND player = "tyler myers"
CREATE TABLE table_name_35 (college_junior_team VARCHAR, pick VARCHAR, player VARCHAR), What is the college/junior team of player tyler myers, who has a pick less than 44?
SELECT nationality FROM table_name_2 WHERE pick < 104 AND player = "corey fienhage"
CREATE TABLE table_name_2 (nationality VARCHAR, pick VARCHAR, player VARCHAR), What is the nationality of player corey fienhage, who has a pick less than 104?
SELECT SUM(pick) FROM table_name_25 WHERE position = "lw"
CREATE TABLE table_name_25 (pick INTEGER, position VARCHAR), What is the sum of the pick of the lw position player?
SELECT record FROM table_name_50 WHERE week = 2
CREATE TABLE table_name_50 (record VARCHAR, week VARCHAR), What is the Record in Week 2?
SELECT date FROM table_name_96 WHERE result = "w 23–17"
CREATE TABLE table_name_96 (date VARCHAR, result VARCHAR), WHEN has a Result of w 23–17?
SELECT date FROM table_name_94 WHERE opponent = "miami dolphins"
CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR), WHEN has a Opponent of miami dolphins?
SELECT 2009 FROM table_name_40 WHERE ranking = "webometrics"
CREATE TABLE table_name_40 (ranking VARCHAR), What was the 2009 ranking for Webometrics?
SELECT MIN(rank) FROM table_name_53 WHERE rebounds < 130 AND team = "partizan igokea"
CREATE TABLE table_name_53 (rank INTEGER, rebounds VARCHAR, team VARCHAR), What rank is Partizan Igokea that has less than 130 rebounds?
SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = "ol"
CREATE TABLE table_name_22 (college VARCHAR, pick__number VARCHAR, position VARCHAR), Which College has a Pick # larger than 30, and a Position of ol?
SELECT MAX(pick__number) FROM table_name_45 WHERE college = "concordia"
CREATE TABLE table_name_45 (pick__number INTEGER, college VARCHAR), Which Pick # has a College of concordia?
SELECT cfl_team FROM table_name_73 WHERE pick__number > 31
CREATE TABLE table_name_73 (cfl_team VARCHAR, pick__number INTEGER), Which CFL Team has a Pick # larger than 31?
SELECT MAX(pick__number) FROM table_name_39 WHERE college = "buffalo"
CREATE TABLE table_name_39 (pick__number INTEGER, college VARCHAR), What is buffalo's pick #?
SELECT college FROM table_name_64 WHERE position = "ol" AND pick__number < 32
CREATE TABLE table_name_64 (college VARCHAR, position VARCHAR, pick__number VARCHAR), Which College has a Position of ol, and a Pick # smaller than 32?
SELECT team FROM table_name_15 WHERE previous_team = "indiana pacers"
CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR), What is the team of the player who was previously on the indiana pacers?
SELECT previous_team FROM table_name_12 WHERE nba_years_[a_] = "4" AND pick < 16
CREATE TABLE table_name_12 (previous_team VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR), What is the previous team of the player with 4 NBA years and a pick less than 16?
SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers"
CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR), How many NBA years did the player from the United States who was previously on the los angeles lakers have?
SELECT tournament FROM table_name_75 WHERE winner = "nadal" AND "nadal" = 16
CREATE TABLE table_name_75 (tournament VARCHAR, winner VARCHAR), What tournament did Nadal win and had a nadal of 16?
SELECT MAX(nadal) FROM table_name_55 WHERE round = "final" AND tournament = "miami"
CREATE TABLE table_name_55 (nadal INTEGER, round VARCHAR, tournament VARCHAR), What was the nadal in Miami in the final round?
SELECT sets FROM table_name_95 WHERE nadal = 13 AND federer = 6
CREATE TABLE table_name_95 (sets VARCHAR, nadal VARCHAR, federer VARCHAR), What were the sets when Federer had 6 and a nadal of 13?
SELECT college FROM table_name_31 WHERE overall = 9
CREATE TABLE table_name_31 (college VARCHAR, overall VARCHAR), Which college had an overall pick of 9?
SELECT source_of_wealth FROM table_name_51 WHERE value = "Β£5726m"
CREATE TABLE table_name_51 (source_of_wealth VARCHAR, value VARCHAR), What source of wealth has a value of Β£5726m?
SELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = "1-0"
CREATE TABLE table_name_98 (game INTEGER, opponents VARCHAR, record VARCHAR), What is the highest Game, when Opponents is less than 80, and when Record is "1-0"?
SELECT result FROM table_name_70 WHERE date = "december 12"
CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR), What is Result, when Date is "December 12"?
SELECT streak FROM table_name_12 WHERE heat_points = 101 AND game = 16
CREATE TABLE table_name_12 (streak VARCHAR, heat_points VARCHAR, game VARCHAR), What is Streak, when Heat Points is "101", and when Game is "16"?
SELECT heat_points FROM table_name_11 WHERE game < 80 AND date = "april 26 (first round)"
CREATE TABLE table_name_11 (heat_points VARCHAR, game VARCHAR, date VARCHAR), What is Heat Points, when Game is less than 80, and when Date is "April 26 (First Round)"?