C
Chase
My Query is to be expressed so that the data in one field
to be divided by data in another field and expressed as a
quotient in another field in my table. The SQL statement
is:
UPDATE DISTINCTROW CampbellSales_Yr2003_13Dec03,
CampbellSales_Yr2003_13Dec03 AS
CampbellSales_Yr2003_13Dec03_1,
CampbellSales_Yr2003_13Dec03 AS
CampbellSales_Yr2003_13Dec03_2 SET
CampbellSales_Yr2003_13Dec03.[$/sqft] = [saleprice]/
[sqft];
where the query is set up as below:
(column 1) (column 2) (column 3)
field: saleprice sqft
table: table name table name table name
update to [saleprice]/[sqft]
When the query is 'run', an error message is displayed:
Ambiguous field reference '[saleprice]'
What corrections need to be made to accomplish my
objective to display the quotient in the table?
Thanks.
to be divided by data in another field and expressed as a
quotient in another field in my table. The SQL statement
is:
UPDATE DISTINCTROW CampbellSales_Yr2003_13Dec03,
CampbellSales_Yr2003_13Dec03 AS
CampbellSales_Yr2003_13Dec03_1,
CampbellSales_Yr2003_13Dec03 AS
CampbellSales_Yr2003_13Dec03_2 SET
CampbellSales_Yr2003_13Dec03.[$/sqft] = [saleprice]/
[sqft];
where the query is set up as below:
(column 1) (column 2) (column 3)
field: saleprice sqft
table: table name table name table name
update to [saleprice]/[sqft]
When the query is 'run', an error message is displayed:
Ambiguous field reference '[saleprice]'
What corrections need to be made to accomplish my
objective to display the quotient in the table?
Thanks.