sql-handout2

sql-handout2 - A d i ed eagage habF a h fC eiee ie i fa e...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: A d i ed eagage habF a h fC eiee ie i fa e C48 d i D a aba eaage e F a 9 C48 D a aba e F a 9 48 i e h e ada d D B a i e ie D a ad ia i C e e ie e ie k a e b e ie ab eE e i ej i G igadA gg ega i a iga e d e ige DD ab e eg iC a i ie igge C48 D a aba e F a 9 48 ed eagage edea gage i ad e f b agage : D a aa i a iagage D SELECT a e e e f e ie INSERT, UPDATE, DELETE a e e d if h e i ae fa ab e D a aD e i iagage DD CREATE, DROP a e e d if h eda aba eh e a GRANT, REVOKE a e e e f eh ee i d e C48 D a aba e F a 9 48 h e ada d D B M S DATABASE INTERNAL SCHEMA CONCEPTUAL LEVEL VIEW A VIEW B APPLICATION 1 APPLICATION 2 APPLICATION 3 S Q L C48 D a aba e F a 9 448 D : e ie select LastName,HireDate from Employee where Salary > 100000 F id h e a a eadh ie da e fe ee h ak e eha e ide a a ie a iga ia C48 D a aba e F a 9 548 e ige ea e a i select P.ProjNo, E.LastName from Employee E, Project P where P.RespEmp = E.EmpNo and P.DeptNo = E21 F eah jef h ih d ea e E ie ib edh ea e fh e e eeiha ge fha je C48 D a aba e F a 9 648 h e B a i eB k select attribute-expression-list from relation-list [ where condition ] e hee fhae iae a i h ihha ea ib e f eahe e e fheea ib ee e i i C48 D a aba e F a 9 748 h e h eeC a e C d i i a i d e a ih e i ea a i = <><< = >> = g ia e ie ad ad select E.LastName from Employee E, Department D, Employee Emgr where E.WorkDept = D.DeptNo and D.MgrNo = Emgr.EmpNo and E.Salary > Emgr.Salary ih e a a e fe ee h ak e e ha h e i aage C48 D a aba e F a 9 848 h e e eC a e e h ed ieeeb e eeeahe eeaa a a ada ba ea a...
View Full Document

Page1 / 24

sql-handout2 - A d i ed eagage habF a h fC eiee ie i fa e...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online