What useful SQL statements should be known to all developers who might touch the back of the project?
( Update: as in the algorithm, we know that there are problems with sorting, shuffling problems, and we know some solutions for them. This question is aimed at the same thing).
For example, I can think of:
Get a list of classes that are not registered by any student. (Outer join in and check if the match is NULL or the Get from Classes table, all class identifiers that are not IN (a subquery to get all ClassIDs from the Registration Table))
Are there any SQL statements that should be under the control of all developers that might touch the back end data?
sql database backend
太極 者 無極 而 生
source share