MariaDB and MySQL Common Table Expressions and Window Functions Revealed
Daniel Bartholomew
* Affiliatelinks/Werbelinks
Links auf reinlesen.de sind sogenannte Affiliate-Links. Wenn du auf so einen Affiliate-Link klickst und über diesen Link einkaufst, bekommt reinlesen.de von dem betreffenden Online-Shop oder Anbieter eine Provision. Für dich verändert sich der Preis nicht.
Naturwissenschaften, Medizin, Informatik, Technik / Informatik
Beschreibung
Walk away from old-fashioned and cumbersome query approaches and answer your business intelligence questions through simple and powerful queries built on common table expressions (CTEs) and window functions. These new features in MariaDB and MySQL help you to write queries without having to wade through a quagmire of brittle self-joins and other crazy techniques from the past. Your queries will generate correct results, be more readable and less brittle in the face of unexpected data, and you’ll be able to adapt them quickly in the face of changing business requirements.
- Takes you step-by-step through the workings of common table expressions and window functions
- Provides easy-to-follow examples of the new syntax
- Helps you answer business questions faster and easier than ever
- Answer business questions using simple queries that don’t break in the face of unexpected data
- Avoid writing queries that are a difficult-to-maintain quagmire of self-joins and nested subqueries
- Recognize situations that call for window functions, and learn when to use these features
- Reduce the need for performance-robbing self-joins
- Simplify and speed the execution of analytical queries
- Create queries that finish in seconds instead of hours
Kundenbewertungen
recursive subqueries, derived tables, CTEs, window functions, analytic functions, recursion, subqueries, rank, common table expressions, lag, lead, MariaDB, MySQL, ranking queries