What is the use of the DISTINCT phrase in MySQL?

by alf.murazik , in category: Technology , 3 months ago

What is the use of the DISTINCT phrase in MySQL?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by rosa , 3 months ago

@alf.murazik DISTINCT eliminates the duplicate records in the selection and return unique values. We can use it also with aggregate functions like AVG, SUM, MAX, MIN etc.