SQL Tutorial - Duplicate Elimination using DISTINCT | Database Tutorial 5e

Published: 09 April 2020
on channel: Theoretical Computer Science
3,191
11

In this lecture of the databases course we learn how to use DISTINCT in SQL to eliminate duplicates from query results. However, the presence of unexpected duplicates in query results is often an indication of mistakes, e.g. missing join conditions. Therefore, before eliminating duplicates, it is important to understand why the duplicates occur. We will also learn how to determine whether a duplicate elimination (DISTINCT) is superfluous.

This is the databases online course given at the Vrije Universiteit Amsterdam by Jörg Endrullis. The course objective is to obtain a good understanding of relational database systems from the user perspective. This includes the ability to develop conceptual database models, as well as key concepts and skills in relational database theory and practice.

Among others, we treat in this course the following subjects:
(a) entity–relationship diagrams for the design of database schemata,
(b) the relational database model and integrity constraints,
(c) SQL (structured query language) for retrieving information from relational databases,
(d) database normalisation and functiona dependencies (reasoning about good database design),
(e) transactions and concurrency control.

The slides are based on work by Peter Boncz and Torsten Grust.


On this page of the site you can watch the video online SQL Tutorial - Duplicate Elimination using DISTINCT | Database Tutorial 5e with a duration of hours minute second in good quality, which was uploaded by the user Theoretical Computer Science 09 April 2020, share the link with friends and acquaintances, this video has already been watched 3,191 times on youtube and it was liked by 11 viewers. Enjoy your viewing!