We have a dataset/table of customer APPOINTMENTS. Users can tag a future appointment as "cancelled" and then either create (or not create) another future appointments for a customer (so customers have can have a number of appointment rows). I want my dataset to only show 'cancelled' appointments that do not have any related future appointments.
I can use .... SELECT <columns> FROM APPOINTMENTS WHERE APPOINTMENT_STATUS ='cancelled' ..... but this does NOT exclude customers who have future appointments.
Can this be done in 'query designer'?.... I'm not sure how. Any advice would be helpful. Thanks.