[sql] How can I select multiple columns from a subquery (in SQL Server) that should have one record (select top 1) for each record in the main query?