To guarantee your queries return rows in a particular sequence, you must use an order by!
This episode shows you how to do this and limit your results to the first N rows in an ordered set.
Want to know more? Take the course: https://devgym.oracle.com/pls/apex/dg...
Order by clause documentation: https://docs.oracle.com/en/database/o...
Need help with SQL? Ask us over on AskTOM: https://asktom.oracle.com
Twitter: / chrisrsaxon
Daily SQL Twitter tips: / sqldaily
All Things SQL blog: https://blogs.oracle.com/sql/
Videos produced by Philip Lima productions.
============================
The Magic of SQL with Chris Saxon
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
On this page of the site you can watch the video online How to sort rows with SQL: Databases for Developers #12 with a duration of hours minute second in good quality, which was uploaded by the user The Magic of SQL 10 May 2018, share the link with friends and acquaintances, this video has already been watched 6,635 times on youtube and it was liked by 79 viewers. Enjoy your viewing!