ASML interview question

use SQL to merge two tables