how to provide the following constraints in rollno attribute in sql
The student details include the name of the students, Roll Number, Address, University Emailid and Mobile number(The for mat of the Roll Number is as follows. Department Name in Two Letters (CS for Computer Science and Engineering, AM for AI and Machine Learning and so on), one letter for denoting the course(M for MS course and P for PhD Course), two digit Roll number starting with 01.