Oracle query to get column value and count of overall rows/results

 

select users.email, count(*) from users, user_pwd_history where email like ‘%govardhan%’ and users.USR_ID = user_pwd_history.USR_ID group by users.email

 

image

Leave a Reply

Your email address will not be published. Required fields are marked *