Well, if you happen to be using Sql Server you can do that sort of thing in T-Sql. In Oracle, you can also accomplish the same thing using pl/sql. Either way i'd do it in a stored ...
-- (select [id] from t1 where [id]>3) as id1, -- (select num from t1 where num<7) as num1, -- (select [id] from t2 where [id]<5) as id2, -- (select num from t2 where num>5) as num2 -- into t3 ...
Inside a relational database management system, the princi­pal persisted data structure is considered a logical relation. Operations performed against that data within the RDBMS result in a logical ...