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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -