Re: SQL -- SELECT Recursive
Posted by: Peter Brawley
Date: August 18, 2020 10:47AM

In MySQL 8.0, use Common Table Expressions, docs at https://dev.mysql.com/doc/refman/8.0/en/with.html, examples at https://www.artfulsoftware.com/infotree/qrytip.php?id=1763&m=0

Before MySQL 8.0 or MySQL 10.2 you need to emulate such logic in sprocs, see https://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch20.html

Options: ReplyQuote


Subject
Written By
Posted
August 18, 2020 02:31AM
Re: SQL -- SELECT Recursive
August 18, 2020 10:47AM
August 19, 2020 10:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.