It's UWAweek 47

help1402

This forum is provided to promote discussion amongst students enrolled in CITS1402 Relational Database Management Systems.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 684 articles.
Currently 107 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
5:53pm Thu 5th Sep, Kundan J.

"*Question: Find the item_ids that are either 'INK-RESIN' or 'INK-WRSOL' but not both in the po_items table. Hint you need to use UNION and INTERSECT operations.*" If you see the dataset from items table as below, IRN and IWS have one entry each for 'INK-RESIN' and 'INK-WRSOL'. Hence none of these item_ids are having both description or multiple entries in items table. item_id|descr|on_hand|price P9|9KG PAPER|300|25.25 P12|12KG PAPER|700|49.99 P18|18KG PAPER|100|100 IRN|INK-RESIN|3|500 IWS|INK-WRSOL|5|350 CBD|CARDBOARD|47|15 Now po_items table has these item_ids. As per question, we should be getting 'IRN' and 'IWS' both but only 'IWS' is expected in the output. Is my understanding correct about this question?

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy