Suppose that I have a column named ‘$’ and in it I have different values, for example:
id|| $
======
1 || 50
======
2 || 54
======
3 || 76
======
How can i add the values of $? A query that would give me 50+54+76? The real table has around 20,000 rows.
Thanks!
I’m not sure $ is a valid column name though
UPDATE
Tested in PHPMyAdmin and I was able to name a column
$and perform aSUMon it. Something new learned!