title: How to save select query results within temporary table?
body: <p>I need to save select query output into temporary table. Then I need to make another select query against this temporary table. Does anybody know how to do it?</p>
  
  <p>I need to make this on SQL Server.</p>