I want to do something like this:
INSERT INTO temp_table (temp_value) VALUES ( SELECT source_value FROM the_table WHERE condition_value = some_value ) WHERE temp_condition = some_value_condition
Do you guys know a way of doing this?
Any advice is appreciated