sql server: creating temp table by selecting records from other tables
By Elsa Kreiger at Jun 20 2020