Select * from TABLE_NAME where CREATED_DATE_COLUMN >= SYSDATE - 10
select * from TABLE1 join TABLE2 on COLUMN_TABLE1 = COLUMN_TABLE2 where OTHER_COLUMN_TABLE1 is not null
Select count(*) from EMPLOYEE e where e.salary > 1000
ALTER TABLE TABLE_NAME ADD NEW_COLUMN DATE;
select count(*) from TABLE_NAME
with employee_dept_marketing as ( select * from EMPLOYEE join DEPT on EMP_DEPT_ID = DEPT_ID where DEPT_NAME = 'Marketing' ) select PROFILE_NAME from PROFILE p join employee_dept_marketing on PROFILE_ID = p.ID where p.REQUIRED_EXPERIENCE > 10;