You are on page 1of 2

Série 5

Q1- create user KHADIJA identified by test quota unlimited on system;

Q2- grant create any table, create session, create database link to KHADIJA;

Q3- create table client (

code NUMBER,

nom VARCHAR(20),

ville VARCHAR(20)

Q4- create database link liends using 'xe';

create table client_frag_h1 as select * from client@liends where ville='Agadir';

Q5- select * from client_frag_h1;

Q6- create table client_frag_h2 as select * from client@liends where ville<>'Agadir';

Q7- select * from client_frag_h2;

Q8- select * from client_frag_h1 union select * from client_frag_h2;


Q1- create table client_frag_v1 as select code, nom from client@liends;

Q2- select * from client_frag_v1;

Q3- create table client_frag_v2 as select code, ville from client@liends;

Q4- select * from client_frag_v2;

Q5- select * from client_frag_v1 join client_frag_v2 using(code);

You might also like