DEV Community

Discussion on: Writing SQL for humans with Literate SQL

Collapse
 
monacoremo profile image
Remo

Yes, the DDL example is not ideal... I'm looking to make a tutorial out of it for new PostgREST users that don't have a lot of experience with Postgres, so it's more verbose than it should be in a normal application. Let's see if I can dig up a more monstrous example with CTEs somewhere. And please let me know if you have something sufficiently convoluted at hand! :-)

Collapse
 
dmfay profile image
Dian Fay

How's this?

Thread Thread
 
monacoremo profile image
Remo

Deliciously monstrous! Only missing some 'with recursive' to round it off :-)

Let's use that as an additional example! Thanks Dian.