edwardturner
Technical User
Hi,
I am trying to update a certain field within a database table. This SQL statement correctly identifies the records i need to update:
(1)
select max(date) from table
group by IDfield
I cannot do:
update table
set field = 1
where ..
then use a sub select of the statement (1) above because I cannot match the records. Any ideas on how i can get round this?
I am trying to update a certain field within a database table. This SQL statement correctly identifies the records i need to update:
(1)
select max(date) from table
group by IDfield
I cannot do:
update table
set field = 1
where ..
then use a sub select of the statement (1) above because I cannot match the records. Any ideas on how i can get round this?