Report: users ordered according to last login

From TNG_Wiki
Jump to navigation Jump to search

Description: users ordered according to last login

Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate


SELECT userID, realname, description, username, branch, date( dt_registered ) AS dt_registered, date(lastlogin) as lastlogin FROM tng_users ORDER BY lastlogin DESC