I've limited knowledge of Oracle and its PSQL language. I am trying to create two views which gave me simpler access to the data I need for an application I am working on.
Given a table:
I would like to create the sold and bought views. Any suggestions?