Here’s a SQL keyword you didn’t learn in school that will level-up your code: DECLARE DECLARE is how you define variables in SQL! You can use these variables later in your query. How does it work?
Some results have been hidden because they may be inaccessible to you
Show inaccessible results