Creating In-Memory Tables In SQL For Joining And Sumarizing