what does distinct in sql do code example
Example 1: query DISTINCT
SELECT DISTINCT Column_name FROM table_name;
Example 2: sql distinct
#List unique values in the df['name'] column
df.name.unique()
SELECT DISTINCT Column_name FROM table_name;
#List unique values in the df['name'] column
df.name.unique()