Hi there all,
I have a table account(acc#,balance...)
a table chequing(acc#,chqbal....)
i the balance attribute of account table is based on chqbal attribute.
say initial balance = 0 for acc# 1
say chqbal = 40
now say i wana update account so i say
update account set balance=balance+chequing.chqbal where acc#=1
here i get an error "CHQBALANCE" is not valid in the context where it is used.
can someone suggest me what am i supposed to do?
Thank You
I have a table account(acc#,balance...)
a table chequing(acc#,chqbal....)
i the balance attribute of account table is based on chqbal attribute.
say initial balance = 0 for acc# 1
say chqbal = 40
now say i wana update account so i say
update account set balance=balance+chequing.chqbal where acc#=1
here i get an error "CHQBALANCE" is not valid in the context where it is used.
can someone suggest me what am i supposed to do?
Thank You