you cannot use the column alias within the same level of query. Use the base column name insteadselect fld1, floor(fld2) As [7???],-- [] must be for Unicode object namefloor(fld3) As [8???],floor(fld2) + floor(fld3) As [??????] -- to get sum-column of 2 columnsfrom tbl
or used a derived tableselect fld1, [7???], [8???], [7???]+[8???] As [??????] -- to get sum-column of 2 columnsfrom( select fld1, floor(fld2) As [7???],-- [] must be for Unicode object name floor(fld3) As [8???] from tbl) As d
KH[spoiler]Time is always against us[/spoiler]