Can an INSERT Statement use JOINs and a WHERE Clause?
I have the following query insert into T1 (code, code2, type, is_default, m_order, m_type, title, created_by) select t.* from (select a.code from (select code from T2 where type = 171 and value = 'ABC') a, select b.code from (select code…