Since the subclass tables have a foreign key association to the superclass table, there will not be any duplicate columns in the subclass table except one column which is required to maintain the relation between Parent and subclass tables through a foreign key.
CREATE TABLE `Employee` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(50) NOT NULL DEFAULT '0',
`age` BIGINT(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
)
CREATE TABLE `P_Employee` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
`salary` BIGINT(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`)
CONSTRAINT `ForK_Employee` FOREIGN KEY (`id`) REFERENCES `Employee` (`id`)
)
CREATE TABLE `C_Employee` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
`hourlyrate` BIGINT(11) NULL DEFAULT NULL,
`duration` BIGINT(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`)
CONSTRAINT `ForK_Employee2` FOREIGN KEY (`id`) REFERENCES `Employee` (`id`)
)