L
L
LyciferZla2018-07-19 15:43:45
MySQL
LyciferZla, 2018-07-19 15:43:45

How to get unique values ​​from MySQL DB?

There is such a table in the database:
5b5084c05dd46277447506.jpeg
And a table that displays the result: refsumma
5b50858d75d4a798639360.jpeg
=> To output

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2018-07-19
@LyciferZla

Based on the "tips" something like this:

$result_table = "SELECT DISTINCT `games`, `refsumma`, `nickname`,`id`
 FROM `dlepisode1` 
WHERE `approved` IS NULL 
ORDER BY `refsumma` 
DESC" ;

But there is a big suspicion that you underdescribed the task, so then think about what you really wanted there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question