By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fiddle.ph.url' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
| id | title | iid |
|---|---|---|
| 10 | Horlicks Health | 8 |
| id | title | MIN(ph.url) |
|---|---|---|
| 10 | Horlicks Health | url-8.000 |
| id | title | url |
|---|---|---|
| 10 | Horlicks Health | url-8.000 |
| id | title | url |
|---|---|---|
| 10 | Horlicks Health | url-8.11 |