My Oracle Support Banner

DISTINCT is Removed From View Definition When The SELECT Has GROUP BY Clause On MySQL 5.7 Or Newer (Doc ID 2800962.1)

Last updated on AUGUST 24, 2021

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.


This document describes why DISTINCT clause is removed from the view definition when the SELECT has GROUP BY clause.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.