SELECT (Photo {uri}, User {name, email})
FILTER Photo.author.id = User.id;
The tutorial database uses links, and so instead of having an author_id we have author.id, but having an author_id property would work just fine---except that then you'd have to do all the joins manually.
If you want to use edgeql's shapes but still keep the essential join flavor, then something like:
To make it a little more concrete, you can try this on the tutorial database (https://www.edgedb.com/tutorial) The tutorial database uses links, and so instead of having an author_id we have author.id, but having an author_id property would work just fine---except that then you'd have to do all the joins manually.