hi to all


this is my query

select pid,IFNULL(!(endtime <=> 'null'),now()) from login where endtime <=> 'null'

when endtime is null it has to return the present date how do i do?

thanxs in advance

kalyan sekhar