answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT AVG(games) FROM table_name_80 WHERE points = 6 AND lost < 2
|
CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR)
|
What is the average number of games associated with 6 points and under 2 losses?
|
SELECT MIN(points) FROM table_name_56 WHERE games > 5
|
CREATE TABLE table_name_56 (points INTEGER, games INTEGER)
|
What is the low point total when there are over 5 games?
|
SELECT share_of_votes FROM table_name_95 WHERE electors > 56 AND year > 1950
|
CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)
|
What was the share of votes when there were more than 56 electors and the year was more recent than 1950?
|
SELECT SUM(electors) FROM table_name_70 WHERE share_of_votes = "11,0%"
|
CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR)
|
What is the total of electors when the share of votes was 11,0%?
|
SELECT AVG(lost) FROM table_name_54 WHERE games > 7
|
CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)
|
Which Lost has Games larger than 7?
|
SELECT MAX(points) FROM table_name_81 WHERE lost < 1 AND games > 7
|
CREATE TABLE table_name_81 (points INTEGER, lost VARCHAR, games VARCHAR)
|
Which Points have a Lost smaller than 1, and Games larger than 7?
|
SELECT AVG(lost) FROM table_name_91 WHERE points > 13
|
CREATE TABLE table_name_91 (lost INTEGER, points INTEGER)
|
Which Lost has Points larger than 13?
|
SELECT AVG(points) FROM table_name_98 WHERE drawn > 1
|
CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER)
|
Which Points have a Drawn larger than 1?
|
SELECT diameter FROM table_name_28 WHERE year_of_issue = 1977
|
CREATE TABLE table_name_28 (diameter VARCHAR, year_of_issue VARCHAR)
|
Which Diameter has a Year of Issue of 1977?
|
SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = "1.42mm"
|
CREATE TABLE table_name_52 (year_of_issue INTEGER, thickness VARCHAR)
|
Which Year of Issue has a Thickness of 1.42mm?
|
SELECT diameter FROM table_name_93 WHERE thickness = "1.3mm"
|
CREATE TABLE table_name_93 (diameter VARCHAR, thickness VARCHAR)
|
Which Diameter has a Thickness of 1.3mm?
|
SELECT party FROM table_name_36 WHERE candidate = "grech louis grech"
|
CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)
|
Which party's candidate is Grech Louis Grech?
|
SELECT sport FROM table_name_17 WHERE site = "iowa city" AND date = "february 14, 2009"
|
CREATE TABLE table_name_17 (sport VARCHAR, site VARCHAR, date VARCHAR)
|
What is the sport played in Iowa City on February 14, 2009?
|
SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball"
|
CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
|
What is the series of the winning team in Iowa, for softball?
|
SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui"
|
CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)
|
What is the score of the match that was against alberto berasategui?
|
SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters"
|
CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR)
|
How many rebounds does Ann Wauters have?
|
SELECT name FROM table_name_56 WHERE games = 10
|
CREATE TABLE table_name_56 (name VARCHAR, games VARCHAR)
|
Who played 10 games?
|
SELECT COUNT(rebounds) FROM table_name_56 WHERE name = "ann wauters"
|
CREATE TABLE table_name_56 (rebounds VARCHAR, name VARCHAR)
|
What is the total number of rebounds values for Ann Wauters?
|
SELECT opponent FROM table_name_8 WHERE date = "september 25, 1966"
|
CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR)
|
Who did the Colts play against on September 25, 1966?
|
SELECT date FROM table_name_61 WHERE attendance = "40,005"
|
CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)
|
What is the date of the game with 40,005 in attendance?
|
SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county stadium"
|
CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR)
|
What is the lowest week number for the game that was at milwaukee county stadium?
|
SELECT result FROM table_name_49 WHERE week > 11 AND date = "december 13, 1964"
|
CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR)
|
After week 11, what was the Result on December 13, 1964?
|
SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 8
|
CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR)
|
After week 8, what was the Attendance on November 1, 1964?
|
SELECT alternate FROM table_name_19 WHERE second = "piotras gerasimovici"
|
CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR)
|
What is the alternate of the nation with Piotras Gerasimovici as the second?
|
SELECT alternate FROM table_name_97 WHERE second = "hubert grΓΌndhammer"
|
CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)
|
What is the alternate of the nation with hubert grΓΌndhammer as the second?
|
SELECT alternate FROM table_name_55 WHERE skip = "erkki lill"
|
CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR)
|
What is the alternate of the nation with Erkki Lill as the skip?
|
SELECT skip FROM table_name_74 WHERE alternate = "laurens van der windt"
|
CREATE TABLE table_name_74 (skip VARCHAR, alternate VARCHAR)
|
Who is the skip of the nation with Laurens van der Windt as the alternate?
|
SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo"
|
CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR)
|
Who is the lead of the nation with Juha Pekaristo as the alternate?
|
SELECT MAX(round) FROM table_name_24 WHERE position = "center"
|
CREATE TABLE table_name_24 (round INTEGER, position VARCHAR)
|
What is the highest round in which a player was picked for the Center position?
|
SELECT nationality FROM table_name_10 WHERE player = "john flatters"
|
CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR)
|
What is John Flatters' nationality?
|
SELECT position FROM table_name_67 WHERE player = "jeremy duchesne"
|
CREATE TABLE table_name_67 (position VARCHAR, player VARCHAR)
|
What is Jeremy Duchesne's position?
|
SELECT MIN(date) FROM table_name_51 WHERE attendance = "1,034"
|
CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR)
|
When was the attendance 1,034?
|
SELECT opponents FROM table_name_51 WHERE date = "26 october 1889"
|
CREATE TABLE table_name_51 (opponents VARCHAR, date VARCHAR)
|
what was the opponent on 26 october 1889?
|
SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131
|
CREATE TABLE table_name_80 (Id VARCHAR)
|
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]?
|
SELECT MAX(1950) FROM table_name_13 WHERE 1960 > 196 AND 1996[2] < 726 AND 1980 > 125 AND 1990 > 848
|
CREATE TABLE table_name_13 (Id VARCHAR)
|
1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?
|
SELECT MAX(1990) FROM table_name_94 WHERE 1980 < 719 AND 1960 < 205 AND 1996[2] < 364 AND 1970 > 251
|
CREATE TABLE table_name_94 (Id VARCHAR)
|
1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest?
|
SELECT SUM(1980) FROM table_name_6 WHERE 1996[2] > 68 AND 1990 < 352 AND 1970 > 105 AND 1950 = 119
|
CREATE TABLE table_name_6 (Id VARCHAR)
|
1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980?
|
SELECT SUM(1980) FROM table_name_89 WHERE 1996[2] = 127 AND 1990 < 120
|
CREATE TABLE table_name_89 (Id VARCHAR)
|
1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990?
|
SELECT opponent FROM table_name_60 WHERE result = "w 14β6"
|
CREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR)
|
Who was the opponent at the game with a result of w 14β6?
|
SELECT result FROM table_name_38 WHERE week < 8 AND record = "2β3β2"
|
CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR)
|
What was the result of the game with a record of 2β3β2 before week 8?
|
SELECT MIN(week) FROM table_name_78 WHERE game_site = "braves field" AND date = "october 2, 1932"
|
CREATE TABLE table_name_78 (week INTEGER, game_site VARCHAR, date VARCHAR)
|
What was the earliest week with a game at the Braves Field on October 2, 1932?
|
SELECT record FROM table_name_38 WHERE date = "november 13, 1932"
|
CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)
|
What was the record at the game on November 13, 1932?
|
SELECT role FROM table_name_18 WHERE actor = "kevin bishop"
|
CREATE TABLE table_name_18 (role VARCHAR, actor VARCHAR)
|
What role is Kevin Bishop the actor?
|
SELECT duration FROM table_name_47 WHERE actor = "mike walling"
|
CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR)
|
What is the duration for mike walling as the actor?
|
SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret"
|
CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR)
|
What is the duration that has 3 for appearances, and james garret as the character?
|
SELECT duration FROM table_name_36 WHERE actor = "nickolas grace"
|
CREATE TABLE table_name_36 (duration VARCHAR, actor VARCHAR)
|
What is the duration for nickolas grace as the actor?
|
SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34β14"
|
CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR)
|
Time ( ET ) of 1:00pm, and a Result of w 34β14 has what record?
|
SELECT location FROM table_name_29 WHERE date = "sun. oct. 1"
|
CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)
|
Date of sun. oct. 1 has what location?
|
SELECT result FROM table_name_83 WHERE record = "3β3"
|
CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR)
|
Record of 3β3 has what result?
|
SELECT time___et__ FROM table_name_65 WHERE date = "sun. oct. 29"
|
CREATE TABLE table_name_65 (time___et__ VARCHAR, date VARCHAR)
|
Date of sun. oct. 29 has what time (et)?
|
SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 2
|
CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)
|
How many games have more than 10 points and more than 2 draws?
|
SELECT SUM(lost) FROM table_name_86 WHERE points = 11 AND drawn > 1
|
CREATE TABLE table_name_86 (lost INTEGER, points VARCHAR, drawn VARCHAR)
|
What is the sum of losses that have points of 11 and more than 1 draw?
|
SELECT MAX(points) FROM table_name_67 WHERE drawn < 2 AND lost = 2
|
CREATE TABLE table_name_67 (points INTEGER, drawn VARCHAR, lost VARCHAR)
|
What is the greatest points value that have draws under 2 and 2 losses?
|
SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1
|
CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER)
|
How many losses have draw values under 1?
|
SELECT MIN(february) FROM table_name_32 WHERE points < 57
|
CREATE TABLE table_name_32 (february INTEGER, points INTEGER)
|
What's the lowest February for less than 57 points?
|
SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens"
|
CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR)
|
What's the February for the game against the Montreal Canadiens?
|
SELECT record FROM table_name_22 WHERE game = 58
|
CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR)
|
What's the record for Game 58?
|
SELECT winner FROM table_name_15 WHERE season = "2005β06"
|
CREATE TABLE table_name_15 (winner VARCHAR, season VARCHAR)
|
Which Winner has a Season of 2005β06?
|
SELECT runner_up FROM table_name_72 WHERE season = "2000β01"
|
CREATE TABLE table_name_72 (runner_up VARCHAR, season VARCHAR)
|
Which Runner-up played in the Season of 2000β01?
|
SELECT venue FROM table_name_88 WHERE season = "2010β11"
|
CREATE TABLE table_name_88 (venue VARCHAR, season VARCHAR)
|
What was the venue during the Season of 2010β11?
|
SELECT winner FROM table_name_13 WHERE runner_up = "larne" AND season = "2003β04"
|
CREATE TABLE table_name_13 (winner VARCHAR, runner_up VARCHAR, season VARCHAR)
|
Which Winner has a Runner-up of larne, and a Season of 2003β04?
|
SELECT winner FROM table_name_30 WHERE score = "1 β 0" AND season = "2011β12"
|
CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)
|
Which Winner has a Score of 1 β 0, and a Season of 2011β12?
|
SELECT position FROM table_name_78 WHERE name = "martin rucker"
|
CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR)
|
What position does Martin Rucker play?
|
SELECT MIN(round) FROM table_name_21 WHERE name = "paul hubbard"
|
CREATE TABLE table_name_21 (round INTEGER, name VARCHAR)
|
What was the lowest round for Paul Hubbard?
|
SELECT MIN(round) FROM table_name_94 WHERE position = "tight end"
|
CREATE TABLE table_name_94 (round INTEGER, position VARCHAR)
|
What was the lowest round for a tight end position?
|
SELECT years FROM table_name_5 WHERE ties > 31
|
CREATE TABLE table_name_5 (years VARCHAR, ties INTEGER)
|
What years did the person coach who had more than 31 ties?
|
SELECT AVG(wins) FROM table_name_70 WHERE losses < 174 AND years = "1951 to 1956" AND ties < 6
|
CREATE TABLE table_name_70 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)
|
What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?
|
SELECT coach FROM table_name_33 WHERE losses = 215
|
CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)
|
Who was the coach who had 215 losses?
|
SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses = 174
|
CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)
|
What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?
|
SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24
|
CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
|
What years did the person coach who had less than 82 wins and more than 24 losses?
|
SELECT AVG(points) FROM table_name_75 WHERE game > 25 AND opponent = "dallas stars"
|
CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)
|
Which Points have a Game larger than 25, and an Opponent of dallas stars?
|
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0β1 ot"
|
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
|
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0β1 ot?
|
SELECT opponent FROM table_name_56 WHERE game = 31
|
CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR)
|
Which Opponent has a Game of 31?
|
SELECT record FROM table_name_49 WHERE points < 40 AND game > 25 AND score = "2β0"
|
CREATE TABLE table_name_49 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR)
|
Which Record has Points smaller than 40, and a Game larger than 25, and a Score of 2β0?
|
SELECT performer_3 FROM table_name_82 WHERE episode = 9
|
CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)
|
Episode of 9 in which performer 3 had?
|
SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"
|
CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)
|
Date of 8 july 1994 involves which performer 1?
|
SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994"
|
CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR)
|
Date of 15 july 1994 involves which performer 3?
|
SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten"
|
CREATE TABLE table_name_40 (performer_3 VARCHAR, performer_2 VARCHAR)
|
Performer 2 of chip esten has what performer 3?
|
SELECT name FROM table_name_56 WHERE pennant_number = "f82"
|
CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR)
|
Which Name has a Pennant number of f82?
|
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"
|
CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR)
|
What is the Launched which is on 3 may 2001?
|
SELECT homeport__as_of_july_2013_ FROM table_name_73 WHERE laid_down = "14 december 1985"
|
CREATE TABLE table_name_73 (homeport__as_of_july_2013_ VARCHAR, laid_down VARCHAR)
|
What is the Homeport that has a Laid down on 14 december 1985?
|
SELECT launched FROM table_name_65 WHERE homeport__as_of_july_2013_ = "sold to chile" AND pennant_number = "f80"
|
CREATE TABLE table_name_65 (launched VARCHAR, homeport__as_of_july_2013_ VARCHAR, pennant_number VARCHAR)
|
What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?
|
SELECT player FROM table_name_60 WHERE events > 25
|
CREATE TABLE table_name_60 (player VARCHAR, events INTEGER)
|
Which player had more than 25 events?
|
SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji"
|
CREATE TABLE table_name_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR)
|
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?
|
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21
|
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)
|
What is the least amount of prize money when there are 21 events?
|
SELECT series_ep FROM table_name_45 WHERE netflix = "s04e21"
|
CREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR)
|
Which series episode has a netflix figure of s04e21?
|
SELECT segment_a FROM table_name_77 WHERE netflix = "s04e24"
|
CREATE TABLE table_name_77 (segment_a VARCHAR, netflix VARCHAR)
|
Which segment a's netflix figure is s04e24?
|
SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)"
|
CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR)
|
How many episodes have a segment d that is goalie masks (part 2)?
|
SELECT episode FROM table_name_67 WHERE segment_b = "s hacksaw"
|
CREATE TABLE table_name_67 (episode VARCHAR, segment_b VARCHAR)
|
Which episode's segment b is s hacksaw?
|
SELECT dob FROM table_name_47 WHERE surname = "dale" AND first = "lachlan"
|
CREATE TABLE table_name_47 (dob VARCHAR, surname VARCHAR, first VARCHAR)
|
When was Lachlan Dale born?
|
SELECT bats FROM table_name_12 WHERE position = "p" AND dob = "18 april 1984"
|
CREATE TABLE table_name_12 (bats VARCHAR, position VARCHAR, dob VARCHAR)
|
Which batter played P and was born 18 April 1984?
|
SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989"
|
CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
|
Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
|
SELECT position FROM table_name_59 WHERE throws = "r" AND dob = "12 february 1983"
|
CREATE TABLE table_name_59 (position VARCHAR, throws VARCHAR, dob VARCHAR)
|
Which Position has Throws of r, and a DOB of 12 february 1983?
|
SELECT throws FROM table_name_10 WHERE surname = "needle"
|
CREATE TABLE table_name_10 (throws VARCHAR, surname VARCHAR)
|
How many throws did Needle have?
|
SELECT dob FROM table_name_8 WHERE bats = "s" AND position = "inf"
|
CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR)
|
Which DOB has Bats of s, and a Position of inf?
|
SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia"
|
CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)
|
What is the Lap Length of the race with a Grand Prix Fia Category?
|
SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950"
|
CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR)
|
What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
|
SELECT record FROM table_name_62 WHERE time = "3:05"
|
CREATE TABLE table_name_62 (record VARCHAR, time VARCHAR)
|
What was his record when the match went for 3:05?
|
SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72"
|
CREATE TABLE table_name_62 (round INTEGER, event VARCHAR)
|
How many rounds did the match go for the Bellator 72 event?
|
SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5
|
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)
|
What is the sum of the live viewers for episodes with share over 5?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.