Guest User

Untitled

a guest
Nov 24th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. UPDATE node
  2. JOIN (SELECT nid, max(vid) as vid FROM node_revision GROUP BY nid) as tv USING(nid)
  3. SET node.vid = tv.vid
  4. WHERE node.type = 'cours'
Add Comment
Please, Sign In to add comment