--SELECT
--  pp2.*
--INTO [db_no_replicate_space].[dbo].[temp_prib_Premi_Polis_20170417]
--FROM
--  [db_no_replicate_space].[dbo].[temp_prib_equity_ajb] AS tmp INNER JOIN
--  GrpInsurance.dbo.Produk_Polis AS pp ON tmp.No_Proposal = pp.No_Proposal INNER JOIN
--  GrpInsurance.dbo.Premi_Polis AS pp2 ON pp.Id_Produk = pp2.Id_Produk

--SELECT
--  bp.*
--INTO [db_no_replicate_space].[dbo].[temp_prib_Benefit_Polis_20170417]
--FROM
--  [db_no_replicate_space].[dbo].[temp_prib_equity_ajb] AS tmp INNER JOIN
--  GrpInsurance.dbo.Produk_Polis AS pp ON tmp.No_Proposal = pp.No_Proposal INNER JOIN
--  GrpInsurance.dbo.Benefit_Polis AS bp ON pp.Id_Produk = bp.Id_Produk


--SELECT
--  isp.*
--INTO [db_no_replicate_space].[dbo].[temp_prib_Item_Santunan_Polis_20170417]
--FROM
--  [db_no_replicate_space].[dbo].[temp_prib_equity_ajb] AS tmp INNER JOIN
--  GrpInsurance.dbo.Produk_Polis AS pp ON tmp.No_Proposal = pp.No_Proposal INNER JOIN
--  GrpInsurance.dbo.Item_Santunan_Polis AS isp ON pp.Id_Produk = isp.Id_Produk
