I want to insert multiple row using one insert sql query. I know it is possible to insert multiple row in one sql query.
I have written some query as
insert into test values ((select loan_id from loan_transaction_mcg))
but I received the error
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Is there anyway to insert data like this way. I have single column in test table.
INSERT ... SELECT) and has examples too.