SELECT wp_users.ID FROM wp_users LEFT JOIN wp_usermeta ON wp_users.ID = wp_usermeta.user_id WHERE meta_key LIKE 'wp_capabilities' AND meta_value LIKE '%guest%' AND DATEDIFF(CURDATE(), wp_users.user_registered) >= 14
SELECT wp_users.ID FROM wp_users LEFT JOIN wp_usermeta ON wp_users.ID = wp_usermeta.user_id WHERE meta_key LIKE 'wp_capabilities' AND meta_value LIKE '%agent%' AND DATEDIFF(CURDATE(), wp_users.user_registered) >= 180
Privacy - Davos Square | Accommodation and services at the highest level

Privacy

Lorem