Posts by Luiz Brito da Rosa • 1 point
1 post
-
0
votes3
answers304
viewsA: SQL hide query parameter in return
Jeferson, You can substitute for this code, which will return all products sold: ....WHERE idProdutos IN(SELECT distinct(idProdutos)FROM pedidos) Now if you need the best-selling products, the…