100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ISYS 2263 Chapter 10 Database Assignment Questions And Answers Latest Updates $7.99   Add to cart

Exam (elaborations)

ISYS 2263 Chapter 10 Database Assignment Questions And Answers Latest Updates

 2 views  0 purchase
  • Course
  • ISYS 2263 Chapter 10 Database
  • Institution
  • ISYS 2263 Chapter 10 Database

Task 1: For every property, list the management office number, address, monthly rent, owner number, owner's first name, and owner's last name. - ️️SELECT O.OFFICE_NUM, P.ADDRESS, P.MONTHLY_RENT, OW.OWNER_NUM, OW.FIRST_NAME, OW.LAST_NAME FROM OFFICE O JOIN PROPERTY P ON O.OFFICE_NUM = P.OFF...

[Show more]

Preview 2 out of 8  pages

  • September 22, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ISYS 2263 Chapter 10 Database
  • ISYS 2263 Chapter 10 Database
avatar-seller
ACADEMICMATERIALS
ISYS 2263 Chapter 10 Database
Assignment
Task 1: For every property, list the management office number, address, monthly rent,
owner number, owner's first name, and owner's last name. - ✔️✔️SELECT
O.OFFICE_NUM, P.ADDRESS, P.MONTHLY_RENT, OW.OWNER_NUM,
OW.FIRST_NAME, OW.LAST_NAME

FROM OFFICE O

JOIN PROPERTY P ON O.OFFICE_NUM = P.OFFICE_NUM

JOIN OWNER OW ON P.OWNER_NUM = OW.OWNER_NUM

GROUP BY P.PROPERTY_ID

Task 1: For every property, list the management office number, address, monthly rent,
owner number, owner's first name, and owner's last name - ✔️✔️SELECT
PROPERTY.OFFICE_NUM, PROPERTY.ADDRESS, PROPERTY.MONTHLY_RENT,
OWNER.OWNER_NUM, OWNER.FIRST_NAME, OWNER.LAST_NAME

FROM PROPERTY, OWNER

WHERE PROPERTY.OWNER_NUM = OWNER.OWNER_NUM

Task 2: For every completed or open service request, list the property ID, description,
and status. - ✔️✔️SELECT PROPERTY_ID, DESCRIPTION, STATUS FROM
SERVICE_REQUEST

Task 3: For every service request for janitorial work, list the property ID, management
office number, address, estimated hours, spent hours, owner number, and owner's last
name. - ✔️✔️SELECT P.PROPERTY_ID, P.OFFICE_NUM, P.ADDRESS,
S.EST_HOURS, S.SPENT_HOURS, O.OWNER_NUM, O.LAST_NAME

FROM PROPERTY P

JOIN SERVICE_REQUEST S ON P.PROPERTY_ID = S.PROPERTY_ID

JOIN OWNER O ON P.OWNER_NUM = O.OWNER_NUM;

Task 3: For every service request for janitorial work, list the property ID, management
office number, address, estimated hours, spent hours, owner number, and owner's last
name - ✔️✔️SELECT PROPERTY.PROPERTY_ID, PROPERTY.OFFICE_NUM,

, PROPERTY.ADDRESS, SERVICE_REQUEST.EST_HOURS,
SERVICE_REQUEST.SPENT_HOURS,

OWNER.OWNER_NUM, OWNER.LAST_NAME

FROM PROPERTY, SERVICE_REQUEST, OWNER WHERE
PROPERTY.PROPERTY_ID = SERVICE_REQUEST.PROPERTY_ID

AND PROPERTY.OWNER_NUM = OWNER.OWNER_NUM

Task 4: List the first and last names of all owners who own a two-bedroom property.
Use the IN operator in your query. - ✔️✔️SELECT FIRST_NAME, LAST_NAME

FROM OWNER

WHERE OWNER_NUM IN (SELECT OWNER_NUM FROM PROPERTY WHERE
BDRMS=2);

Task 4: List the first and last names of all owners who own a two-bedroom property.
Use the IN operator in your query - ✔️✔️SELECT OWNER.FIRST_NAME,
OWNER.LAST_NAME

FROM OWNER

WHERE OWNER.OWNER_NUM IN (SELECT OWNER_NUM FROM PROPERTY
WHERE BDRMS = 2)

Task 5: Repeat Task 4, but this time use the EXISTS operator in your query. -
✔️✔️SELECT FIRST_NAME, LAST_NAME

FROM OWNER o

WHERE EXISTS

(SELECT 1

FROM PROPERTY

WHERE OWNER_NUM=o.

OWNER_NUM AND BDRMS = 2);

Task 5: Repeat Task 4, but this time use the EXISTS operator in your query -
✔️✔️SELECT OWNER.FIRST_NAME, OWNER.LAST_NAME

FROM OWNER

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ACADEMICMATERIALS. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.99
  • (0)
  Add to cart