SQL Tutorial - Sorting Output with ORDER BY | Database Tutorial 5s

Published: 09 April 2020
on channel: Theoretical Computer Science
1,260
4

In this lecture of the databases course we learn how to sort the rows of the query result using ORDER BY in SQL. If the output of a query has to be interpreted by humans, it often helps to list the tuples in the query result in particular order. We will see how to specify the sorting criteria in SQL.

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.


Watch video SQL Tutorial - Sorting Output with ORDER BY | Database Tutorial 5s online without registration, duration hours minute second in high quality. This video was added by user Theoretical Computer Science 09 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,260 once and liked it 4 people.