Question

We are given a relational schema. Study the schema and understand the information contained in each...

We are given a relational schema. Study the schema and understand the information contained in each column. It is helpful to visualize sample data in each column when you do this.

Now, look at each question, that represents a request for business information. Visualize what columns you want in the answer to the question.

Formulate a query in relational algebra that will answer the business information request.

Make sure you follow the syntax for relational algebra, as shown in class.

Here is a schema for POP:

JOURNALS(j_num, j_name, j_subject_area, chief_editor_r_ssn[1])

chief_editor_rssn FK REF Researchers

ISSUES(j_num, i_num, i_date, i_num_pages)

j_num FK REF journals

RESEARCHERS(r_ssn, r_name, r_address, r_phone, r_institution)

ARTICLES(art_num, art_title, art_area_topic, art_abstract, A_submittedJ_j_num, A_publishedI_ j_num, ApublishedI_i_num)

A_submittedJ_j_num FK REF journals

(A_publishedI_ j_num, ApublishedI_i_num) FK REF issues

AREA_EDITS(j_num, r_ssn)

j_num FK REF journals

r_ssn FK REF researchers

WRITES(r_ssn, art_num)

r_ssn FK REF researchers

art_num FK REF articles

REVIEWS(r_ssn, art_num)

r_ssn FK REF researchers

art_num FK REF articles

RESEARCH_SPECIALTIES(r_spec_name)

RRS(r_ssn, r_spec_name)

r_ssn FK REF researchers

spec_name FK REF research_specialties

Please formulate the following queries using relational algebra:

1. The names of all researchers from University of Tulsa.

2. The names of all researchers from TU with an “MIS” specialty.

3. The names and addresses of all researchers who are chief editors.

4. The names of all journals with subject area = “MIS”.

5. The names and addresses of all researchers who have written or reviewed an article.

6. The titles of all articles published in “Journal of the Association of Information Systems”.

7. The number of pages of the issue that contains article number 5471.

8. The specialties of all researchers named “John Von Neumann” who are NOT at research institution “Princeton University”.

[1] The chief_editor_r_ssn is the r_ssn of the researcher who is chief editor for the journal.

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

1. SELECT r_name

    FROM RESEARCHERS

    WHERE r_institution='University of Tulsa';

2. SELECT r_name

    FROM RESEARCHERS

    WHERE r_institution='University of Tulsa'

    AND (SELECT r_ssn FROM RRS WHERE r_spec_name= 'MIS');

3. SELECT r_name, r_address

    FROM RESEARCHERS

    WHERE r_ssn=(SELECT chief_editor_r_ssn FROM JOURNALS);

4. SELECT j_name

    FROM JOURNALS

    WHERE j_subject_area= 'MIS';

5. SELECT r_name, r_address

    FROM RESEARCHERS

    WHERE r_ssn=(SELECT r_ssn FROM WRITES OR SELECT r_ssn FROM REVIEWS);

6. SELECT art_title

    FROM ARTICLES

    WHERE A_publishedI_ j_num = (SELECT j_num FROM JOURNAMS WHERE j_name='Journal of the Association of Information Systems');

7. SELECT i_num_pages

    FROM ISSUES

    WHERE i_num= (SELECT ApublishedI_i_num FROM ARTICLES WHERE art_num ='5471');

Add a comment
Know the answer?
Add Answer to:
We are given a relational schema. Study the schema and understand the information contained in each...
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
  • Here is a schema for POP: JOURNALS(j_num, j_name, j_subject_area, chief_editor_r_ssn[1]) chief_editor_rssn FK REF Researchers ISSUES(j_num, i_num,...

    Here is a schema for POP: JOURNALS(j_num, j_name, j_subject_area, chief_editor_r_ssn[1]) chief_editor_rssn FK REF Researchers ISSUES(j_num, i_num, i_date, i_num_pages) j_num FK REF journals RESEARCHERS(r_ssn, r_name, r_address, r_phone, r_institution) ARTICLES(art_num, art_title, art_area_topic, art_abstract, A_submittedJ_j_num, A_publishedI_ j_num, ApublishedI_i_num) A_submittedJ_j_num FK REF journals (A_publishedI_ j_num, ApublishedI_i_num) FK REF issues AREA_EDITS(j_num, r_ssn) j_num FK REF journals r_ssn FK REF researchers WRITES(r_ssn, art_num) r_ssn FK REF researchers art_num FK REF articles REVIEWS(r_ssn, art_num) r_ssn FK REF researchers art_num FK REF articles RESEARCH_SPECIALTIES(r_spec_name) RRS(r_ssn, r_spec_name) r_ssn FK...

  • Below is the information: It is important to understand the different leadership styles employed by nursing...

    Below is the information: It is important to understand the different leadership styles employed by nursing leaders in healthcare organizations and to understand their significance on nursing practice and patient outcomes, for better or for worse. Objective: Read the articles from Nursing Standard (PDF) and Bradley University (PDF). In -250 words, formulate an opinion on the following: 1. Reflect on an occasion where you experienced ineffective leadership (doesn't have to be in the hospital). What behaviors did they display? What...

  • Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around...

    Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around risk and threat management, fostering an environment in which objectives seem clear: manage risk, manage threat, stop attacks, identify attackers. These objectives aren't wrong, but they are fundamentally misleading.In this session we'll examine the state of the information security industry in order to understand how the current climate fails to address the true needs of the business. We'll use those lessons as a foundation...

  • First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below...

    First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....

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