Hi,
I am having trouble figuring out how to update values of many records in a table.
node (table)
nid
type
comment
node_revision (table)
nid
comment
I wanna do something like:
Code:
UPDATE node_revision SET node_revision.comment=2 WHERE node.nid = node_revision.nid AND node.type='ct_geography'
I mean `node_revision` table does not have 'type' column, but `node` table has it. How do I update `node_revision` based on `node` field?
Appreciated...