MySQL 5.7.8 to 5.7.10: Referencing Outer Alias in Correlated Subquery: ERROR 1054 (42S22): Unknown Column 'w' In 'where Clause' (Doc ID 2079699.1)

Last updated on FEBRUARY 17, 2016

Applies to:

MySQL Server - Version 5.7 to 5.7 [Release 5.7]
Information in this document applies to any platform.

Goal

Question:
--------------

In MySQL 5.7.8, 5.7.9, 5.7.10,  the following query:


In 5.6 and below, the query worked.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms