Example Scenario: Let say I only have 2 types of buyers for a product house.
Buyer 1: Individual Buyer
Buyer 2: Company Buyer
Distinct for Buyer 1 attributes: FName, LName, Bdate and Age
Distinct for Buyer 2 attributes: Company_Name, Nature_Of_Business and Type_Of_Business
Common for the 2 Buyers are: Address, Email, Tel_No, Country
Db Table Name: Buyer
Attributes: BuyerID, BuyerType **FName,LName,Bdate,Age**,Company_Name, Nature_Of_Business and Type_Of_Business
My Explanation: If you try to see the table Buyer, both the attributes of Individual and Company buyer are merged because they are all buyers they are just categorized base on BuyerType(Individual or Company)
Issue: If the buyer type is a Company then my Individual Attributes(i.e.FName,LName etc.) will be recorded empty or vice versa. My thoughts prevents me to separate them because I DON'T want to create Buyer's ID for each table.They should have only 1 BuyerID whether they are Individual or a Company.
Problem: How to construct DB Table(s) to solve this query:
I want report that shows all the buyers information with no empty records.
Sounds crazy but when the possible report will be generated, the details might give empty records of the Individual buyer fields if the buyer is type Company
Note: This can be done easily if I will filter specific Buyer type but that is not the case. I want all.