I have two tables Alpha_Setting and Beta_View as show below,
Alpha_Setting:
ID ( Sequence )
VIEW_ID
VIEW_TYPE
VIEW_VALUE
Beta_View
ID
VIEW_NAME
VIEW_TYPE
VIEW_CHECK
I would like to insert multiple ID from Beta_View into VIEW_ID in Alpha_Setting, how should I correct my SQL
insert into alpha_setting
('',
(select ID from beta_view where view_type = 'HERO' and (view_name = 'GREEN-All' or view_name = 'GREEN-New'),
'super_power',
'1000000');