One way you could do this is by using the Rule Engine (Dictionary) node, with your Table 1 input to the top port, and your Table 2 transformed into rules and input to the bottom port. Here are a couple of threads with example usage of that node:
Hope this helps you get started, but feel free to ask questions here if you get stuck.