How to do INSERT into a table records extracted from another table How to do INSERT into a table records extracted from another table sql sql