I have a case where I need to translate (lookup) several values from the same table. The first way I wrote it, was using subqueries:
SELECT (SELECT id FRO
Am I missing something? Why can't this work? You are only selecting the id which you already have in the table:
select created_by as creator, updated_by as updater, owned_by as owner, [name] from asset
By the way, in designing you really should avoid keywords, like name, as field names.
name