Skip to content

Commit

Permalink
iss153 added
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeehan16 committed Apr 14, 2014
1 parent d0ae5e3 commit ae4f384
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/benchmarks/edu/brown/benchmark/voter/voter-ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,17 @@ AS
FROM votes
GROUP BY contestant_number
, state
;
;

CREATE VIEW v_votes_by_contestant_number
(
contestant_number
, num_votes
)
AS
SELECT contestant_number
, COUNT(*)
FROM votes
GROUP BY contestant_number
;

0 comments on commit ae4f384

Please sign in to comment.