//Table name $employee = $wpdb->prefix . "innovs_employee"; $wp_user = $wpdb->prefix . "users"; // SQL Juery $sql = "DELETE FROM $employee WHERE NOT EXISTS(SELECT NULL FROM $wp_user u WHERE u.ID = userID)"; $wpdb->query($sql);
Home » Delete SQL rows where IDs do not have a match from another table
Table of Contents
Delete SQL rows where IDs do not have a match from another table
- webserb575
- April 20, 2022
- 10:28 am
- No Comments
- Need any help? Feel free to message me
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Related Posts

Bangla
How to export SVG images from any website
In this video, I will show you how to export SVG image from any website
April 19, 2022
No Comments

Bangla
বাংলা লিখুন গুগল এর মধ্যেমে । অনলাইনে বাংলা লেখার সহজ উপায় । How write bangla by Google
বাংলা লিখুন গুগল এর মধ্যেমে । অনলাইনে বাংলা লেখার সহজ উপায় । How write bangla
April 19, 2022
No Comments