t-sql select distinct code example Example: sql distinct #List unique values in the df['name'] column df.name.unique()