Uploaded by Rihabb Al-Salamen

quiries

advertisement
1. select * from emp
2. select id from emp
3. select ename from emp
4. select 'ename','id' from emp
5. select * from emp where ename = 'SMITH'
6. SELECT *
FROM emp
WHERE ename <> 'Smith'
7. select * from emp where sal <= 3000
8. select * from emp where hiredate > '08-Sep-1981'
9. select ename from emp where sal > 2000 and sal < 4000
10. select emp.ename, dept.deptno from emp, dept
Download