Hello. There is a kubki table, it has a seria field, you need to select all the unique values of the rows in the seria field, and at the same time select all the other columns.
That is, as
select DISTINCT(seria) from kubki; But with the addition of other columns, such as id
I can not understand how to do it, tell me, please.
Already tried the subquery and join, but it does not work