Simplify Complex SQL With This Feature

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 3. 07. 2024
  • 📝 Get my free SQL Cheat Sheets: www.databasestar.com/get-sql-...
    🎓 Learn and become confident in SQL: databasestar.mykajabi.com/sql...
    There's a technique in SQL that allows you to simplify your queries and possibly improve performance.
    Learn what it is, why use it, and how to use it with some examples in this video.
    🔗 VIDEO LINKS:
    GitHub repo with the scripts from this lesson: github.com/bbrumm/databasesta...
  • Věda a technologie

Komentáƙe • 4

  • @jimshtepa5423
    @jimshtepa5423 Pƙed 24 dny +4

    what is a session in this context? say 25 users are looking at their historic data (performance on task completing), is a temporary table created by the first user queried relevant data will survive until the last 25th user closes her browser tab?

    • @DatabaseStar
      @DatabaseStar  Pƙed 21 dnem +2

      Good question. A session is a single user within their own connection to a database. If 25 users are viewing the database, they each have their own separate session. A temporary table can be created, and will only exist and be populated for that user. Once a user disconnects or closes their tab, the session will end.

  • @ravishmahajan9314
    @ravishmahajan9314 Pƙed 13 dny

    CTE are better than temp table