October 2002
Beginner
864 pages
18h 41m
English
Today's final topic is the technique of joining a table to itself, also described as performing a self join. The syntax of this operation is similar to joining two tables. For example, to join table TABLE1 to itself, type this:
SELECT * FROM TABLE1, TABLE1 ROW REMARKS ROW REMARKS ========== ========== ========== ======== row 1 Table 1 row 1 Table 1 row 1 Table 1 row 2 Table 1 row 1 Table 1 row 3 Table 1 row 1 Table 1 row 4 Table 1 row 1 Table 1 row 5 Table 1 row 1 Table 1 row 6 Table 1 row 2 Table 1 row 1 Table 1 row 2 Table 1 row 2 Table 1 row 2 Table 1 row 3 Table 1 row 2 Table 1 row 4 Table 1 row 2 Table 1 row 5 Table 1 row 2 Table 1 row 6 Table 1 row 3 Table 1 row 1 Table 1 row 3 Table 1 row 2 Table ...
Read now
Unlock full access