Download presentation
Presentation is loading. Please wait.
Published byJustina Gordon Modified over 8 years ago
1
JOINING TABLES Using multiple tables [in a report] complicates the reporting environment….. Linking tables (often also known as joining tables) consists of choosing the common field that will allow the second table to follow the main table as the main table is read record by record. From The Complete Reference Seagate Crystal Reports 8
2
Student NameClass Code Cubby105 Annette101 Bobby103 Sharon STUDENT_ENROLLMENTS Class CodeDescription 101Math 102Spanish 103Science 104English 105History CLASS_DESCRIPTIONS
3
Student NameClass Code Cubby105 Annette101 Bobby103 Sharon STUDENT_ENROLLMENTS Class CodeDescription 101Math 102Spanish 103Science 104English 105History CLASS_DESCRIPTIONS TABLES JOINED WITH AN EQUAL (INNER) JOIN (gets records that have matching join field values)
4
JOIN REPORT EXAMPLES Report when tables are joined with an EQUAL (inner) join Student NameClass Description CubbyHistory AnnetteMath BobbyScience
5
Student NameClass Code Cubby105 Annette101 Bobby103 Sharon STUDENT_ENROLLMENTS Class CodeDescription 101Math 102Spanish 103Science 104English 105History CLASS_DESCRIPTIONS TABLES JOINED WITH A LEFT (OUTER) JOIN (gets ALL records from the left side table and only matching records from the right side table)
6
JOIN REPORT EXAMPLE Report when tables are joined with a LEFT (outer) join: Student NameClass Description CubbyHistory AnnetteMath BobbyScience Sharon
7
MOSES DATABASE JOIN QUIZ What type of join (equal or left) would you use for a report in order to: –Display all Job Seekers who received services in your Career Center as well as any obtained employment information that they may have? (hint: the job seekers are in one table and the services and obtained employment information are in another)
8
MOSES DATABASE JOIN QUIZ What type of join (equal or left) would you use for a report in order to: –Display Title I Participants who are enrolled in training and their training information? (hint: the Title I Participants are in one table and the training information is in another)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.