L
L
lemonlimelike2019-01-05 21:11:51
MySQL
lemonlimelike, 2019-01-05 21:11:51

How to delete received data?

I get data with the following query:

SELECT id,title_ru FROM `date` GROUP BY title_ru HAVING COUNT(*)>1

Here's what comes up: 5c30f3439a75e433387188.png
I need to remove them, how do I do that? DELETE with GROUP BY Not working

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2019-01-05
@lemonlimelike

SELECT FROM `date` where id in (SELECT id FROM `date` GROUP BY title_ru HAVING COUNT(*)>1)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question