• Compare the Login date and logout date using where clause.. To get the day out from the Login date use string functions.. I think it works,...