SELECT a.*, b.*, c.*, ((a.fl/10)*3.15*c.BeratJenis) AS one, pow(((a.od/10)+1.5)/2,2) AS two, pow((a.id/10)/2,2) AS three, (two-three) AS four, ((one*four)/1000) AS equals FROM tbl_sticker AS a LEFT JOIN tbl_daftar_item AS b ON a.KodeItem=b.KodeItem LEFT JOIN tbl_rho AS c ON a.KodeItem=c.KodeItem WHERE a.IDSticker='1234/18.12101-15';
SELECT a.*, b.*, c.*, ((a.fl/10)*3.15*c.BeratJenis) AS one, pow(((a.od/10)+1.5)/2,2) AS two, pow((a.id/10)/2,2) AS three FROM tbl_sticker AS a LEFT JOIN tbl_daftar_item AS b ON a.KodeItem=b.KodeItem LEFT JOIN tbl_rho AS c ON a.KodeItem=c.KodeItem WHERE a.IDSticker='1234/18.12101-15';ouughhh ! it so confusing!!