UPDATE bestall SET view = t1.v, rawview = t1.rv
FROM bestall INNER JOIN beststat as t1
ON bestall.bestid = t1.bestid
esta consulta da error de sintaxis cercaError de sintaxis "near FROM" cuando se usa UPDATE con JOIN en MySQL?
'FROM bestall INNER JOIN beststat as t1 ON bestall.bestid = t1.bestid' at line 3
ninguna razón?
maldito SQL Server! ahora funciona. – dynamic
@ yes123 Lo siento, acabo de hacer algunas actualizaciones. Copié mi respuesta de un comentario sobre una de sus preguntas hace un momento, pero esta era una consulta diferente. –
tiene el punto de todos modos ... el problema es que la otra consulta todavía tiene errores de sintaxis http://stackoverflow.com/questions/10261977/table -table-table-with-select-from-another-but-with-a -field-being-sumsomefield – dynamic