Presentation is loading. Please wait.

Presentation is loading. Please wait.

On new..

Similar presentations


Presentation on theme: "On new.."— Presentation transcript:

1 on new.

2

3 and a drive etc.

4 the F drive. database name whatever. I did not use stu.

5 I had a problem and I ended up setting up the database with the name whatever.
Then I decided to name the table stu. So I have the table stu in the database whatever.

6 table I named stu.

7

8

9 decimal numbers.

10 I will change this to a number and an integer.

11

12

13 Now I can add data.

14

15 Design.

16

17 query layout or I can double click on the fields.

18 A query lets you look at the data in a specified way
A query lets you look at the data in a specified way. I specified that I only wanted to see these 4columns. view.

19 view. The results of the query.

20 quotes.

21

22 This shows only records where the major contains CI.

23 the query makes.

24

25 for a name for the query. I called it oneCI.
Note also I could write ="CI" but if I do not put = it is assumed.

26 I am seeing records where major is CI AND credits > 12.

27

28 Now I am doing a new query where I am going to use an OR
Now I am doing a new query where I am going to use an OR. These are the results, you will see the query in a minute.

29 The query is that I want the major to be CI OR the num_crs to be > 3. Either of these will result in the record being displayed. the or line.

30

31

32 The non CI major has num_crs > 3.

33 I am going to sort by stuname in ascending order.

34

35 > 10.

36

37 the or line.

38 to better test my results.

39

40 Everyone is a CI major and where the gpa is not > 3
Everyone is a CI major and where the gpa is not > 3.5 then the credits are > 10.

41 I have taken out the CI on the OR line so now I have major CI and gpa > 3.5 or just credits > 10.

42

43 this.

44

45 Homework.


Download ppt "On new.."

Similar presentations


Ads by Google