SQL Server, Azure SQL Database, Amazon RDS & AWS, Oracle and IBM Help
An online community of DBAs, developers and data intelligence builders, with videos, articles, resources and online events for members and non-members.
Find out more >>
(Dave Stokes) Common Table Expressions (CTEs) are a very useful tool and frankly a big improvement on sub-queries. But there are differences in how they are implemented in MySQL and MariaDB.