Is there a way to select the sum of a column and other columns at the same time in SQL?
Example:
SELECT sum(a) as car,b,c FROM toys
SELECT b, c, (SELECT sum(a) FROM toys) as 'car' FROM toys