?
2012-01-02 23:13:23 UTC
CREATE TABLE Noob (ProductName text null, Rating1 int null, Rating2 int null, AvgRating int null);
INSERT INTO Noob (Hi, 9.3, 8.0, ?)
INSERT INTO Noob (Ho, 8.4, 7.0, ?)
INSERT INTO Noob (Ha, 9.0, 6.0, ?)
Is it possible to put something in place of the "?" so that that last column is the average of the two columns before it? Or is this not possible since the data does not yet exist or something?
What would be the best possible way to do this so that I could just use "select * from Noob" to show the table I want(averages and all)?