I did a lot of searching and really did not find the answer to my problem with MYSQL.
SELECT DISTINCT name, type, state, country FROM table
Results in 1795 records
SELECT DISTINCT name FROM table
Results in 1504 reports
For each duplicate, "name" ... "type", "state", "country" do not match in each record.
Trying to figure out how to select the appropriate row for the name DISTINCT without checking them as DISTINCT or not
sql mysql distinct
Zanedefazio
source share