I have two tables TABLE1 and TABLE2 and through inner join of these two tables I will get the DOB( DD/MM/YYYY format). Now I have to calculate the age using this DOB and then draw a graph based based on this age(using java). I have no idea how to do it.
NOTE: I tried to look for this but I couldn't find a suitable solution for it. UPDATE: I know that I can use PrimeFaces easily to draw graph but I for that I need age.I am having problem in getting age.
UPDATE Code to get DOB
Select TABLE1.dob
from TABLE1 INNER JOIN TBALE2 on TABLE1.id = TABLE2.id