Support for SQL + views of summary data

Fix view definition
Capture the complete list of NDCs for concepts that have NDCs