結果 : how to write insert query with select in sql