Select all schema user names
select username from dba_users;
Select all tablespace names
select tablespace_name from dba_tablespaces;
Create a simple tablespace
CREATE TABLESPACE POOL_TS DATAFILE 'pool_ts.dat' SIZE 20M AUTOEXTEND ON;
select username from dba_users;
select tablespace_name from dba_tablespaces;
CREATE TABLESPACE POOL_TS DATAFILE 'pool_ts.dat' SIZE 20M AUTOEXTEND ON;
select 'Mr.' || name from employee e where e.sex = 'M' select case when e.sex = 'M' then 'Mr.' else 'Ms.' end || name as salutation_name from employee e