instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
what year was michele assaf nominated
CREATE TABLE table_name_60 ( year VARCHAR, nominee VARCHAR )
SELECT year FROM table_name_60 WHERE nominee = "michele assaf"
Which school is located in the hometown of Centerville, Ohio?
CREATE TABLE table_11677691_9 ( school VARCHAR, hometown VARCHAR )
SELECT school FROM table_11677691_9 WHERE hometown = "Centerville, Ohio"
What is the most points when the goals against are 354 and games less than 82?
CREATE TABLE table_6919 ( "Season" text, "Games" real, "Lost" real, "Tied" real, "Points" real, "Goals for" real, "Goals against" real, "Coach" text )
SELECT MAX("Points") FROM table_6919 WHERE "Goals against" = '354' AND "Games" < '82'
Which Streak has a Record of 21 22?
CREATE TABLE table_12895 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Streak" text )
SELECT "Streak" FROM table_12895 WHERE "Record" = '21–22'
how many stadiums have a capacity of more than 70,000 ?
CREATE TABLE table_204_392 ( id number, "#" number, "stadium" text, "capacity" number, "city" text, "country" text, "domed or retractable roof" text )
SELECT COUNT("stadium") FROM table_204_392 WHERE "capacity" > 70000
Who is the player with a t8 place?
CREATE TABLE table_name_67 ( player VARCHAR, place VARCHAR )
SELECT player FROM table_name_67 WHERE place = "t8"
For each team, how many technicians are there, and sort from high to low by the y axis.
CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int )
SELECT Team, COUNT(*) FROM technician GROUP BY Team ORDER BY COUNT(*) DESC
Which player was previously on the New York Knicks?
CREATE TABLE table_name_24 ( player VARCHAR, previous_team VARCHAR )
SELECT player FROM table_name_24 WHERE previous_team = "new york knicks"
What is the sum of Gold, when Total is less than 1?
CREATE TABLE table_7750 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Gold") FROM table_7750 WHERE "Total" < '1'
Who was the winning team at Zandvoort?
CREATE TABLE table_60864 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text )
SELECT "Winning Team" FROM table_60864 WHERE "Circuit" = 'zandvoort'
Which station has a number less than 5 and an l stop?
CREATE TABLE table_name_43 ( station VARCHAR, number VARCHAR, stop VARCHAR )
SELECT station FROM table_name_43 WHERE number < 5 AND stop = "l"
what was the total population in 1801 ?
CREATE TABLE table_204_938 ( id number, "year" number, "edmonton\nhundred" number, "elthorne\nhundred" number, "gore\nhundred" number, "isleworth\nhundred" number, "ossulstone\nhundred\nholborn\ndivision" number, "ossulstone\nhundred\nfinsbury\ndivision" number, "ossulstone\nhundred\nkensington\ndivision" number, "ossulstone\nhundred\ntower\ndivision" number, "spelthorne\nhundred" number, "london city\nwithin\nthe walls" number, "london city\nwithout\nthe walls" number, "inns of court\nand\nchancery" number, "westminster\ncity and\nliberty" number, "total" number )
SELECT "total" FROM table_204_938 WHERE "year" = 1801
What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine?
CREATE TABLE table_32421 ( "Season" real, "Driver" text, "Team" text, "Engine" text, "Poles" real, "Wins" real, "Podiums" real, "Points" real, "Margin of defeat" real )
SELECT MAX("Season") FROM table_32421 WHERE "Engine" = 'ferrari' AND "Driver" = 'fernando alonso' AND "Podiums" > '13'
Which has a Score of 6 1, 3 0 ret.?
CREATE TABLE table_name_45 ( surface VARCHAR, score VARCHAR )
SELECT surface FROM table_name_45 WHERE score = "6–1, 3–0 ret."
Which venue had an against smaller than 7?
CREATE TABLE table_12963 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text )
SELECT "Venue" FROM table_12963 WHERE "Against" < '7'
Who was the away team in a tie no larger than 16 with forest green rovers at home?
CREATE TABLE table_78226 ( "Tie no" real, "Home team" text, "Score" text, "Away team" text, "Attendance" real )
SELECT "Away team" FROM table_78226 WHERE "Tie no" > '16' AND "Home team" = 'forest green rovers'
How many seats does the 6th Dail have?
CREATE TABLE table_38250 ( "Election" text, "D\u00e1il" text, "Share of votes" text, "Seats" real, "Government" text )
SELECT COUNT("Seats") FROM table_38250 WHERE "D\u00e1il" = '6th'
Give me a histogram for how old is each gender, on average?, rank in asc by the x-axis.
CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT )
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender
What chassis did Gordon Johncock use with his cosworth engine?
CREATE TABLE table_4606 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text )
SELECT "Chassis" FROM table_4606 WHERE "Engine" = 'cosworth' AND "Drivers" = 'gordon johncock'
which senior advisor is after pete rouse ?
CREATE TABLE table_204_598 ( id number, "name" text, "state of residence" text, "took office" text, "left office" text, "president served under" text )
SELECT "name" FROM table_204_598 WHERE "took office" > (SELECT "took office" FROM table_204_598 WHERE "name" = 'pete rouse') ORDER BY "took office" LIMIT 1
What year did she place 8th in the junior race?
CREATE TABLE table_name_9 ( year VARCHAR, event VARCHAR, position VARCHAR )
SELECT year FROM table_name_9 WHERE event = "junior race" AND position = "8th"
What are the manuals with a kind of r, and an opus of 144?
CREATE TABLE table_name_89 ( manuals VARCHAR, kind VARCHAR, opus VARCHAR )
SELECT manuals FROM table_name_89 WHERE kind = "r" AND opus = "144"
Return the address of customer 10.
CREATE TABLE customer_addresses ( address_id VARCHAR, customer_id VARCHAR ) CREATE TABLE addresses ( address_details VARCHAR, address_id VARCHAR )
SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id = T2.address_id WHERE T2.customer_id = 10
what is the date for the tournament jou -l s-tours?
CREATE TABLE table_13951 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Date" FROM table_13951 WHERE "Tournament" = 'joué-lès-tours'
Who was the driver in 1964?
CREATE TABLE table_name_83 ( driver VARCHAR, year VARCHAR )
SELECT driver FROM table_name_83 WHERE year = "1964"
What were the total Pints after 1957?
CREATE TABLE table_name_85 ( points INTEGER, year INTEGER )
SELECT SUM(points) FROM table_name_85 WHERE year > 1957
What is the implementation when the netflow version is v5, v8, v9, ipfix?
CREATE TABLE table_1206114_2 ( implementation VARCHAR, netflow_version VARCHAR )
SELECT implementation FROM table_1206114_2 WHERE netflow_version = "v5, v8, v9, IPFIX"
How many companies in each headquarter? Plot a bar chart, and I want to sort from low to high by the x-axis.
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text )
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY Headquarters
how many films did ms. starfelt produce after 2010 ?
CREATE TABLE table_204_323 ( id number, "year" number, "film" text, "function" text, "notes" text )
SELECT COUNT("film") FROM table_204_323 WHERE "year" > 2010
What is the 2011 Australian Open and a 2010 QF?
CREATE TABLE table_name_70 ( tournament VARCHAR )
SELECT 2011 FROM table_name_70 WHERE tournament = "australian open" AND 2010 = "qf"
What was the home team that played Collingwood?
CREATE TABLE table_name_73 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_73 WHERE away_team = "collingwood"
Name the most number of total votes for election for 1878
CREATE TABLE table_2160 ( "Election" text, "# of candidates nominated" real, "# of seats won" real, "# of total votes" real, "% of popular vote" text, "result" text )
SELECT MAX("# of total votes") FROM table_2160 WHERE "Election" = '1878'
What is High Rebounds, when High Assists is 'Delonte West (10)'?
CREATE TABLE table_name_86 ( high_rebounds VARCHAR, high_assists VARCHAR )
SELECT high_rebounds FROM table_name_86 WHERE high_assists = "delonte west (10)"
What divisions was in the year 1993?
CREATE TABLE table_name_93 ( division VARCHAR, year VARCHAR )
SELECT division FROM table_name_93 WHERE year = 1993
at most part , how many emission standards are equal to or less than 1.1 ?
CREATE TABLE table_204_909 ( id number, "pollutant" text, "units" text, "emission standard" number, "coal-fired" text, "petroleum coke-fired" text )
SELECT COUNT("emission standard") FROM table_204_909 WHERE "emission standard" = '≤ 1.1'
What lane has a time of 24.83 and a heat less than 11?
CREATE TABLE table_64943 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT SUM("Lane") FROM table_64943 WHERE "Time" = '24.83' AND "Heat" < '11'
What is the quantity made number for the quantity preserved 4-6-0 ooooo ten-wheeler?
CREATE TABLE table_13476 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Serial numbers" text, "Year made" text, "Quantity made" text, "Quantity preserved" text )
SELECT "Quantity made" FROM table_13476 WHERE "Quantity preserved" = '4-6-0 — ooooo — ten-wheeler'
What is the position of the player who is taller than 2.12?
CREATE TABLE table_name_30 ( position VARCHAR, height INTEGER )
SELECT position FROM table_name_30 WHERE height > 2.12
how many gold and silver medals in total did china receive ?
CREATE TABLE table_204_775 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "gold" + "silver" FROM table_204_775 WHERE "nation" = 'china'
What is the total number of goals for when the drawn is less than 7, less than 21 games have been lost, and there are 1 of 33 points?
CREATE TABLE table_78987 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT COUNT("Goals For") FROM table_78987 WHERE "Drawn" < '7' AND "Lost" < '21' AND "Points 1" = '33'
Name the opponent with score of 1 6, 6 4, 6 4
CREATE TABLE table_69265 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_69265 WHERE "Score" = '1–6, 6–4, 6–4'
Which Game has High assists of s. threatt (9)?
CREATE TABLE table_name_97 ( game INTEGER, high_assists VARCHAR )
SELECT MIN(game) FROM table_name_97 WHERE high_assists = "s. threatt (9)"
What is the qual for rank 18 in 1964?
CREATE TABLE table_name_44 ( qual VARCHAR, rank VARCHAR, year VARCHAR )
SELECT qual FROM table_name_44 WHERE rank = "18" AND year = "1964"
Name the Adelaide for Sydney of yes and Perth of yes
CREATE TABLE table_67953 ( "Sydney" text, "Melbourne" text, "Perth" text, "Adelaide" text, "Gold Coast" text, "Auckland" text )
SELECT "Adelaide" FROM table_67953 WHERE "Sydney" = 'yes' AND "Perth" = 'yes'
what country won the least amount of gold medals ?
CREATE TABLE table_203_707 ( id number, "rank" number, "npc" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "npc" FROM table_203_707 ORDER BY "gold" LIMIT 1
What tail number was on the an-26, with 25/25 fatalities?
CREATE TABLE table_42152 ( "Location" text, "Aircraft" text, "Tail number" text, "Aircraft damage" text, "Fatalities" text )
SELECT "Tail number" FROM table_42152 WHERE "Aircraft" = 'an-26' AND "Fatalities" = '25/25'
what is the laps when the driver is tony rolt and the grid is less than 10?
CREATE TABLE table_55433 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT SUM("Laps") FROM table_55433 WHERE "Driver" = 'tony rolt' AND "Grid" < '10'
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
CREATE TABLE table_name_68 ( runners INTEGER, jockey VARCHAR, placing VARCHAR )
SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1
Who won the womens singles when Marc Zwiebler won the men's singles?
CREATE TABLE table_17427 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text )
SELECT "Womens singles" FROM table_17427 WHERE "Mens singles" = 'Marc Zwiebler'
which of the teams had the top number of capacity ?
CREATE TABLE table_204_750 ( id number, "team" text, "stadium" text, "capacity" number, "seated" number )
SELECT "team" FROM table_204_750 ORDER BY "capacity" DESC LIMIT 1
What school has a team called the Pirates?
CREATE TABLE table_63670 ( "School" text, "City" text, "Team Name" text, "Enrollment 08-09" real, "IHSAA Class" text, "IHSAA Class Football" text, "County" text, "Year Joined (Or Joining)" real, "Previous Conference" text )
SELECT "School" FROM table_63670 WHERE "Team Name" = 'pirates'
What player was moving from manchester united?
CREATE TABLE table_name_78 ( name VARCHAR, moving_from VARCHAR )
SELECT name FROM table_name_78 WHERE moving_from = "manchester united"
What are the names of the cheapest products in each category along with the cheapest price in a bar chart?
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Name, MIN(Price) FROM Products GROUP BY Name
What is the score in the final of the tournament with a hard surface?
CREATE TABLE table_13706 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Score in the final" FROM table_13706 WHERE "Surface" = 'hard'
Which team had the attendance of 16,468 and lost?
CREATE TABLE table_69378 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text )
SELECT "Loss" FROM table_69378 WHERE "Attendance" = '16,468'
Which opponent has a time of 1:50?
CREATE TABLE table_name_79 ( opponent VARCHAR, time VARCHAR )
SELECT opponent FROM table_name_79 WHERE time = "1:50"
What number pick was the player for the Oakland Athletics who plays the 1B position?
CREATE TABLE table_15226 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text )
SELECT "Pick" FROM table_15226 WHERE "Position" = '1b' AND "Team" = 'oakland athletics'
which team had the largest goal difference ?
CREATE TABLE table_203_254 ( id number, "position" number, "team" text, "points" number, "played" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "difference" number )
SELECT "team" FROM table_203_254 ORDER BY ABS("difference") DESC LIMIT 1
What's the number of losses when the wins were more than 11 and had 0 draws?
CREATE TABLE table_name_35 ( losses VARCHAR, draws VARCHAR, wins VARCHAR )
SELECT COUNT(losses) FROM table_name_35 WHERE draws = 0 AND wins > 11
What year had the Finish of 12?
CREATE TABLE table_name_65 ( year VARCHAR, finish VARCHAR )
SELECT year FROM table_name_65 WHERE finish = "12"
How many players 89 points?
CREATE TABLE table_27553 ( "Player" text, "Games Played" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT COUNT("Blocks") FROM table_27553 WHERE "Points" = '89'
What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT?
CREATE TABLE table_name_81 ( digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR )
SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29
Which round did the bout that led to a 1-0 record end in?
CREATE TABLE table_64276 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Round" FROM table_64276 WHERE "Record" = '1-0'
Who did he fight in Rumble of the Kings 6?
CREATE TABLE table_4985 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Opponent" FROM table_4985 WHERE "Event" = 'rumble of the kings 6'
Which date has a Opponent of juan m naco, and a Score of 6 2, 4 6, 7 6 (7 3)?
CREATE TABLE table_name_60 ( date VARCHAR, opponent VARCHAR, score VARCHAR )
SELECT date FROM table_name_60 WHERE opponent = "juan mónaco" AND score = "6–2, 4–6, 7–6 (7–3)"
What date had a tie no of replay, and an away team of watford?
CREATE TABLE table_name_57 ( date VARCHAR, tie_no VARCHAR, away_team VARCHAR )
SELECT date FROM table_name_57 WHERE tie_no = "replay" AND away_team = "watford"
Which Japanese name has a Korean name of ( ) gyeongchip?
CREATE TABLE table_name_8 ( japanese_name VARCHAR, korean_name_² VARCHAR )
SELECT japanese_name FROM table_name_8 WHERE korean_name_² = "경칩 (驚蟄) gyeongchip"
How many points did ginger have when she was ranked 5th on a 350cc class bike?
CREATE TABLE table_name_73 ( points VARCHAR, class VARCHAR, rank VARCHAR )
SELECT COUNT(points) FROM table_name_73 WHERE class = "350cc" AND rank = "5th"
What is the end of reign for Dimitar Stojkovski?
CREATE TABLE table_42191 ( "Name" text, "Start of Reign" real, "End of Reign" text, "Birth Name" text, "Title" text )
SELECT "End of Reign" FROM table_42191 WHERE "Birth Name" = 'dimitar stojkovski'
How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?
CREATE TABLE table_65794 ( "Edition" text, "Year" text, "City" text, "Country" text, "Date" text, "No. of Events" real, "Top Team" text )
SELECT "No. of Events" FROM table_65794 WHERE "Country" = 'trinidad and tobago' AND "Date" = 'march 30-april 1'
Name the centennial for location
CREATE TABLE table_20448 ( "Information" text, "Akimel A-al The name is Tohono Oodham for children of the river" text, "Altade\u00f1a" text, "Aprende" text, "Centennial" text, "Kyrene MS" text, "del Pueblo" text )
SELECT "Centennial" FROM table_20448 WHERE "Information" = 'Location'
How many different services are provided by all stations?
CREATE TABLE station ( id number, network_name text, services text, local_authority text ) CREATE TABLE train ( id number, train_number number, name text, origin text, destination text, time text, interval text ) CREATE TABLE weekly_weather ( station_id number, day_of_week text, high_temperature number, low_temperature number, precipitation number, wind_speed_mph number ) CREATE TABLE route ( train_id number, station_id number )
SELECT COUNT(DISTINCT services) FROM station
what h ii flight took place last ?
CREATE TABLE table_203_538 ( id number, "flight" text, "date" text, "payload nickname" text, "payload" text, "orbit" text, "result" text )
SELECT "flight" FROM table_203_538 ORDER BY "date" DESC LIMIT 1
What nurses are on call with block floor 1 and block code 1? Tell me their names.
CREATE TABLE on_call ( nurse VARCHAR, blockfloor VARCHAR, blockcode VARCHAR )
SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1
how many millions of north american viewers had the episode whose director was Michael Lembeck?
CREATE TABLE table_29792 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code(s)" real, "U.S. viewers (millions)" text )
SELECT "U.S. viewers (millions)" FROM table_29792 WHERE "Directed by" = 'Michael Lembeck'
What is the Writer with a Date that is january 1975?
CREATE TABLE table_40581 ( "Spoofed Title" text, "Actual Title" text, "Writer" text, "Artist" text, "Issue" real, "Date" text )
SELECT "Writer" FROM table_40581 WHERE "Date" = 'january 1975'
Name the word with pronunciation b of *s ks
CREATE TABLE table_name_55 ( word VARCHAR, pronunciation_b VARCHAR )
SELECT word FROM table_name_55 WHERE pronunciation_b = "*sɨks"
What is the name of the train numbered less than 6 before 1993?
CREATE TABLE table_52735 ( "Number" real, "Name" text, "Builder" text, "Type" text, "Date" real )
SELECT "Name" FROM table_52735 WHERE "Number" < '6' AND "Date" < '1993'
What is the venue of the team race that was after 2008?
CREATE TABLE table_50482 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text )
SELECT "Venue" FROM table_50482 WHERE "Year" > '2008' AND "Notes" = 'team'
Which address has 44 floors?
CREATE TABLE table_name_70 ( street_address VARCHAR, floors VARCHAR )
SELECT street_address FROM table_name_70 WHERE floors = 44
What was the result from the 2000 asian cup qualification?
CREATE TABLE table_name_58 ( result VARCHAR, competition VARCHAR )
SELECT result FROM table_name_58 WHERE competition = "2000 asian cup qualification"
What was the decision in Minnesota?
CREATE TABLE table_name_12 ( decision VARCHAR, home VARCHAR )
SELECT decision FROM table_name_12 WHERE home = "minnesota"
What was Olin Dutra's score?
CREATE TABLE table_name_88 ( score VARCHAR, player VARCHAR )
SELECT score FROM table_name_88 WHERE player = "olin dutra"
What nationality is Erin Donohue?
CREATE TABLE table_14199 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Nationality" FROM table_14199 WHERE "Name" = 'erin donohue'
Draw a scatter chart about the correlation between Team_ID and ACC_Percent , and group by attribute All_Games.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Games
What models have an a2 barrel profile?
CREATE TABLE table_12834315_5 ( name VARCHAR, barrel_profile VARCHAR )
SELECT name FROM table_12834315_5 WHERE barrel_profile = "A2"
Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6?
CREATE TABLE table_name_95 ( played INTEGER, position VARCHAR, drawn VARCHAR, team VARCHAR )
SELECT MAX(played) FROM table_name_95 WHERE drawn = 5 AND team = "palmeiras" AND position < 6
What is the lowest game number when the record was 26-24-9?
CREATE TABLE table_name_58 ( game INTEGER, record VARCHAR )
SELECT MIN(game) FROM table_name_58 WHERE record = "26-24-9"
Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?
CREATE TABLE table_name_32 ( pick__number INTEGER, name VARCHAR, round VARCHAR )
SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5
When John Mcenroe won at Montreal, what was the score?
CREATE TABLE table_12794 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text )
SELECT "Score" FROM table_12794 WHERE "Location" = 'montreal' AND "Champion" = 'john mcenroe'
What tournament had an opponent of Els Callens Nancy Feber?
CREATE TABLE table_name_95 ( tournament VARCHAR, opponents_in_the_final VARCHAR )
SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber"
What is the production code for episode 6 in the season?
CREATE TABLE table_22595 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Production code" FROM table_22595 WHERE "No. in season" = '6'
What is Date, when Location Attendance is 'TD Banknorth Garden 18,624'?
CREATE TABLE table_76590 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_76590 WHERE "Location Attendance" = 'td banknorth garden 18,624'
What poor law union is Curradonohoe a part of?
CREATE TABLE table_30120555_1 ( poor_law_union VARCHAR, townland VARCHAR )
SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe"
How many cars does Gregg Mixon own?
CREATE TABLE table_2182170_1 ( car_s_ VARCHAR, listed_owner_s_ VARCHAR )
SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon"
What is the venue for the Status of Five Nations and 0 againts?
CREATE TABLE table_name_38 ( venue VARCHAR, status VARCHAR, against VARCHAR )
SELECT venue FROM table_name_38 WHERE status = "five nations" AND against = 0
What is the total number of games played?
CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text )
SELECT SUM(gamesplayed) FROM sportsinfo
What time (cst) has and NFL recap of recap with october 19, 2008 as the date?
CREATE TABLE table_41823 ( "Week" real, "Date" text, "Time (CST)" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "NFL Recap" text )
SELECT "Time (CST)" FROM table_41823 WHERE "NFL Recap" = 'recap' AND "Date" = 'october 19, 2008'
What is the Lost with Against smaller than 25, and Played smaller than 1?
CREATE TABLE table_name_93 ( lost INTEGER, against VARCHAR, played VARCHAR )
SELECT AVG(lost) FROM table_name_93 WHERE against < 25 AND played < 1
What was the margin of victory for the Mississippi Gulf Resort Classic?
CREATE TABLE table_68002 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_68002 WHERE "Tournament" = 'mississippi gulf resort classic'