WP3 Authorisation Steve Fisher / RAL 2/4/2003. WP3 Steve Fisher/RAL - 2/4/2003Authorisation2 I don’t think I disagree (much) with Linda Control must be.

Slides:



Advertisements
Similar presentations
What is a database?. Two main uses: Two main uses: Storing information Storing information Sorting information Sorting information.
Advertisements

Exercise 2 Relational Calculus
~ ‘’ Can you fix his foot, doctor ?’’ ’NO, I’m not! I got it!’’ ~ ‘’NO, I’m not! I got it!’’ ‘’ Tough it Up man’’ ~ ‘’ Tough it Up man’’
1 Relational Algebra April 13, Exercise 1 Consider the following relational database scheme: Treatment (disease, medication) Doctor(name, disease-of-specialization)
SQL Exercises – Part II April 11, 2017.
COMPANY schema EMPLOYEE
SOME, ANY, NO, EVERY I have some money. I don’t have any money.
1. angela and i was gonna walk two your house too use the phone 2. frank the two of us wants to go with Monday.
Basic Queries. 2 Retrieval Queries in SQL SQL has one basic statement for retrieving information from a database; the SELECT statement This is not the.
DatabaseDatabase cs453 Lab8 1 Ins.Ebtesam AL-Etowi.
SQL Query Slides Sharif University Of Technology Database Systems CE 384 Prepared By: Babak Bagheri Hariri
Your Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Instructor: Mr. Ahmed Al Astal Chapter 8 (Cont.) SQL-99: Schema Definition,
Displaying Data from Multiple Tables. EMPNO DEPTNO LOC NEW YORK CHICAGO NEW YORK DALLAS
Dept. of Computer & Information Sciences
DATABASE PROGRAMMING Sections 5-7. Write a query that shows the average, maximum, and minimum salaries for all employees with jobs in the programming.
How to safe online E-Safety Presentation How to stay safe when online Tip 1Tip 2Tip 3Tip 4 Tip 5.
 Time Averages By Steve Vang CSCI 102. Time Spent On Laptop Week Hours Total Time Spent In Hours = 101 Total Time.
Warnings Dealing with Diseases. E~tasc  Create a number of different warnings which could be used to make your school community more aware of preventing.
E ddy Consulting Using Databases to Manage Project, Client, and Employee Information James Walsh.
관계 연산자 & SQL. Selection SELECT * FROM r WHERE A=B AND D>5.
What is a database?.  Two main uses:  Storing information  Sorting information.
Lab 5: Subqueries CISB224 02A, 02B Semester I, 2009/2010 College of Information Technology, Universiti Tenaga Nasional 1.
Structs. Structures We already know that arrays are many variables of the same type grouped together under the same name. Structures are like arrays except.
Thoughts on the ATF of the DataGrid 24 th –25 th May 2001 Steve Fisher / RAL.
Week 2 Lab1 User Interface Design Dina A. Said
Planning: Hardening the rabbit Steve Fisher / RAL 5/3/2004 WP3.
Nested Queries (Sub-Queries). Objectives Learn how to run a query as a nested sub-query Condition on nested query Application of nested query Restriction.
Querying a Database - A question or an inquiry (dictionary.com) - WHAT ARE WE ASKING QUESTIONS ABOUT? THE DATA - BY ASKING QUESTIONS OF THE DATA WE OBTAIN?
 Employee (fname, minit, lname, ssn, bdate, address, sex, salary, superssn, dno)  Department (dname, dnumber, mgrssn, mgrstartdate) 
