Presentation is loading. Please wait.

Presentation is loading. Please wait.

This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.

Similar presentations


Presentation on theme: "This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship."— Presentation transcript:

1 This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.

2 The parenthesis here are not necessary since it is a simple AND relationship.

3 This shows the simplified code.

4 Now I am showing two conditions in an OR relationship.

5 This shows the output. Note that you can tell whether a field is text or numeric by looking at the justification within the column.

6 Generated SQL.

7 or the topic is Oracle.

8 Starting a new query - If I just close, then the SQL option appears as the icon in the left line of icons. See next page.

9 This shows the SQL icon - when I click on it I get a notepad to develop the SQL on.

10 I made a mistake here that got caught when I tried to execute - note that there is not a close quote after Oracle.

11

12 The missing quote has been added.

13

14

15 Now I have taken out the parenthesis
Now I have taken out the parenthesis. Without the parenthesis, the conditions around the AND are grouped and processed together and the single condition after the OR stands alone.

16

17 This shows the same example using the user interface.

18 Notes on material in the text starts with this slide.

19

20 This is a string of 1 and 0 - I did not have a particular character in mind.

21 Files are like tables but they are not collected together within a database structure. They both contain records which contain fields which contain characters etc.

22

23


Download ppt "This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship."

Similar presentations


Ads by Google