-- graph_time[ Biorhythm:1:2,3,4 ]
SELECT
  AA.NUM "DAY_",
  ROUND(100*SIN( (DATEDIFF('dd',BIRTH_DAY,sysdate)+AA.NUM) * PI() * 2 / 23.0),0)  "Physical",
  ROUND(100*SIN( (DATEDIFF('dd',BIRTH_DAY,sysdate)+AA.NUM) * PI() * 2 / 28.0),0)  "Emotional",
  ROUND(100*SIN( (DATEDIFF('dd',BIRTH_DAY,sysdate)+AA.NUM) * PI() * 2 / 33.0),0)  "Intellectual"
FROM 
  (SELECT '1977-08-11' "BIRTH_DAY" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC') DD,
  (SELECT NUM FROM
    (SELECT -10 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -9 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -8 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -7 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -6 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -5 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -4 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -3 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -2 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT -1 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 0 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 1 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 2 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 3 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 4 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 5 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 6 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 7 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 8 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 9 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
     UNION (SELECT 10 "NUM" FROM INFORMATION_SCHEMA.SYSTEM_SCHEMAS WHERE TABLE_SCHEM = 'PUBLIC')
   ) AA 