create database link MyLink
connect to scott identified by "tiger"
using 'MyInstance'
/*to fill a local talbe using the data selected from another database linked with this */
insert into emp select * from emp@MyLink
/*to create a table that has the same structure and data as the one in the following select centence */
create table dept as select * from dept@MyLink