output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers"
CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR), Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
SELECT institution FROM table_name_85 WHERE enrollment < 1 OFFSET 000
CREATE TABLE table_name_85 (institution VARCHAR, enrollment INTEGER), Which college's enrollment is less than 1,000?
SELECT date FROM table_name_19 WHERE away_team = "essendon"
CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR), On what date does Essendon play as the away team?
SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 18
CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER), What team with a Game smaller than 18 has the lowest Goal Gain?
SELECT nationality FROM table_name_55 WHERE school_country = "baylor"
CREATE TABLE table_name_55 (nationality VARCHAR, school_country VARCHAR), What was the nationality of every player that attended Baylor?
SELECT away_team FROM table_name_6 WHERE venue = "punt road oval"
CREATE TABLE table_name_6 (away_team VARCHAR, venue VARCHAR), Which team was the away team when the game was at punt road oval?
SELECT away_team AS score FROM table_name_38 WHERE home_team = "fitzroy"
CREATE TABLE table_name_38 (away_team VARCHAR, home_team VARCHAR), What was the score for the away team when the home team was Fitzroy?
SELECT date FROM table_name_77 WHERE away_team = "south melbourne"
CREATE TABLE table_name_77 (date VARCHAR, away_team VARCHAR), What was the date of the game when the away team was south melbourne?
SELECT glendale FROM table_name_87 WHERE pasadena = "14%"
CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR), What is the percentage of Glendale when Pasadena is 14%?
SELECT tujunga FROM table_name_37 WHERE pasadena = "33%"
CREATE TABLE table_name_37 (tujunga VARCHAR, pasadena VARCHAR), What is the percentage of Tujunja when Pasadena is 33%?
SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%"
CREATE TABLE table_name_33 (tujunga VARCHAR, la_crescenta__montrose VARCHAR), What is the percentage of Tukunga when La Crescenta-Montrose is 28%?
SELECT pasadena FROM table_name_11 WHERE tujunga = "36"
CREATE TABLE table_name_11 (pasadena VARCHAR, tujunga VARCHAR), What is the figure for Pasadena when Tujunga is 36?
SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%"
CREATE TABLE table_name_20 (glendale VARCHAR, la_cañada_flintridge VARCHAR), What is the percentage of Glendale when La Canada Flintridge is 5%?
SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112"
CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR), What is the figure for La Crescenta-Montrose when Gelndale is $57,112?
SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0"
CREATE TABLE table_name_39 (conv VARCHAR, pens VARCHAR, tries VARCHAR), How many conversions had 0 pens and 0 tries?
SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau"
CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR), How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?
SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg"
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR), What is the home team's score at mcg?
SELECT date FROM table_name_33 WHERE venue = "western oval"
CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR), What day is the venue the western oval?
SELECT bullet_diameter FROM table_name_22 WHERE name = "11.4mm werndl m/73"
CREATE TABLE table_name_22 (bullet_diameter VARCHAR, name VARCHAR), Which Bullet diameter has a Name of 11.4mm werndl m/73?
SELECT case_length FROM table_name_90 WHERE rim_diameter = "13.20 (.518)"
CREATE TABLE table_name_90 (case_length VARCHAR, rim_diameter VARCHAR), Which Case length has a Rim diameter of 13.20 (.518)?
SELECT bullet_diameter FROM table_name_32 WHERE neck_diameter = "12.17 (.479)"
CREATE TABLE table_name_32 (bullet_diameter VARCHAR, neck_diameter VARCHAR), Which Bullet diameter has a Neck diameter of 12.17 (.479)?
SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)"
CREATE TABLE table_name_27 (rim_diameter VARCHAR, neck_diameter VARCHAR), Which Rim diameter has a Neck diameter of 11.84 (.466)?
SELECT case_type FROM table_name_57 WHERE cartridge_length = "64.77 (2.550)"
CREATE TABLE table_name_57 (case_type VARCHAR, cartridge_length VARCHAR), Which Case type has a Cartridge length of 64.77 (2.550)?
SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)"
CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR), Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)?
SELECT date FROM table_name_56 WHERE attendance = "37,500"
CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR), What day had 37,500 attending?
SELECT date FROM table_name_77 WHERE game_site = "candlestick park"
CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR), What day did they play at candlestick park?
SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy"
CREATE TABLE table_name_96 (crowd VARCHAR, away_team VARCHAR), What is the crowd size of the game when Fitzroy is the away team?
SELECT venue FROM table_name_27 WHERE away_team = "geelong"
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR), What is the venue when Geelong is the away team?
SELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = "beverly heights" AND change___percentage_ > -5.2
CREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR), How many Dwellings does Beverly Heights have that have a change percent larger than -5.2?
SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_ > 12924
CREATE TABLE table_name_95 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR), What is the density of an area that is 1.38km and has a population more than 12924?
SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604
CREATE TABLE table_name_75 (week INTEGER, attendance INTEGER), What is the average week number of all the matches where less than 22,604 people attended?
SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10
CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR), What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season?
SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne"
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR), What is the average crowd size when North Melbourne is the away team?
SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn"
CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR), What is the average crowd to watch Hawthorn as the away team?
SELECT away_team FROM table_name_92 WHERE home_team = "footscray"
CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR), What away team played Footscray?
SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon"
CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR), What was the size of the largest crowd that Essendon played in front of as the away team?
SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval"
CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR), What was the average crowd at Western Oval?
SELECT SUM(crowd) FROM table_name_74 WHERE home_team = "north melbourne"
CREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR), What is the sum of all the crowds that watched North Melbourne at home?
SELECT crowd FROM table_name_18 WHERE venue = "victoria park"
CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR), What was the crowd size at Victoria Park?
SELECT winning_score FROM table_name_82 WHERE margin_of_victory = "9 strokes"
CREATE TABLE table_name_82 (winning_score VARCHAR, margin_of_victory VARCHAR), What was the winning score when there were 9 strokes advantage?
SELECT margin_of_victory FROM table_name_56 WHERE date = "apr 23, 1967"
CREATE TABLE table_name_56 (margin_of_victory VARCHAR, date VARCHAR), What was the margin of victory on Apr 23, 1967?
SELECT make FROM table_name_32 WHERE driver = "brian vickers"
CREATE TABLE table_name_32 (make VARCHAR, driver VARCHAR), What make of car did Brian Vickers drive?
SELECT AVG(car__number) FROM table_name_12 WHERE points = "109"
CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR), What is the average car number of all the drivers with 109 points?
SELECT AVG(car__number) FROM table_name_21 WHERE winnings = "$111,683"
CREATE TABLE table_name_21 (car__number INTEGER, winnings VARCHAR), What is the average car number of all the drivers who have won $111,683?
SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon"
CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR), How many people were in the crowd when Essendon was the home team?
SELECT home_team FROM table_name_16 WHERE away_team = "geelong"
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR), Which home team competed against the away team Geelong?
SELECT SUM(crowd) FROM table_name_32 WHERE venue = "mcg"
CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR), How many people were present in a total of every crowd at the MCG venue?
SELECT home_team AS score FROM table_name_71 WHERE home_team = "essendon"
CREATE TABLE table_name_71 (home_team VARCHAR), What was the score for the home team of Essendon?
SELECT SUM(crowd) FROM table_name_35 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_35 (crowd INTEGER, venue VARCHAR), What is the sum of all crowds present at the Glenferrie Oval venue?
SELECT party FROM table_name_28 WHERE mayor = "achille variati"
CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR), What party was achille variati afilliated with?
SELECT SUM(inhabitants) FROM table_name_57 WHERE party = "five star movement" AND election < 2012
CREATE TABLE table_name_57 (inhabitants INTEGER, party VARCHAR, election VARCHAR), In the election earlier than 2012 how many Inhabitants had a Party of five star movement?
SELECT COUNT(inhabitants) FROM table_name_3 WHERE party = "democratic party" AND mayor = "stefano cimatti" AND election < 2009
CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR), How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti?
SELECT time FROM table_name_76 WHERE speed = "96.76mph"
CREATE TABLE table_name_76 (time VARCHAR, speed VARCHAR), At 96.76mph speed, what is the Time?
SELECT rider FROM table_name_92 WHERE time = "1:06.02.0"
CREATE TABLE table_name_92 (rider VARCHAR, time VARCHAR), Which Rider has a 1:06.02.0 Time?
SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell"
CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR), How many Ranks have ray pickrell as a Rider?
SELECT MAX(crowd) FROM table_name_49 WHERE away_team = "hawthorn"
CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR), What is the largest crowd when the away team is Hawthorn?
SELECT date FROM table_name_45 WHERE away_team = "carlton"
CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR), What date was the game when the away team was carlton?
SELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000
CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER), What is the score of the away team when the crowd was larger than 8,000?
SELECT away_team FROM table_name_53 WHERE venue = "corio oval"
CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR), What was the away team when the game was at corio oval?
SELECT location FROM table_name_61 WHERE year = 2007
CREATE TABLE table_name_61 (location VARCHAR, year VARCHAR), What is the location in 2007?
SELECT date FROM table_name_21 WHERE theme = "fate or fortune"
CREATE TABLE table_name_21 (date VARCHAR, theme VARCHAR), What date has a theme of fate or fortune?
SELECT MIN(year) FROM table_name_74 WHERE location = "gelredome, arnhem" AND anthem = "technoboy - next dimensional world"
CREATE TABLE table_name_74 (year INTEGER, location VARCHAR, anthem VARCHAR), What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world?
SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial"
CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR), What Sweet Sixteen team is in the Colonial conference?
SELECT date FROM table_name_76 WHERE label = "spunk"
CREATE TABLE table_name_76 (date VARCHAR, label VARCHAR), What date is associated with the Spunk label?
SELECT label FROM table_name_2 WHERE catalog = "chem036cd"
CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR), What label has a catalog of chem036cd?
SELECT label FROM table_name_86 WHERE region = "united kingdom" AND catalog = "chem036"
CREATE TABLE table_name_86 (label VARCHAR, region VARCHAR, catalog VARCHAR), What label is associated with the United Kingdom and the chem036 catalog?
SELECT COUNT(crowd) FROM table_name_68 WHERE away_team = "essendon"
CREATE TABLE table_name_68 (crowd VARCHAR, away_team VARCHAR), What is the listed crowd when essendon is the away squad?
SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000
CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER), What venue featured a crowd of over 30,000?
SELECT crowd FROM table_name_28 WHERE venue = "junction oval"
CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR), What was the listed crowd at junction oval?
SELECT date FROM table_name_97 WHERE event = "1500 m freestyle"
CREATE TABLE table_name_97 (date VARCHAR, event VARCHAR), What date was the 1500 m freestyle competition?
SELECT location FROM table_name_3 WHERE meet = "2008 championships" AND time = "7:56.90"
CREATE TABLE table_name_3 (location VARCHAR, meet VARCHAR, time VARCHAR), Where were the 2008 championships with a time of 7:56.90 held?
SELECT home_team AS score FROM table_name_22 WHERE home_team = "footscray"
CREATE TABLE table_name_22 (home_team VARCHAR), What is the home team score for Footscray?
SELECT home_team FROM table_name_9 WHERE venue = "western oval"
CREATE TABLE table_name_9 (home_team VARCHAR, venue VARCHAR), What home team played at western oval?
SELECT result FROM table_name_48 WHERE week = 4
CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR), What was the score of the Browns week 4 game?
SELECT year FROM table_name_89 WHERE slogan = "the wild side of soccer!"
CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR), What year has the wild side of soccer! as the slogan?
SELECT lner_1946_no FROM table_name_20 WHERE year = "1892" AND lner_no = "7347–7356"
CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR), Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356?
SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24"
CREATE TABLE table_name_88 (lner_1946_no VARCHAR, order_no VARCHAR), What is order S24's LNER 1946 number?
SELECT away_team FROM table_name_85 WHERE venue = "corio oval"
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR), Who is the away side at corio oval?
SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne"
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR), Who is the home team when melbourne is the away team?
SELECT venue FROM table_name_80 WHERE away_team = "fitzroy"
CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR), What is the venue when fitzroy was the away team?
SELECT date FROM table_name_51 WHERE venue = "punt road oval"
CREATE TABLE table_name_51 (date VARCHAR, venue VARCHAR), What day does the team play at punt road oval?
SELECT COUNT(week) FROM table_name_30 WHERE attendance > 84 OFFSET 816
CREATE TABLE table_name_30 (week VARCHAR, attendance INTEGER), How many weeks had an attendance larger than 84,816?
SELECT date FROM table_name_57 WHERE week = 4
CREATE TABLE table_name_57 (date VARCHAR, week VARCHAR), What is the date of week 4?
SELECT MIN(attendance) FROM table_name_52 WHERE date = "september 3, 1972"
CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR), What is the lowest attendance on September 3, 1972?
SELECT away_team FROM table_name_65 WHERE venue = "victoria park"
CREATE TABLE table_name_65 (away_team VARCHAR, venue VARCHAR), Who was the away team at the game at Victoria Park?
SELECT date FROM table_name_38 WHERE away_team = "footscray"
CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR), When was the game when Footscray was the away team?
SELECT MAX(laps) FROM table_name_41 WHERE points = "5"
CREATE TABLE table_name_41 (laps INTEGER, points VARCHAR), What is the highest number of laps for the driver with 5 points?
SELECT team FROM table_name_35 WHERE driver = "jan heylen"
CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR), What team does jan heylen race for?
SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991"
CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR), What was the result of the game after Week 13 on December 8, 1991?
SELECT opponent FROM table_name_43 WHERE week = 4
CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR), Who did the Patriots play in week 4?
SELECT result FROM table_name_37 WHERE date = "december 22, 1991"
CREATE TABLE table_name_37 (result VARCHAR, date VARCHAR), What was the result of the game on December 22, 1991?
SELECT MIN(silver) FROM table_name_99 WHERE rank > 8
CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER), What is the fewest number of silver medals a nation who ranked below 8 received?
SELECT MIN(place) FROM table_name_44 WHERE points > 1 AND machine = "bmw" AND time = "1:18.47.6"
CREATE TABLE table_name_44 (place INTEGER, time VARCHAR, points VARCHAR, machine VARCHAR), Which place has points larger than 1, a bmw machine, and a time of 1:18.47.6?
SELECT COUNT(laps) FROM table_name_53 WHERE make = "chevrolet" AND winnings = "$97,508"
CREATE TABLE table_name_53 (laps VARCHAR, make VARCHAR, winnings VARCHAR), How many total laps did the Chevrolet that won $97,508 make?
SELECT away_team FROM table_name_23 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_23 (away_team VARCHAR, venue VARCHAR), What away team played at Brunswick Street Oval?
SELECT AVG(attendance) FROM table_name_10 WHERE week > 16
CREATE TABLE table_name_10 (attendance INTEGER, week INTEGER), What is the average attendance after week 16?
SELECT COUNT(injured) FROM table_name_83 WHERE place = "east champaran, bihar" AND killed > 2
CREATE TABLE table_name_83 (injured VARCHAR, place VARCHAR, killed VARCHAR), How many people were injured in total in East Champaran, Bihar with more than 2 people killed?
SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8
CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR), What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed?
SELECT home_team FROM table_name_45 WHERE venue = "princes park"
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR), Which team plays home at Princes Park?
SELECT MAX(crowd) FROM table_name_58 WHERE away_team = "hawthorn"
CREATE TABLE table_name_58 (crowd INTEGER, away_team VARCHAR), Which match where Hawthorn was the away team had the largest crowd?