I want to select columns from 2 tables. Left table has user data and right table has daily login entries of all users. I want only the latest login entry of each individual user