UPDATE playercareer c
INNER JOIN (
SELECT gameplayer, SUM(points) as total
FROM games
GROUP BY gameplayer
) x ON c.playercareername = x.gameplayer
SET c.playercareerpoints = x.total
UPDATE playercareer c
INNER JOIN (
SELECT gameplayer, SUM(points) as total
FROM games
GROUP BY gameplayer
) x ON c.playercareername = x.gameplayer
SET c.playercareerpoints = x.total
Restauration complète d'un cluster MySQL ou MariaDB Galera à partir d'une sauvegarde
Comment afficher le contenu complet d'une colonne text ou varchar(MAX) dans SQL Server 2008 Management Studio ?
Comprendre les transactions en SQL
Comment afficher ou afficher la barre d'outils d'accès rapide dans Word, Excel et PowerPoint