im trying to insert values into a table in sql in one run.
INSERT INTO sampleTable
(
,ID
,aa
,bb
,cc
,dd
,ee
)
SELECT
,(select id from otherTable where value="something")
,aa
,bb
,cc
,dd
,ee
how do i loop it in sql that it inserts values for each id on the otherTable?