I have table as below
Table 1:customer table. It stores customer status
Say customer-number
Customer-status
Table 2 : Customer-account
It stores accounts associated with a customet
Say customer-number
Account-number
Table 3:account table
It store account status
Say account number
Account status
I need to fetch all customers whose status is f and all accounts associated with it have status s
Can anyone help me with query.