I have the following Query
SELECT estado, num_ocorrencia
FROM bra_ocorrencias
WHERE nome like 'João'
ORDER BY num_ocorrencia DESC
It returns me all states with the most relevant occurrence numbers I have in the table, I would like to narrow the query to only the first 5 lines that it returns me. How could I do that?