danarashad
Programmer
select fname,lname,ID,
(select sum(cast(pointsappr as INTEGER)) from proff p where D.ID=P.userid and p.show_name='1. College Course Graduate Level') as total
from Demographics d
order by ID
I am getting an error, when i run this, what am i doing wrong. if i take out the (cast as integer) it works, but i need to cast this as a number.
(select sum(cast(pointsappr as INTEGER)) from proff p where D.ID=P.userid and p.show_name='1. College Course Graduate Level') as total
from Demographics d
order by ID
I am getting an error, when i run this, what am i doing wrong. if i take out the (cast as integer) it works, but i need to cast this as a number.