Couple of events going down in the Portland area over the next week or two that all the cool kids are going to attend (i.e. me and any other nerds who can sneak past their mom/wife/partner/WoW).
PostgreSQL Conference Fall 2007Ah, PostgreSQL... The Other White Meat. Or, at least, the Other Open Source DB. Those cooky kids are throwing their little conference at Portland State University in the heart of increasingly-less-sunny-as-fall-hits-its-stride Stumptown this coming Saturday, October 20th. You need to preregister and scrounge up sixty tax-de...
Woke up this morning to find a message in my inbox from the PostgreSQL pgsql-announce listserv with the subject "PostgreSQL 8.0, 8.1 on Windows End-of-Life." Pretty self-explanatory.
According to the announcement, no more updates for those versions on the Windows platform will be released once version 8.3 hits the shelves later this year. They recommend that anybody using one of those versions start thinking about upgrading as soon as possible.
Normally, we don't like to just parrot news readily available from other sources, but I didn't see this particul...
In our last SQL post, we talked about the three basic types of JOINs enterprising young SQL junkies might use to gather data from different tables in their databases.
"Enterprising..." Oh, how I crack myself up some times. Seriously. Don't make me explain why that's funny.
Anyway, in between Star Trek-related examples, we blabbed on and on about INNER JOINs, three kinds of OUTER JOINs, and the almost completely useless CROSS JOIN. You might remember, though, that every one of those brilliant examples involved querying existing data with SELECT statements. T...
When you've been playing around with SQL for awhile, you start to take your knowledge of JOINs for granted. When someone asks you about JOINing data from two or more tables together, you get this stunned look on your face... You know, the same one you get when you actually hear someone mutter the words "I've never seen 'Star Wars'." You forget that you, too, once didn't know a JOIN from a Jedi, and that everyone has to start somewhere.
So let's talk about JOINs. Like the name implies, a JOIN is simply a method for connecting two tables in a database, usually through so...
Let's say you have a table that contains the monthly figures for your army of sales people. At the end of every month, the sales manager asks you to pull a list of his top ten performers from the previous period. What do you do? Well, you could just pull the entire list, ORDER BY the month, and manually count off the top ten. That query might look something like this:
SELECT salesperson_name, sales_total FROM salesdata
WHERE sales_month =