Download presentation
Presentation is loading. Please wait.
Published byΠηρω Ζάνος Modified over 6 years ago
3
follow this structure.
4
Creating records following the structure of the table is populating the table.
5
Text or character literals are enclosed in quotes.
6
This shows the logic flowchart for the decison which is asking whether the major contains CI.
7
relationship.
8
which says these are in an OR relationship.
9
I am now looking at the data to figure out which criteria caused the record to be displayed. Note that major="BU" does not meet the first criteria and those records also have numcrs not > 10 so they do not meet the second criteria. Therefore they do not display.
10
If I change the num of courses for Linda Ames to 12 then the record meets the > 10 criteria and is displayed even though it did not meet the major = "CI" criteria.
11
and the OR line of the query.
12
> 15 so the second chance of gpa > 3 is why she got displayed.
13
The second or OR criteria is gpa > 3
The second or OR criteria is gpa > 3. That criteria has nothing else on the line so it stands alone. Therefore all students with gpa > 3 will be displayed without checking anything else. It stands alone!
14
Analyzing the data we see that gpa >3 was responsible for our seeing the two records with BU and also Mary Smith.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.