Friday, December 2, 2011

INSERT INTO BOOKS
(ISBN, Title, Author, Publisher)
VALUES
("111", "C++ Recipes", "Josh Waxman", "Waxman Books")

UPDATE BOOKS
Set
ISBN="444"
Where Author="Josh Waxman"

UPDATE BOOKS
Set
ISBN=ISBN & " 2nd Edition"
Where Author="Josh Waxman"

Delete * From Books
Where Author="Josh Waxman"

CREATE TABLE

Quiz on tuesday, dec 6
next chap in book
material up to Nov 17th

read ch 8 book.

Final on 22nd, 6:30-8:30, here, in C205

SUMMARY QUERIES

Group by Clause


SELECT Publisher, AVG(ListPrice) As AveragePrice From BOOKS
GROUP BY Publisher

Select [Last Name], [First Name], Salary+Bonus As TotalSalary
from Employee

Calculate field

Split form

Form/SubForm
you need a defined relationship


There are two types of Macros.
Macros are USUALLY VBA

Access does have VBA
But they also have "Macros"

a few interesting Algorithms
Bubble sort

n elements i want to sort
each time, i do about n comparisons
i need to repeat it about n times
n squared
O(n^2)


Sorting machines

3 comments:

  1. what is the format of the final? and what is the final on?

    ReplyDelete
  2. short answer and multiple choice, based on the lecture mater and reading material.

    i'll go over the quizzes as a sort of review...

    -josh

    ReplyDelete
  3. as per cuny first schedule, our final is dec 22?

    ReplyDelete