select TOP 1 * from WS_GETINLOG where GET_RESOURCE='None' and GET_IPADDR='54.224.102.26' and (GET_LOGOUTTIME is null) order by GET_NO DESC