Presentation is loading. Please wait.

Presentation is loading. Please wait.

either of two other things (an OR relationship between them)

Similar presentations


Presentation on theme: "either of two other things (an OR relationship between them)"— Presentation transcript:

1 either of two other things (an OR relationship between them)
just one thing that stands alone.

2 I am going to write an SQL statemnt, so I go into query and ADD the table. Then I go to the icon and select SQL view.

3 I am writing the SQL here in the screen that comes up.
I copied it here so it was more readable. I am looking for a list of fields from booktable with two criteria in an AND relationship.

4

5 I went back and change the AND to an OR in the SQL query and this is the result.

6 then either the year has to be greater than 2002 or the publisher has to be Course.

7 Again this is the copy that I put in notepad to make it more visible.

8 get resoved first.

9 publisher = Course.

10 flowchart is easier.

11 Here I asked about the things in the AND relationship first, this means that if I get a NO to either, I have to ask about publisher.

12

13

14 If I go back to query view, I can see that Microsoft created the user interface query from my SQL.

15 This is the one where edition had to be 2 and either of the other things - the parenthesis was used to group.


Download ppt "either of two other things (an OR relationship between them)"

Similar presentations


Ads by Google