Seleccionar la fecha mas grande de dos tablas select Max(date1)
Esta es la forma de seleccionar la fecha maxima de dos tablas que contienen el mismo campo en pl / sql
select max(v.Date_1) from
(select max(fecha_pago) as Date_1 from pagos_totales
where num_cliente=693591
Union all
Select max(fecha_pago)
from historia where num_cliente=693591)  v
Add Comment Filed Under [ code inside ]

Comments

No comments posted yet.

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Comment*

 

Preview Your Comment.