Comments - WITH

4 years, 9 months ago Jeongjin Kim

How can I with with self join? Like belows : ------ WITH T (select * from table1)

SELECT T1.name , T2.value FROM T as T1, T as T2 WHERE T1.somevalue = T2.somevalue ----- I encount an error on "From T as T1, T as T2" I think alias is not possible for WITH

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.