Question

[Relational Algebra]

Branch branch No street city postcode BOOS BOO7 воод 3004 BOOZ 22 Deer Rd London SWI4EH 16 Argyll St Aberdeen A235U 163 Main

Using the above information, please write relational algebra expressions and display tables to answer the following. Do NOT write in SQL code.

1. Select all staff that happen to be female with a salary more than $20,000

2. List all staff that happen to have a salary between $20,000 and $30,000

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q1) Select all staff that happens to be female with a salcy more than $20,000 r o (STAFF)] Sex=FAND salary > 20,000 output:

If you have doubt comment down.. Also please upvote thanks..

Add a comment
Know the answer?
Add Answer to:
[Relational Algebra] Using the above information, please write relational algebra expressions and display tables to answer...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Assignment Chapter 6 Part - Assignment Chapter 6 Part 2 - Write Queries that: 1. List...

    Assignment Chapter 6 Part - Assignment Chapter 6 Part 2 - Write Queries that: 1. List all Staff first and last names that have a branch number listed the Branch table. 2. Sort the query results from the query above is descending order 3. Join Branch and Staff tables where branch No are equal 4. Execute Left Outer Join for query 3 5. Execute Right Outer Join for query 3. 6. Insert record - 'CR76', 'PL94', '2018-02-28', 'To Big' into...

  • For the tables given above, write a relational algebra statement to show the names of the...

    For the tables given above, write a relational algebra statement to show the names of the female staffs whose salaries are more than 10000. Use S for selection, P for projection, |X| for join, X for cross product, T for aggregation and grouping, U for union, ^ for interaction, / for division, - for intersection. TT T Arial 3 (12pt) T5 - E S @a's For the tables given above, write one relational algebra statement to show the Branch No...

  • Question 3 (a) Identify the notation A B, and write a brief notes about it. [12...

    Question 3 (a) Identify the notation A B, and write a brief notes about it. [12 marks] (b) Do you believe that logical data independence and distribution independence are the backbone for distributed database Explain your position in detail. [13 marks) Question 4 (a) Study the table and show how you can create it from a scratch using MySQL or SQL Server DOB salary branch No staff No Name Name position Sex SL21 John White Manager M SG37 Ann Beach...

  • The Language Is SQL The language is SQL 13- List full details of agents with first...

    The Language Is SQL The language is SQL 13- List full details of agents with first names having exactly three or four letters sorted by the state attribute. 14- List the first name, the last name, the address, the city, the state, the branch number, and the email of agents working in the branch 8005 and having email addresses from yahoo.com. 15-List the first name, the last name, the address, the city, the state, the branch number, and the email...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT