Entry tags:
memeage
Grab the book nearest you. Right now. Turn to page 56. Find the fifth sentence. Post that sentence along with these instructions in your LiveJournal. Don't dig for your favorite book, the coolest, the most intellectual. Use the CLOSEST.
For example, to count the number of waterfalls associated with a county, specify
From SQL Pocket Guide 2nd edition by Jonathan Gennick
Aren't you excited?
For example, to count the number of waterfalls associated with a county, specify
SELECT COUNT(u.county_id) AS county_count FROM upfall u; 6
From SQL Pocket Guide 2nd edition by Jonathan Gennick
Aren't you excited?

no subject
no subject
I'm just confused at the way all their tables are named things like "upfall u" but they use "u.county_id" to access the field in it. Not that I've bothered to read the front matter to find out what their example database looks like; this is just one of a number of vaguely recent SQL books I pulled from the stack to pile on my desk for my current project. :)
no subject
The aliases say "in this SQL statement when I use 'e' I mean the employees table and when I use 'd' I mean the depts table."
You could write this statement without aliases, but if your tables have long names it gets messy (and if you use the same table twice in a statement you must use aliases):
As for the statement from the book, all it does is count the number of waterfalls which have a non-NULL county_id, which is probably all of them.
no subject
would have been earlier this weekin what I do here. :Dno subject
no subject
annoy the hell out of you! XD(But today I have to do data entry of new subject categories for 400+ databases *cries*)
no subject
no subject
no subject
no subject
--_Federal Civil Judicial Procedure and Rules_, 2008 revised edition
no subject
(I'm not still learning Perl, but it's a nice quick reference book.)
no subject
no subject
"But if the white parent is the father, instead of the mother, the offspring are unblushingly reared for the market."
From Harriet Jacobs' Incidents in the Life of a Slave Girl.