Forum OpenACS Q&A: Response to SQL: Distinct Counting Help

Collapse
Posted by Don Baccus on
select count(*) from (select distinct user_id from page_view) foo;

PG at least requires the subselect alias (foo) ...