CREATE or REPLACE PUBLIC SYNONYM user_app_priv
FOR app_user.user_app_priv
/
it is example of how to make public synonym
yasser
FOR app_user.user_app_priv
/
it is example of how to make public synonym
yasser
7/18/2012 10:19:48 AM
7/18/2012 10:20:46 AMSELECT (firstDateColumn - secondDateColumn) * 24 * 60 difference_in_minutes
FROM yourtable
If the dates are string then convert them first:SELECT (TO_DATE(firstDateColumn, 'dd/mm/yyyy HH:MI:SS AM') -
TO_DATE(secondDateColumn, 'dd/mm/yyyy HH:MI:SS AM')) *
24 * 60 difference_in_minutes
FROM yourtable