G
Geo
I have one supper class table called sample and some subclasses called DNA ,
RNA etc. which inherite from Sample table. In sample table I have SampleId
(PK) and sampletype to show whether its RNA or DNA etc. But if i have to
query on the basis of sampleID to get all information about that, then How
can i know in which subtable it is? In my case i have to join all subclass in
all case to get the ans.
Any other option like a subquery which gives the sampletype from sample
table by taking sampleID and then i should forward the main query to that
particular subtable?
RNA etc. which inherite from Sample table. In sample table I have SampleId
(PK) and sampletype to show whether its RNA or DNA etc. But if i have to
query on the basis of sampleID to get all information about that, then How
can i know in which subtable it is? In my case i have to join all subclass in
all case to get the ans.
Any other option like a subquery which gives the sampletype from sample
table by taking sampleID and then i should forward the main query to that
particular subtable?