Presentation is loading. Please wait.

Presentation is loading. Please wait.

Okay, we have a. Now what? Suppose I need these two values Every week on new data.

Similar presentations


Presentation on theme: "Okay, we have a. Now what? Suppose I need these two values Every week on new data."— Presentation transcript:

1 Okay, we have a

2 Now what?

3 Suppose I need these two values Every week on new data

4 Don’t paste!

5 Make repeatable analyses (without clicking) Easily add data

6 Structured query language

7 Developed at IBM

8 Structured query language Developed at IBM Usually NOT considered a programming language

9 Structured query language Developed at IBM Usually NOT considered a programming language But a “domain specific language”

10 Structured query language Developed at IBM Usually NOT considered a programming language But a “domain specific language” Aimed at analyzing and manipulating DATA

11

12

13

14

15

16

17

18

19 Suppose I need these two values Every week on new data

20

21 Where is like ‘filter’ in Excel

22

23 But we need temperature?

24 In Excel, we did a lookup

25

26

27 Temperature is here

28 To fix a bit (move rows up)

29

30

31 This results in Carthesian product

32

33

34

35

36 This is called a ‘JOIN’

37

38

39 Very similar to VLOOKUP

40

41

42 We have a temperature field now

43

44

45 We have the filter

46 We still need to show: Machine & temperature

47

48

49

50 Benefit over Excel: We can have multiple such queries

51 Benefit over Excel: We can have multiple such queries

52

53 We have the right data

54 We have the right data But! We need ‘pivot like’ summary on average

55

56

57

58 AVG of what? Of everything? Per machine?

59 AVG of what? Of everything? Per machine?

60

61

62

63

64

65 Almost there!

66

67 Suppose I need these two values Every week on new data

68

69

70

71

72

73

74 Remember lecture 1?

75

76

77

78

79 Make repeatable analyses (without clicking) Easily add data

80

81

82 Can’t pick field names now

83

84

85 We made an easily repeatable analysis!


Download ppt "Okay, we have a. Now what? Suppose I need these two values Every week on new data."

Similar presentations


Ads by Google