年齢を求めるSELECT date_part('years', age(timestamp '2000-01-01')) AS age; age ----- 12 参考http://www.postgresql.jp/document/8.3/html/functions-datetime.html |
|
年齢を求めるSELECT date_part('years', age(timestamp '2000-01-01')) AS age; age ----- 12 参考http://www.postgresql.jp/document/8.3/html/functions-datetime.html |
|