I've got a couple of WordPress customers that I would like removed within the wordpress_customers table. The query I wish to run is:

DELETE FROM `wp_users` WHERE `user_registered` > '2010-08'

However, you will find additionally a garbage load of rows I would like taken off wordpress_usermeta, in which the column user_id matches the above mentioned query. How do i remove the attached rows in wordpress_usermeta simultaneously?

Remove FROM wp_usermeta WHERE wp_users.user_registered> '2010-08' ANDwordpress_customers.user_id = wp_usermeta.user_id`

Replace user_id according your database schema