Difference Between UNIQUE and DISTINCT in MySQL
The words unique and distinct are used often used interchangeably in our daily life. But when it comes to SQL, it plays totally different roles. In this tutorial, we will see the difference between the UNIQUE and DISTINCT clauses in MySQL with some examples. So, let’s get started! Introduction Unique and distinct are synonyms for …