How to write a SQL query where I have a table called ACC_REQUEST?
There is a column in the table called REQUEST_STATUS with the values of 'pending', 'withdrawn', and 'completed
If the request status value = 'pending then select approver_name from ACC_APPROVAL, else select request status