I am working on one major issue where I have to add some constraint or need a way by which only this combination is allowed.
Table User (Strind id, String status)
only single id is allowed with value status 1. How can i write the constraint or how to solve this issue. mysql database Thanks, Hasnain