Clojure Selecting records from a table and inserting those records into another table
问题 I am trying to insert data into one database from a different database. I have the select query working but I haven't been able to take the select query and insert it into a different database and or table. (jdbc/query db ["select * from employees where employee_id = 1927"] {:as-arrays? true}) Now, how do I now insert the above data into another table dynamically? 回答1: Let's say your employees table looks like this: create table employees ( employee_id integer, name text, primary key