0
I would like the column id_post_gru to be filled in 2 based on the amount of id_group where there is 70
I did it separately and it works, but together it doesn’t!
UPDATE
posts
SET
id_post_gru =(
SELECT
COUNT(id_grupo)
FROM
posts
WHERE
id_grupo = 70
)