context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_name_22 (year INTEGER, result VARCHAR, extra VARCHAR, tournament VARCHAR, venue VARCHAR)
What is the average year that anna thompson had an 8th place result in team competition at the world cross country championships in st etienne, france with
SELECT AVG(year) FROM table_name_22 WHERE tournament = "world cross country championships" AND venue = "st etienne, france" AND extra = "team competition" AND result = "8th"
CREATE TABLE table_name_53 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR)
What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1?
SELECT AVG(partial_failures) FROM table_name_53 WHERE country = "russia" AND failures > 0 AND family = "angara" AND launches > 1
CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
SELECT AVG(loss) FROM table_name_80 WHERE last_5 = "4-1" AND streak = "w2" AND pa_per_game < 88.43
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)
what score has the opponent of tigers and a record of 78-64?
SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64"
CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, opponent VARCHAR)
What was the event for round 1 against Lance Wipf?
SELECT event FROM table_name_9 WHERE round = "1" AND opponent = "lance wipf"
CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)
What is the total number of Area (km²), when Population (2007) is 6,176?
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR)
Which Issue Date(s) has an Artist of men at work?
SELECT issue_date_s_ FROM table_name_32 WHERE artist = "men at work"
CREATE TABLE table_name_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR)
Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297?
SELECT date FROM table_name_1 WHERE week > 4 AND venue = "city stadium" AND attendance > 14 OFFSET 297
CREATE TABLE table_name_97 (pick__number VARCHAR, position VARCHAR, player VARCHAR)
What was the pick# for Lorenzo Freeman as defensive tackle?
SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman"
CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR)
What is the largest pick# for Greg Harris?
SELECT MAX(pick__number) FROM table_name_87 WHERE player = "greg harris"
CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
What is name of the country that speaks the largest number of languages?
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE table_name_26 (pick__number INTEGER, player VARCHAR)
What is the sum of pick# for Don Majkowski?3
SELECT SUM(pick__number) FROM table_name_26 WHERE player = "don majkowski"
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
What is Player, when Total is greater than 148, and when To Par is "12"?
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
CREATE TABLE table_name_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR)
Which First has a Uni # larger than 34, and Throws of r, and a Position of rhp, and a Surname of stockman?
SELECT first FROM table_name_12 WHERE uni_number > 34 AND throws = "r" AND position = "rhp" AND surname = "stockman"
CREATE TABLE table_name_23 (points_difference VARCHAR, played VARCHAR, points_for VARCHAR)
Which Points difference has Played of 32, and Points for of 840?
SELECT points_difference FROM table_name_23 WHERE played = "32" AND points_for = "840"
CREATE TABLE table_name_28 (electrics VARCHAR, engine VARCHAR, model_name VARCHAR)
Which Electrics has an Engine of 175cc, bhp (kw), and a Model Name of d10 sports & bushman?
SELECT electrics FROM table_name_28 WHERE engine = "175cc, bhp (kw)" AND model_name = "d10 sports & bushman"
CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR)
Which Color commentator has a Channel of fsn new england, and a Year of 2004-05?
SELECT color_commentator_s_ FROM table_name_41 WHERE channel = "fsn new england" AND year = "2004-05"
CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)
Which stadium has FC Seoul?
SELECT stadium FROM table_name_65 WHERE club = "fc seoul"
CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR)
On June 17 in Tiger stadium, what was the average home run?
SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 17"
CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR)
What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5?
SELECT score FROM table_name_48 WHERE home = "new york rangers" AND record = "8–27–5"
CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR)
which Oberliga Baden-Württemberg has a Season of 1991-92?
SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = "1991-92"
CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR)
which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85?
SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85"
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)
What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9?
SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = "purple sea urchin" AND divergence_from_human_lineage__mya_ < 742.9
CREATE TABLE table_name_3 (series VARCHAR, opponent VARCHAR, score VARCHAR)
Which Series has an Opponent of calgary flames, and a Score of 9–4?
SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–4"
CREATE TABLE table_name_68 (date VARCHAR, result VARCHAR, location VARCHAR, year VARCHAR, loser VARCHAR)
Which date had a year under 1988, loser of Philadelphia Eagles, location of Giants Stadium, and a result of 21-0?
SELECT date FROM table_name_68 WHERE year < 1988 AND loser = "philadelphia eagles" AND location = "giants stadium" AND result = "21-0"
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR)
What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's smaller than 10?
SELECT MAX(rank) FROM table_name_6 WHERE gold > 0 AND participants < 10
CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER)
What is the total number of Participants that has Silver that's smaller than 0?
SELECT SUM(participants) FROM table_name_38 WHERE silver < 0
CREATE TABLE table_name_22 (lead VARCHAR, skip VARCHAR)
Which lead has Kirsty Balfour as second?
SELECT lead FROM table_name_22 WHERE skip = "kirsty balfour"
CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR)
What is the date where the winner was Tom Kite (10)?
SELECT date FROM table_name_24 WHERE winner = "tom kite (10)"
CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time VARCHAR)
What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3?
SELECT SUM(laps) FROM table_name_86 WHERE manufacturer = "gilera" AND time = "40:19.910" AND grid > 3
CREATE TABLE table_name_66 (rank INTEGER, heat INTEGER)
what is the rank when the heat is more than 4?
SELECT SUM(rank) FROM table_name_66 WHERE heat > 4
CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR)
Which tie number had an away team of the Tranmere Rovers?
SELECT tie_no FROM table_name_36 WHERE away_team = "tranmere rovers"
CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR)
What is the series episode number with a segment of D, and having fluorescent tubes?
SELECT series_ep FROM table_name_22 WHERE segment_d = "fluorescent tubes"
CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR)
What is the born-died that has office of 13 September 1229 as the entered?
SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229"
CREATE TABLE table_name_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR)
Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?
SELECT blagojevich__d_ FROM table_name_5 WHERE source = "zogby/wsj" AND topinka__r_ = "33.2%"
CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR)
WHo is the Player got a Pick # smaller than 61, and a College of texas?
SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = "texas"
CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR)
What season had more than 12 contestants in which greydis gil won?
SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = "greydis gil"
CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR)
Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description?
SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)
When was the date of death for the person married to Charles II?
SELECT death FROM table_name_86 WHERE spouse = "charles ii"
CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR)
What is the lowest number of draws of the NTFA Div 2 Lilydale?
SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale"
CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)
What is the result after 1993 of the first four rounds?
SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four"
CREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR)
What is the largest area in Alaska with a population of 39 and rank over 19?
SELECT MAX(area__km_2__) FROM table_name_41 WHERE location = "alaska" AND population__2000_ = "39" AND rank > 19
CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR)
Who was the opponent before 1994 with bobby dye as the BSU head coach?
SELECT opponent FROM table_name_86 WHERE bsu_head_coach = "bobby dye" AND year < 1994
CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
What is the average round of the s position player from the college of Mississippi and has an overall less than 214?
SELECT AVG(round) FROM table_name_79 WHERE position = "s" AND college = "mississippi" AND overall < 214
CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR)
Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?
SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross"
CREATE TABLE table_name_71 (touchdowns VARCHAR, player VARCHAR, extra_points VARCHAR, position VARCHAR)
How many touchdowns are there when there were 0 extra points and Hal Weeks had left halfback?
SELECT touchdowns FROM table_name_71 WHERE extra_points = 0 AND position = "left halfback" AND player = "hal weeks"
CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR)
How many Total medals did the country with 16 Silver and less than 32 Bronze receive?
SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32
CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
What is the highest field goals when there were more than 1 touchdown and 0 extra points?
SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0
CREATE TABLE table_name_96 (episode INTEGER, original_airdate VARCHAR, season VARCHAR)
What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3?
SELECT AVG(episode) AS number FROM table_name_96 WHERE original_airdate = "march 21, 2010" AND season < 3
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)
What is the FCC info of the translator with an Irmo, South Carolina city license?
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"
CREATE TABLE table_name_5 (decision VARCHAR, series VARCHAR, visitor VARCHAR, score VARCHAR)
Which Decision has a Visitor of calgary, a Score of 2 – 1, and a Series of 4 – 3?
SELECT decision FROM table_name_5 WHERE visitor = "calgary" AND score = "2 – 1" AND series = "4 – 3"
CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR)
Which Decision has a Visitor of vancouver, and a Score of 5 – 4?
SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 – 4"
CREATE TABLE table_name_55 (race_4 VARCHAR, race_3 VARCHAR, race_2 VARCHAR)
What's the value for race 4 when race 3 is dns and race 2 is 27?
SELECT race_4 FROM table_name_55 WHERE race_3 = "dns" AND race_2 = "27"
CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR)
What is the highest total medals winter athlete Clara Hughes has?
SELECT MAX(total) FROM table_name_41 WHERE type = "winter" AND athlete = "clara hughes"
CREATE TABLE table_name_88 (place VARCHAR, money___$__ VARCHAR, player VARCHAR)
What is the place when the player is Bob Gilder and the money was $20,903?
SELECT place FROM table_name_88 WHERE money___$__ = "20,903" AND player = "bob gilder"
CREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)
When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?
SELECT started FROM table_name_23 WHERE country = "eng" AND loan_club = "sunderland" AND end_source = "south wales echo"
CREATE TABLE table_name_28 (loan_club VARCHAR, start_source VARCHAR, started VARCHAR)
what is the loan club with the start source is bbc sport and started on 9 february?
SELECT loan_club FROM table_name_28 WHERE start_source = "bbc sport" AND started = "9 february"
CREATE TABLE table_name_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR)
What is Owner, when Finished is less than 15, when Trainer is "Steve Asmussen", and when Horse is "Z Fortune"?
SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = "steve asmussen" AND horse = "z fortune"
CREATE TABLE table_name_33 (game VARCHAR, home_team VARCHAR, result VARCHAR)
Home Team of chicago bulls, and a Result of 81-83 (3-2) involved what game?
SELECT game FROM table_name_33 WHERE home_team = "chicago bulls" AND result = "81-83 (3-2)"
CREATE TABLE table_name_61 (draws VARCHAR, losses VARCHAR, points VARCHAR)
What is the number of draws for the team with more than 8 losses and 13 points?
SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13
CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR)
What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66?
SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"
CREATE TABLE table_name_22 (population INTEGER, rank VARCHAR, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR)
Which Population has an Altitude (mslm) larger than 98, and a Density (inhabitants/km 2) larger than 5869, and a Rank of 1st?
SELECT SUM(population) FROM table_name_22 WHERE altitude__mslm_ > 98 AND density__inhabitants_km_2__ > 5869 AND rank = "1st"
CREATE TABLE table_name_99 (population INTEGER, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)
Which Population is the highest one that has a Density (inhabitants/km 2) larger than 2805.8, and a Rank of 1st, and an Altitude (mslm) smaller than 122?
SELECT MAX(population) FROM table_name_99 WHERE density__inhabitants_km_2__ > 2805.8 AND rank = "1st" AND altitude__mslm_ < 122
CREATE TABLE table_name_20 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR, population VARCHAR)
Which Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869?
SELECT MAX(altitude__mslm_) FROM table_name_20 WHERE area__km_2__ < 13.01 AND population = 74536 AND density__inhabitants_km_2__ > 5869
CREATE TABLE table_name_47 (altitude__mslm_ INTEGER, city VARCHAR, population VARCHAR)
Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492?
SELECT MAX(altitude__mslm_) FROM table_name_47 WHERE city = "legnano" AND population > 59492
CREATE TABLE table_name_74 (goals_for INTEGER, goals_against VARCHAR, team VARCHAR, position VARCHAR, lost VARCHAR)
Which Goals For has a Position larger than 2, a Lost larger than 18, a Team of matlock town, and a Goals Against larger than 79?
SELECT MAX(goals_for) FROM table_name_74 WHERE position > 2 AND lost > 18 AND team = "matlock town" AND goals_against > 79
CREATE TABLE table_name_26 (round INTEGER, position VARCHAR)
What is the lowest round that a pick had a position of ls?
SELECT MIN(round) FROM table_name_26 WHERE position = "ls"
CREATE TABLE table_name_60 (spectators INTEGER, round VARCHAR)
What are the average spectators from the Group H Round?
SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"
CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)
Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score?
SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2"
CREATE TABLE table_name_53 (round VARCHAR, record VARCHAR, time VARCHAR, location VARCHAR)
What is the total number of Round(s), when Time is "N/A", when Location is "Alabama , United States", and when Record is "1-2-0"?
SELECT COUNT(round) FROM table_name_53 WHERE time = "n/a" AND location = "alabama , united states" AND record = "1-2-0"
CREATE TABLE table_name_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR)
Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984?
SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984
CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3?
SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND place = "t3" AND player = "ed furgol"
CREATE TABLE table_name_42 (share INTEGER, viewers__millions_ VARCHAR, rating VARCHAR, rank__timeslot_ VARCHAR)
What is the sum of share with a rating larger than 1.2, a 3 rank timeslot, and 6.07 million viewers?
SELECT SUM(share) FROM table_name_42 WHERE rating > 1.2 AND rank__timeslot_ = 3 AND viewers__millions_ = 6.07
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)
Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006"
CREATE TABLE table_name_52 (date VARCHAR, venue VARCHAR, competition VARCHAR, opponents VARCHAR)
Which Date has a Competition of pl group b, and Opponents of police, and a Venue of selayang municipal council stadium?
SELECT date FROM table_name_52 WHERE competition = "pl group b" AND opponents = "police" AND venue = "selayang municipal council stadium"
CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR)
What was the score of the game that had a loss of Chad Fox (3–3)?
SELECT score FROM table_name_68 WHERE loss = "chad fox (3–3)"
CREATE TABLE table_name_58 (railway VARCHAR, location VARCHAR, objectnumber VARCHAR)
Which Railway has a Location of shildon, and an ObjectNumber of 1975-7022?
SELECT railway FROM table_name_58 WHERE location = "shildon" AND objectnumber = "1975-7022"
CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?
SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" AND total > 4
CREATE TABLE table_name_99 (nominated_by_the_taoiseach INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR, administrative_panel VARCHAR)
What is the average nominated of the composition nominated by Taioseach with an Industrial and Commercial panel less than 9, an administrative panel greater than 0, a cultural and educational panel greater than 2, and a total less than 29?
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_99 WHERE industrial_and_commercial_panel < 9 AND administrative_panel > 0 AND cultural_and_educational_panel > 2 AND total < 29
CREATE TABLE table_name_36 (administrative_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
What is the average administrative panel of the composition nominated by Taoiseach 0 times with a total less than 4?
SELECT AVG(administrative_panel) FROM table_name_36 WHERE nominated_by_the_taoiseach = 0 AND total < 4
CREATE TABLE table_name_23 (record VARCHAR, time VARCHAR)
Which Record has a Time of n/a?
SELECT record FROM table_name_23 WHERE time = "n/a"
CREATE TABLE table_name_62 (agricultural_panel INTEGER, total VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)
What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4?
SELECT AVG(agricultural_panel) FROM table_name_62 WHERE labour_panel < 6 AND nominated_by_the_taoiseach > 0 AND total < 4
CREATE TABLE table_name_11 (nominated_by_the_taoiseach INTEGER, administrative_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
What is the highest number of nominations by Taoiseach of the composition with an administrative panel greater than 0 and an industrial and commercial panel less than 1?
SELECT MAX(nominated_by_the_taoiseach) FROM table_name_11 WHERE administrative_panel > 0 AND industrial_and_commercial_panel < 1
CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)
What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?
SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s"
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
what is the location when the circuit is lowood circuit and the race is lowood trophy?
SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"
CREATE TABLE table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR)
Home result of 1–0, and a Away result of 0–1 involves what club?
SELECT club FROM table_name_56 WHERE home_result = "1–0" AND away_result = "0–1"
CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR)
What city had tickets available since March 28, 2008 and went on sale on September 4, 2009?
SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009"
CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
What is the country named feeney with a bbc sport start source?
SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"
CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)
What is the highest rank for the boys swimming team in Albuquerque?
SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"
CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)
What capital has an S.Number under 7, and a Name of janapada of Punia?
SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = "punia"
CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?
SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev"
CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
What is the highest Pick that is wide receiver with overall of 29?
SELECT MAX(pick__number) FROM table_name_60 WHERE position = "wide receiver" AND overall = 29
CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)
What is the average Round for wide receiver r. jay soward and Overall smaller than 29?
SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29
CREATE TABLE table_name_85 (points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
Which Points is the lowest one that has Touchdowns smaller than 2, and an Extra points of 7, and a Field goals smaller than 0?
SELECT MIN(points) FROM table_name_85 WHERE touchdowns < 2 AND extra_points = 7 AND field_goals < 0
CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR)
When has a Korean name ² of 청명 (清明) cheongmyeong?
SELECT date_³ FROM table_name_88 WHERE korean_name_² = "청명 (清明) cheongmyeong"
CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR)
What is the fewest number of wins that had fewer than 7 draws and more than 30 played?
SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30
CREATE TABLE table_name_58 (attendance INTEGER, time VARCHAR, game VARCHAR)
What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
SELECT MIN(attendance) FROM table_name_58 WHERE time = "3:31" AND game < 7
CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR)
What was the sum of attendance for games with a time of 3:23?
SELECT SUM(attendance) FROM table_name_53 WHERE time = "3:23"
CREATE TABLE table_name_40 (erp_w INTEGER, call_sign VARCHAR)
How many ERP W is it that has a Call sign of w273bs?
SELECT SUM(erp_w) FROM table_name_40 WHERE call_sign = "w273bs"