Advanced SQL techniques

In the following section, some other advanced SQL techniques will be introduced:

  • The DISTINCT ON clause, which helps in finding the first records in groups
  • Selecting sample data from a big table
  • The set returning functions, which are functions that return relations
  • LATERAL joins, which allow subqueries to reference each other
  • Advanced grouping techniques that can be used in generating reports
  • Some special aggregating functions
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset