0
Hi, I’m performing an SQL query on my Firebird server. I made the query using the following syntax:
select ds_produto_servico, count(ds_produto_servico) from tb_produto_servico
group by ds_produto_servico
having
count(ds_produto_servico) > 1
In other words, he is taking all the descriptions of the products that are duplicated. However, I would like to bring on the screen the code of these duplicated products. It is possible ?
The code field is: CD_PRODUTO_SERVICO
Thanks.
Closed bro. It worked right here. Thanks.
– Artur Mafezzoli Júnior