Hey so I have a Junction table linking two unrelated tables. Both the tables have ID\'s. I need to select the ID from each table using WHERE<
ID
WHERE<
Another way can be
INSERT INTO c (aID, bID) SELECT (SELECT A.id FROM TableA A WHERE A.names = 'sometext'), B.id FROM TableB B WHERE B.x_name ='othertext';