MySQL Sintax To Find Unmatched Records Between Two Table
Find difference record between two tables. Here the code:
SELECT username
FROM (
SELECT username FROM member_option
UNION ALL
SELECT username FROM member WHERE status='1'
) tbl
GROUP BY username
HAVING count(*) = 1
ORDER BY username;
Good Luck ...
Subscribe to:
Posts (Atom)
Popular Posts
- Resize and Crop Image In PHP
- Find Unmatched Records Between Two Table in MySQL
- Adding foreign key in MySQL
- Find Duplicate Entries in MySQL
- Limiting Words Number In PHP
- Find All Directory Or File Recursive In PHP
- Chmod File Only Or Directory Only Recursively
- Convert DateTime To Your Prefer Timezone
- Auto Detect URL in Text Then Make Clickable
- Validate Email Address and Domain in PHP
Copyright © 2025
PHP Tutorial | Powered by Blogger
Design by Azmind.com | Blogger Template by NewBloggerThemes.com