What if an SQL Statement Returned a Database?
You're viewing a single thread.
You can already return complex data structures using jsonagg and recursive queries. I can see wanting to make that easier and more intuitive to do. Current sql does not restrict you to just 2D table data structures though.