If the attributes are defind as timestamps, you should be able to do something like:
Select (Timestamp2 - Timestamp1) DAY(4)
From Table1 ;
Change DAY to HOUR or MINUTE for those periods. The (4) is the number of digits in the results, 4 is the max, so for example if the timestamps are 7 days apart, you would get an error deriving Minutes.