I got the following SQLite database:
What I'm trying to do is: sum all values based on quantidade grouped by Month/Year (e.g.: 2022/08)
The result I'm expecting grouped by year/month:
My SQL code:
SELECT
data, SUM(quantidade) AS sum
FROM stock_tracking_Negociacao
WHERE mercado = 'Futuro'
GROUP BY strftime('%Y', data), strftime('%m', data)
Any help?

