So my teacher asked me to condition the double variable so it can't be higher than 500. How can I do that when creating the table?
CodePudding user response:
You should learn how to use the CHECK CONSTRAINT IN SQL. W3School is always the first place you can learn it by yourself: https://www.w3schools.com/sql/sql_check.asp