I have an IMOVEIS table
ID | Tipo | endereço
1 | Casa | Rua teste
2 | Casa | Rua teste
3 | Apartamento | Rua teste
And a sales table
id | ID_do imovel
1 | 1
2 | 2
I need to know based on the sales chart, which was the best-selling type of property in the IMOVEIS table. Can someone help me?