Hey all... I'm very new to SQL and in search of a good source of information. These forums seem to be perfect from what I've seen.
Right now I'm in search of help on a problem. I have a table which lists sales (ID, Date, SaleAmt). From this table a View has been Created to sum all the sales for the ID (EmpID, Tot_Sales). What I'm trying to do is create a report to show the percentage of total sales each ID has. So it would be something like Tot_Sales/SUM(Tot_Sales), however, nothing I've tried thus far has worked. Can anybody please help with this?