oracle - What would be the SQL query for this? -
list name of clients have viewed property based on uml graph
select [c-name] [client] join [property] on client.clientid = property.propertyid
if i've understood uml model can't, view-appointment needs clientid , propertyid adding.
then can do, give clients have appointment (obviously adding where
on date column give future/past appointments):
select [c-name] [client] inner join [view-appointment] on client.clientid = view-appointment.clientid;
if want property details in query need inner join:
inner join property on property.propertyid = view-appointment.propertyid
Comments
Post a Comment