SELECT tb1.nam, tb1.salry, tb1.dy_work, tb1.hor_dy, tb1.apsnt, tb1.lat, Round(Nz([salry]/[dy_work],2),"0") AS amo_per, Round(Nz([amo_per]/[hor_dy],2),"0") AS amo_hor, Round(Nz([amo_per]*[apsnt],2),"0") AS amo_apsnt, Round(Nz([amo_hor]*[lat],2),"0") AS amo_lat, Round([amo_apsnt]+[amo_lat],2) AS amo_ded, Round([salry]-[amo_ded],2) AS net_salry, tb1.tak, Round([net_salry]-[tak],2) AS amo_def
FROM tb1;
استخدم داله
nz