mysql - how to select distinct values from rows and columns both together -


this database table.

this database table values.there different topic names topic1 topic8. , want access distinct topic names these values. sql query ?

to clarify answers: select command union operator returns distinct values. it's not needed distinct keyword.

select union returns duplicate values too.


Comments

Popular posts from this blog

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

github - Git errors while pushing -

c++ - How can I delete a QSharedPointer -