Dedicated to beginners, veterans should not throw bricks
Writing SQL statements has always been a confusing task. There is no good error detection mechanism when writing. Errors can only be found at runtime, especially when there are more related tables. , your thoughts will inevitably become dizzy and you will end up lost somewhere. Recently, I accidentally discovered that it is not that M$ does not provide a good fool-like interface for us lazy brothers to use, but that we turn a blind eye to it. That is the view manager in SQL Server, which not only allows us to conveniently Query multiple tables without paying attention to the relationship between them (of course there must be necessary relationships between multiple tables). You can also use it to set aliases, sorting, conditions, etc., and then automatically generate a good style. SQL SELECT statement, and you can also test the running results. Enough nonsense, take a look at the picture below and experience it for yourself :-)
(