I have 2 tables:
TBL1
- STDNum
- ID
- Check
TBL2
- STDNum
- UpdateMe
the STDNum is the common column. In TBL1, the same STDNum can have multiple rows with different IDs (It’s not the case on TBL2). The result I wanted is to Update the UpdateMe Column in TBL2 (setting its value to 1) IF (and only IF) the Check column in TBL1 for that Particular STDNum is all set to 1.
Can anybody please help me? or any idea please?
OR