Can I add two columns in a table to retrieve a third column.
AN example:
I want to set up a hockey website. In the Statistics column, I want to have games played, goals, assists, points, and points per game.
Column 1 (GP)= I will input
Column 2 (G)= I will input
Column 3 (A) = I will input
Column 4 (PTS)= I want mySQL to add column 2 and 3 (sum them)
Column 5 (PPG) = I want mySQL to divide column 1 and column 4.
I am new to mySQL but I know Microsoft Excel and this is very doable. Can someone please give me the commands I would input for this particular table.
Thank you very much.