There is a field in the table, and there are a lot of different values in this field and they can be repeated, I need to pull out the results, but if they are repeated, then print them only once. For this, there is even a defined syntax for Select. Tell me please.
select id, count(*) from tab group by id
. But how to deal with the rest of the table depends on what you want to receive. - alexlz