I have two tables A and B and I want to show some of the column from both the tables.
Table A: column names
Customer_name
Customer_id
Customer_Address
Table B: Column names:
Customer_id
Customer_service_type
Service_charges
service_category
Customer_id is the primary key. Now I want below column.
Customer_name
Customer_id
service_category
Customer_service_type
but the condition is: If Customer_service_type is IN ('ABC', 'BCA') then a 'Y' will be printed and for others and Null Customer_service_type a 'N' will be printed.
Please let me know how to show that.