Тёмный

SQL | Find UNIQUE and DISTINCT values in SQL|Eliminate duplicate records from table|UNIQUEvsDISTINCT 

dataprojecthub
Подписаться 1,8 тыс.
Просмотров 12 тыс.
50% 1

In this video we see how to find unique and distinct values in sql.
Distinct means, different values regardless how many times it appears in the dataset. DISTINCT keyword in SQL .
Syntax : Using SELECT immediately followed by the DISTINCT keyword. All the duplicate rows are removed from the result set.
Unique value is the value that only appears one time.
UNIQUE keyword in SQL (constraints) - ensure that all values in the column are different. Here we are not using UNIQUE constraints because constraints are normally used when creating a table. Here we find unique values from the table using a different method.
"Thanks for watching. If you liked this video, make sure to subscribe for more!”
#dataprojecthub
#data_project_hub

Опубликовано:

 

12 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@KiranKumar-le7sq
@KiranKumar-le7sq Год назад
keep posting interview related scenarios in detailed manner
@dataprojecthub
@dataprojecthub Год назад
Hi Kiran, started with this query. Will be posting more. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EbeudkX1Ntc.html
@victorprasan1893
@victorprasan1893 Год назад
hi, great video,, keep up the good work.
@dataprojecthub
@dataprojecthub Год назад
Hi Victor, Thanks
@user-xv6me9hg1n
@user-xv6me9hg1n 5 месяцев назад
Thanks
@dataprojecthub
@dataprojecthub 5 месяцев назад
Welcome😀
@KiranKumar-le7sq
@KiranKumar-le7sq Год назад
nice video dude
@dataprojecthub
@dataprojecthub Год назад
Thanks!
Далее
DELETE DUPLICATE ROWS FROM A TABLE IN SQL || 4 ways
9:15
Stop using COUNT(id) to count rows
7:01
Просмотров 372 тыс.
Difference between where and having in sql server
6:36