Fun for Thursday, February 23, 2006

Bureaucracy

Reminder that tonight in 1-150 at 7:30 pm we have Shimon Rura's startup "meetup".

Design Question of the Day

Harvard library photo

Client Meeting Notes

http://l3v.mit.edu/doc/notes1

Back to the airlines

Corporate managers today see I.T. as worthless, but the clever programmers at American Airlines in the 1960s who made SABRE made $billions for the company. They did it all in less than 1 MB. Microsoft needs 10 MB these days for a printer driver.

Let's look at http://ug.mit.edu/doc/flight-reservations.txt first. Questions:

Let's look at some formatting...
select first, last from tickets, flights, people where flight_number =
237 and tickets.flight_id = flights.flight_id and people.person_id =
tickets.person_id;

versus

select first, last 
from tickets, flights, people 
where flight_number = 237 
and tickets.flight_id = flights.flight_id
and people.person_id = tickets.person_id;
Here's another take on it...
create table Flight_Schedule (
       Flight_ID int primary key,
       Flight# int not null,
       Origin varchar(3) not null,
       Destination varchar(3) not null,
       Depart_Time datetime not null,
       Arrive_Time datetime not null,
       Date datetime not null
)

create table Airplane_Statistics (
       Flight_ID int not null,
       Seat# int not null,
       Passenger_ID int
)

create table Passenger_Information (
       Passenger_ID int primary key,
       First_Names varchar(50) not null,
       Last_Names varchar(60) not null,
       CreditCard# varchar(16) not null,
       Address varchar(100) not null
)
Questions:

Let's look at the Oracle binary-tree figure.

User Registration

Let's hear from the teams... Philip shows the user admin pages from philip.greenspun.com?