Περιεχόμενο Μαθήματος
Προετοιμασία
Σε αυτήν την ενότητα θα γίνει εγκατάσταση του SQL Server Management Studio και εισαγωγή δεδομένων για τα demo activities.
0/4
Set Operations
Σε αυτήν την ενότητα θα μάθουμε τα 3 set operations και πώς εφαρμόζονται αυτά στην SQL.
0/6
Τελικό Project
Σε αυτή την ενότητα θα συζητηθεί εκτενώς ποιο είναι το τελικό project, ποιος είναι ο στόχος του, τι αναμένω ως καθοδηγήτρια από εσάς σχετικά με το τελικό project, πώς αναμένετε να είναι η συνεργασία μας και διάφορες οδηγίες επιτυχίας του project.
0/5
Επιπλέον Πηγές και Αξιολόγηση
Εδώ θα βρείτε διάφορα Cheatsheets, Youtube Videos, Άρθρα και e-books τα οποία μπορούν να σας βοηθήσουν στην επέκταση γνώσεων επί του θέματος του μαθήματος. Επίσης, θα αξιολογήσετε το μάθημα.
0/3
SQL Mastery: Από Αρχάριος σε Προχωρημένος
Σχετικά με το Μάθημα

SQL Joins


  • SQL Joins are used to combine rows between two tables in a relational database based on a common column – which column can be the concatenation of several ones (hint: search for composite keys).
  • Joins are so important because with just one query, we can obtain a single row full of information! Just find the common key-field between tables (mostly a primary key of one table is combined with the foreign key of the other tablebut this is not a rule).

Joins Explained


Each row of the owners table identifies a different pet owner, where the ID column is a unique identifier. The Pet_ID column (in the owners table) contains the ID for the pet that belongs to the owner (this number matches the ID for the pet from the pets table).

Example:

  • The pets table shows that Dr. Harris Bonkers is the pet with ID 1.
  • The owners table shows that Aubrey Little is the owner of the pet with ID 1.

Putting these two facts together, Dr. Harris Bonkers is owned by Aubrey Little. Likewise, since Veronica Dunn does not have a corresponding Pet_ID, she does not have a pet. And, since 5 does not appear in the Pet_ID column, Maisie does not have an owner.

0% Ολοκληρωμένο
Κύλιση στην κορυφή