B
B
bozilly2015-09-14 01:05:37
MySQL
bozilly, 2015-09-14 01:05:37

How to enable "duplicate" strings in MySQL?

Let's say there is a query:
SELECT * FROM video GROUP BY rating
The problem is that if the rating is repeated, then only one row with this rating is returned.
I need everything :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Night, 2015-09-14
@bozilly

Replace GROUP BY with ORDER BY

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question