Help please,
Pls. see the attached image first.
in History table, I have students and their results.
in current table, I have some of those students (in red) and other students as well.
I want to do a select query 1st (just to see and confirm and delete).
how to write a query where it should delete students & their results all from HISTORY TABLE ONLY , after comparing, searching in current table and delete students only if not found in current table.
Am I making sense??
example. ( in the attached image, there are 2 red color students are in both history & current table they should not be deleted, I want to delete other students in history table ).
this means, those red color students are still in school and actively progressing in other programs (XYZ table) and they should be able to see their history results from history table (ABC).
Thank you in advance,
Vivah