Leetcode Insert Into Sql With Multiple Tables