Here is a very basic look at my table. I have columns 1 and 2 and need to generate column 3. Column 3 is simply the total of the Number column for all Nam
Number
Nam
You can get it with a subselect:
SELECT Name, Number, Number * 100 / (select sum(Number) FROM MYTABLE) AS '% of total' FROM mytable