
I'm tasked to create a SQL statement which will create (and run?) multiple other queries which will select all related data outgoing from an given ID (uniqueidentifier) and a given table name.
It doesn't have to be that fast, but it should be able to use against every db, given only 1 ID and the...