Relational Algebra Sample Questions.

Slides:



Advertisements
Similar presentations
Relational and Equality Operators Table 4-1. Sample Conditions Table 4-2.
Advertisements

Convert ER to Relational Database Entity relation Entity relation Attributes attributes Attributes attributes Primary key primary key Primary key primary.
1 Database Systems 10.8, 2008 Lecture #4. 2 Course Administration Assignment #1 is due next Wed (outside 336/338). Course slides will now have black background.
ER Modeling Case Studies
Step By Step Lei Yang Computer Science Department.
Review Session Monday, Oct 8 Shipra Agrawal. Announcements New Gradiance assignment deadline Wednesday, Oct 10 Please read FAQs for assignments.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Huiswerk Lees delen 3.2, 3.3 van hoofdstuk 3. opgaven voor hoofdstuk 2: modelleeropgave 5.
Example T1: T2: Constraint: Susan’s salary = Jane’s salary
1 Exercise 1  Given the following tables: employee (person_name, street, city)‏ works (person_name, company_name, salary)‏ company (company_name, city)‏
Employee database: Conceptual Schema in ERD Chapter 3, page 62.
DB opgaven 2 Opgaven 2 Geert-Jan Houben.
1 times table 2 times table 3 times table 4 times table 5 times table
Seminar #1 – Refreshing databases concepts and SQL CM036: Advanced Databases1 Seminar 1: Revisiting Databases and SQL Purpose To refresh basic concepts.
One More Normal Form Consider the dependencies: Product Company Company, State Product Is it in BCNF?
Seminar #3 CM036: Advanced Databases1 Seminar 4: Relational Algebra and its Simulation using SQL Purpose To understand how the relational operations are.
© Scott/Jones Publishing, Inc. 1 Chapter 19 Advanced Features of List Management Excel 2003, Volume 2 by Karen J. Jolly.
TotalHR SQL Human Resources Session Presented by: Lisa Lockard.
Introduction to the Orion Star Data
Relational Model Concepts. The relational model represents the database as a collection of relations. Each relation resembles a table of values. A table.
Evaluating Algebraic Expressions, given values
Algebra 1A Vocabulary 1-2 Part 2
Chapter 3: Relational Model  Structure of Relational Databases  Normal forms (chap. 7)  Reduction of an E-R Schema to Relational (Sect. 2.9)  Relational.
Between 1990 and 2000, the average worker's pay rose 37%.
Sample Problem Chapter 10 Determining social security withholding. The monthly salaries for December and the year-to-date earnings of the employees of.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Database Management System Quiz 1. A company needs to store information about: the employees identified by EmpNo, Name, Salary and Phone; departments.
GOALS BUSINESS MATH© Thomson/South-WesternLesson 1.1Slide 1 1.1Hourly Pay and Salary Calculate gross pay for hourly-rate employees Calculate gross pay.
E-R to Relational - Basic
Slide Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model.
1Database Management Systems Exercise II  Consider the following relational schemas:  employee (person_name, street, city)  company (company_name, city)
Holt Algebra Graphing and Writing Inequalities Warm Up Compare. Write, or =. 1. − < > > = Tell whether the inequality x
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Miss Smith 7 th Grade Civics *pgs  Money in _______ accounts earn ________  Money can be _________ when needed  Usually must keep a _______.
Tables Learning Support
ASET Relational Algebra continues…. ASET Rename Operation Allows us to name, and therefore to refer to, the results of relational-algebra expressions.
Seminar #6 CG096 Advanced Database Technologies1 Advanced Databases Seminar 6: Implementing Relational Algebra Data Model using SQL.
SWBAT: -Determine whether to use a one or two tailed test and calculate the necessary p-value -Make and interpret a decision based on the results of a.
COMM 470 Week 4 DQ 3 Check this A+ tutorial guideline at 470-Week-4-DQ-3 Your company is planning to open.
Session 3 Welcome: To session 3-the fourth learning sequence
Comparison Operators Relational Operators.
ER Diagram Practical Example
Relational Algebra - Select & Project
Times Tables.
Chapter 2: Intro to Relational Model
Generalization.
Database Systems 10/13/2010 Lecture #4.
شركات المساهمة​ (corporations) Joint stock company
דיני חברות ד"ר ויקטור ח. בוגנים
Group: 0011 Company: Deutsche Bank
A way of collecting, organizing, and interpreting data
Entity-Relationship Modeling "Extended"
Business types Landscaping Company.
CAREER AS BLOOD BANK TECHNICIAN. Nature Of Work Most of duties and activities of Blood Bank Technicians are office based. They work only in blood banks.
Relational Algebra Sample Questions.
Miss Smith 7th Grade Civics *pgs
y x y = x + 2 y = x + 4 y = x – 1 y = -x – 3 y = 2x y = ½x y = 3x + 1
STORE MANAGER RESPONSIBILITIES.
In Class Exercises Phil Tayco Slide version 1.1 San Jose City College
Additional Practices Table Descriptions and Data.
General Ledger vs ABC … Chart of Account View Activity Based View
B Table Descriptions and Data.
C.2.10 Sample Questions.
C.2.8 Sample Questions.
3 times tables.
6 times tables.
ANALYING CENTRAL MEASURES OF TENDENCY
C.2.8 Sample Questions.
Financial Performance
Entity-Relationship Modeling "Extended"
Entity-Relationship Modeling "Extended"
Presentation transcript:

Relational Algebra Sample Questions

Employee Table

Questions Question 1 : Determine the name of the employees having salary greater than 2000 Question 2: The name and the department number of employees that are engineers and have a salary greater than 2000 Question 3: Determine the «Managers» and store them in a new schema called «Managers»

Other Questions Question 4: Names of all employees that work for «First Bank Corporation». Question 5: Names and cities of all employees that work for «First Bank Corporation». Question 6: Names and street for all employees that work for «First Bank corporation» and earn more than 10000$. Question 7: Names of employees that live in same city as the company they work for. Question 8: Names of employees who earn more than all employees work for «Small Bank Corporation».