Collect inputs from subselct too when subselect is a value in INSERT statement