how to insert the id of another table in a table using query.. i need the query for getting the script..
for example
i need the id of tableB in tableA..
i tryd this
insert in tableA (name,tableBid)('some name',select id from tableB where name='something')
this is not working




Farhan AhmedRank #73 · 25K reputationPosted Jul 19, 2020, 11:18 PM EDT
Atul WaradeRank #1,357 · 1.2K reputationPosted Jul 20, 2020, 6:45 PM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 20, 2020, 10:53 PM EDT