I have a mysql table called urls
It has the following fields
url
title (default null)
content (default null)
My table has many duplicate rows.
I would like to remove those duplicates.
For example
google.com - Google - search engine
google.com - null - null
google.com - Google - search engine
Now I would like to drop the rows where title = null plus the duplicate row.
I just want the url to be unique with no duplicate rows.
Can some tell me how?
urlis the primary keyurlfield asunique