diff --git a/src/teaching/cse-562/2021sp/slide/2021-02-09-RA-Basics-and-Spark.erb b/src/teaching/cse-562/2021sp/slide/2021-02-09-RA-Basics-and-Spark.erb index c46ce588..53bde0d4 100644 --- a/src/teaching/cse-562/2021sp/slide/2021-02-09-RA-Basics-and-Spark.erb +++ b/src/teaching/cse-562/2021sp/slide/2021-02-09-RA-Basics-and-Spark.erb @@ -26,7 +26,7 @@ textbook: "Ch. 2.4, 5.1"
  • How can we tell if [Query B] is better than [Query A]?
  • -

    ... but first let';s remind ourselves of few definitions.

    +

    ... but first let's remind ourselves of few definitions.

    @@ -34,7 +34,7 @@ textbook: "Ch. 2.4, 5.1"
    Relation (Table)
    -
    A collection of Tuples of Values
    +
    A collection of Tuples of Primitive Values
    All tuples have the same set of attributes, or schema
    @@ -340,7 +340,7 @@ For each week:

    Intersection ($\cap$)

    Return all tuples appearing in both
    of two union-compatible relations

    - $$(\sigma_{(BORONAME=\texttt{'Brooklyn'})} (\pi_{SPC\_COMMON} \textbf{Trees})) \\ ~~~~~~~~~\cap (\sigma_{(BORONAME=\texttt{'Manhattan'})} (\pi_{SPC\_COMMON} \textbf{Trees}))$$ + $$(\pi_{SPC\_COMMON} ( \sigma_{(BORONAME=\texttt{'Brooklyn'})} \textbf{Trees}))\\ ~~~~~~~~~\cap (\pi_{SPC\_COMMON} (\sigma_{(BORONAME=\texttt{'Manhattan'})} \textbf{Trees}))$$

    What is this query asking?

    diff --git a/templates/cse4562_2021_slides.erb b/templates/cse4562_2021_slides.erb index 3d62afd0..f810a85d 100644 --- a/templates/cse4562_2021_slides.erb +++ b/templates/cse4562_2021_slides.erb @@ -55,7 +55,7 @@ class_name = "CSE-4/562 Spring 2021"

    <%= class_name %>

    <%= date %>

    <% if defined? textbook %> -
    Textbook: <%= textbook %>
    +
    Garcia-Molina/Ullman/Widom: <%= textbook %>
    <% end %>