MySQL Forums
Forum List  »  Newbie

Creating view, showing only data whithout connceted data
Posted by: Raphael Nelkel
Date: July 30, 2020 02:48PM

Hi,

I have 3 tables:
-object
-order
-report
Each object gets one or several orders. Each order gets one report.

They are connected in the following way:
-order -->objectID

-report -->objectID
-->orderID

Now I want to create a view showing all oders (together with object informations) which not yet have a report (no report in the database is yet connected via foreign key to an order).

What would be the best solution to do this?

Thank you very much!

Options: ReplyQuote


Subject
Written By
Posted
Creating view, showing only data whithout connceted data
July 30, 2020 02:48PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.