Budget Database for Fun, Part 2
Here is a short continuation of my previous post on a “budget app” database structure. Based on my desired features from the last post, I’ve got some views for displaying net worth and one for displaying the categories with the budgets. /*Ths is simply the current net worth. Not so useful*/ CREATE OR ALTER VIEW dbo.NetWorthDisplay AS SELECT IIF( GROUPING( AD.AccountTypeGroup ) = 1, 'Net Worth', AD.AccountTypeGroup ) AS AccountTypeGroup, SUM( AD....