I want to get one value out of 5 which are the same, lets say 5 records have the same value in some column.
How do I only get one out of them and not 5 ?
Add DISTINCT
to your query:
SELECT DISTINCT field FROM table;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With