Hi there,
I am new to mysql.
My DB has a table named tbl1 of 5 number-type fields : num1,num2,num3,num4,num5
my sql Query is as the following:
SELECT
num1,
num2,
num1+num2 AS num3,
(num3+10)*2 AS num4,
num4 / 100 AS num5,
ID
FROM tbl1
the problem is that the fields num4 and num5 return zero.WHat is wrong with my query? Please help.