I\'m using postgresql. I have a category_master table that other category tables (such as customer_cat, product_cat, ...) inherit from it (because I am going to select all c