WP3 Information and Monitoring Steve Fisher / RAL 23/9/2003.
Week 6 Part 2 Kyle Dewey. Overview Array application: sorting Basic structs TA Evaluations.
Burapha University, 2003 Object-Oriented Analysis Basic of Object Mapping to Relational Database.
Mary Currier.  My monthly salary is $2,  My yearly pay check will be 31,000.
WP3 Quality (Updated) Steve Fisher / RAL 25/9/2003.
What is a database? thanks to
Tips To Stay Safe Online By Aayush Hanson Pharaoh.
Week 2 Lab2 ER Diagram Dina A. Said
To provide easy access to important hospital data for patients, doctors, and staff Provide a way to pay hospital bill online Provide a way to rate and.
WP3 Quality Steve Fisher / RAL 25/9/2003. WP3 Steve Fisher/RAL - 4/9/2003R-GMA2 Code Problems –Unit tests are not enough –WP3 testbed is currently too.
Announcements Written Homework 1 due Nov 2 –See course web page –Exercises 5.12, 5.15, 6.17, 6.20, 6.22 (a,c,f only). Today –continue with SQL (chapter.
Tell me about yourself Well, my name is…. Fill in the gaps using should, must, have to/has to.
When is it okay to keep a secret? Engage in a 3-5 minute timed journal answering the question about. Be ready to share!
VERB TENSES MIX.
SQL Aggregeringsfunktioner. AGGREGATE FUNCTIONS Include COUNT, SUM, MAX, MIN, and AVG Query 15: Find the maximum salary, the minimum salary, and the average.
Unit one Introducing yourself in English. Greetings Hello. Good morning. Good afternoon. Good evening. How are you? How are you doing? Hi. Good morning.
WP3 Hello Steve Fisher / RAL 14/1/2004. WP3 Steve Fisher/RAL - 14/1/2004Hello2 Safety If fire alarm goes off – leave If klaxon sounds – close windows.
WP3 Relational Work Progress Report 11/5/2001 Steve Fisher / RAL.
Organ Donation The gift of Life.
6/22/2018.
Data Modeling ISYS 464.
= 98% In 2017 How Do We Compare To The National GP Survey Results ?
Relational Algebra at a Glance
Are phones more of a distraction or a benefit at school?
Phone: + 40 (728) | +40 (733)
How to prevent internet snooping!
Tax Investigation Cover Services in United Kingdom
Get The Best Treatment For Any Digestive problem in North Carolina.
Patients’ rights حقوق بیماران
IS6145 Database Analysis and Design Additional normalization example
Lab 5: Subqueries CISB224 02A, 02B Semester I, 2009/2010
 Do you want a payday loans on your emergencies issue?  Do you want to a instant cash on your financial problem?  Do you want to a guaranteed approval.
Chapter 5 Handling Input.
5 Reasons Why Should Apply Payday Loans Canada 247?
Here Is The Book About Cycling
Syllabus Introduction Website Management Systems
A Month of Money… With Steve 2
SQL Grouping, Ordering & Arithmetics Presented by: Dr. Samir Tartir
IS6125 Database Analysis and Design Additional normalization example
Principal Salary Schedule Human Resources Director
Principal Salary Schedule Human Resources Director
Presentation transcript:

WP3 Authorisation Steve Fisher / RAL 2/4/2003

WP3 Steve Fisher/RAL - 2/4/2003Authorisation2 I don’t think I disagree (much) with Linda Control must be at the level of views on the database –Very compact –Very powerful

WP3 Steve Fisher/RAL - 2/4/2003Authorisation3 Example - people Doctor: Select sanity for his patients Anybody: select average salary for people in GB Friend: phone number People NameAddressPhone #SalarySanityDoctor FredGB160.1Seuss BillCH3600.5Spock MaryD4500.9Spock

WP3 Steve Fisher/RAL - 2/4/2003Authorisation4 Example - doctor View –Name, Address, Phone, Sanity from People where Doctor = “Spock” –Name, Address, Phone, Sanity from People where Doctor = “{DN}” Good Query –Select Name, Sanity from People where Doctor = “Spock” Bad Query –Select Name, Salary from People where Doctor = “Spock” What about –Select Name, Sanity from People where Name = “Bill” People NameAddressPhone #SalarySanityDoctor FredGB160.1Seuss BillCH3600.5Spock MaryD4500.9Spock Doctor: Select sanity for his patients

WP3 Steve Fisher/RAL - 2/4/2003Authorisation5 Example - doctor View –Name, {AGGREGATE}(Salary) where Country = “{*}” Good Query –Select Avg(Salary) from People where Country = “GB” People NameAddressPhone #SalarySanityDoctor FredGB160.1Seuss BillCH3600.5Spock MaryD4500.9Spock Anybody: select average salary for people in GB

WP3 Steve Fisher/RAL - 2/4/2003Authorisation6 Example - doctor View –P.Name, P.Phone, P.Address from People P, Friend F where P.Name = F.Name and F.Friend = “{DN}” Good Query –Select P.Name, P.Phone from People P, Friend F where P.Name = F.Name and F.Friend = “Mary” and P.Name=“Bill” Bad Query –Select P.Name, P.Phone from People P, Friend F where P.Name = F.Name and F.Friend = “Bill” and P.Name=“Mary” People NameAddressPhone #SalarySanityDoctor FredGB160.1Seuss BillCH3600.5Spock MaryD4500.9Spock Friend: phone number Friend NameFriend FredBill Fred BillMary