Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xiv |
Next to chapter 5 Heading in TOC, "ver" should be "Ever" |
Anonymous | Nov 01, 2007 | |
Printed | Page xxix 3rd paragraph |
"But we assume that if you're holding this book, you really want to |
Anonymous | Nov 01, 2007 | |
Printed | Page xxxiv 3rd paragraph, line 5 |
Missing period after "tennis" |
Anonymous | Jun 01, 2009 | |
Printed | Page p106 Results box |
On Page 106 the query is: |
Anonymous | Sep 19, 2009 | Mar 01, 2011 |
Printed | Page 15, 16 3rd sentence, top of page |
"Come up some likely columns for each table" should be "come up with |
Anonymous | Nov 01, 2007 | |
Printed | Page 19 In the annotation pointing to the comma in the third line of bolded code at the bottom of |
the page, "colums" should be "columns". |
Anonymous | May 01, 2008 | |
Other Digital Version | 19 In the annotation pointing to the comma in the third line of bolded code at the bottom of |
the page, "colums" should be "columns". |
Anonymous | May 01, 2008 | |
Printed | Page 19 table and associated CREATE statement |
doughnut_type is created for length 6.but the example table above that list has two entries using value 'cruller' which are too long for that field. Note from the Author or Editor: |
Anonymous | Nov 27, 2009 | Mar 01, 2011 |
Printed | Page 25 in handwritten text at top of rightmost column |
The text reads "These two numbers show how many digits the database should expect in front the decimal, and how many after." This is incorrect. It should read: "These two numbers show how many digits the database should expect, and how many after the decimal." |
Anonymous | Nov 01, 2007 | |
Printed | Page 25 Table. First row, last column and legend |
The description of the decimal type is wrong and the example number actually doesn't fit the datatype provided. |
Anonymous | Nov 01, 2007 | |
Printed | Page 26 Table with solutions |
tax_rate must be defined as dec(5,3) to hold values from 0.000 to 100.000 (99.999 being the significant number here) to correctly hold all the percentages in the format shown in the example. |
Anonymous | Nov 01, 2007 | |
Printed | Page 26 tax_rate row, Best Choice of Data Type column |
In http://oreilly.com/catalog/9780596526849/errata/9780596526849.1113 you state this needs to be DEC(5,3) for tax rates of 0.000 to 100.000. Obviously if you were to tax at 100.000, you'd need DEC(6,3). Note from the Author or Editor: |
Anonymous | Jun 26, 2008 | Jun 01, 2009 |
Printed | Page 30 SQL Magnets Solution |
The CREATE DATABASE and USE DATABASE commands need to end in a semicolon |
Anonymous | Nov 01, 2007 | |
Printed | Page 31 Under there are no Dumb Questions, answer to 3rd Question |
In the line "Since there is no data in the table yet, we can simply get rid of the old one away |
Anonymous | May 01, 2008 | |
Other Digital Version | 31 Under there are no Dumb Questions, answer to 3rd Question |
In the line "Since there is no data in the table yet, we can simply get rid of the old one away |
Anonymous | May 01, 2008 | |
Printed | Page 42 annotation in the middle of the page |
"We're using the the version..." should be "We're using the version..." |
Anonymous | Nov 01, 2007 | |
Printed | Page 48 arrow pointing at DEC(3,2) |
This arrow should have a handwritten annotation that reads, "The total digits allowed are 3, with 1 before and 2 after the decimal." |
Anonymous | Nov 01, 2007 | |
Printed | Page 48 table and associated CREATE statement |
doughnut_type is created for length 6.but the example table above that list has two entries using value 'cruller' which are too long for that field. (same problem as on page 19) Note from the Author or Editor: |
Anonymous | Nov 27, 2009 | Mar 01, 2011 |
Printed | Page 53 1st paragraph |
"When it comes to databases, chances are you'll need to retrieve your |
Anonymous | Nov 01, 2007 | |
Printed | Page 76 Solution on the lower portion of the page doesn't include possible answer: WHERE drink_name = 'Bull Frog'. |
Added an annotation to the bottom part of the page: "You could also have used the obvious query SELECT drink_name FROM easy_drinks WHERE drink_name = 'Bull Frog';" |
Anonymous | May 01, 2008 | |
Other Digital Version | 76 Solution on the lower portion of the page doesn't include possible answer: WHERE drink_name = 'Bull Frog'. |
Added an annotation to the bottom part of the page: "You could also have used the obvious query SELECT drink_name FROM easy_drinks WHERE drink_name = 'Bull Frog';" |
Anonymous | May 01, 2008 | |
Printed | Page 77 First bullet point: removed extra "when" |
|
Anonymous | May 01, 2008 | |
Printed | Page 82 Solution to third query |
Solution to third query should be the following: |
Anonymous | Nov 01, 2007 | |
Printed | Page 86 first sentence |
"So far we have only used the equal sign in our WHERE clause..." should be changed to "So far, we've mainly used the equal sign in our WHERE clause." |
Anonymous | Nov 01, 2007 | |
Printed | Page 87 |
In the bottom left corner, => should be <= |
Anonymous | Nov 01, 2007 | |
Printed | Page 87 Bottom Right |
In the bottom right of the page, the Greater to or Equal sign is listed as =>, should be >= (this is used correctly on the next page in demonstration) Note from the Author or Editor: |
Laurel Raven | May 27, 2009 | Sep 01, 2010 |
Printed | Page 89-90 bottom of the page -- last query |
The text, "...without using the names of the drinks in your query." should be added to the end of the last question on the page. |
Anonymous | Jun 01, 2009 | |
Printed | Page 90 Bottom (last solution) |
SELECT drink_name, color, ice FROM drink_info |
Anonymous | May 01, 2008 | |
Printed | Page 90 Bottom (last solution) |
Capitalization error |
Anonymous | May 01, 2008 | |
Other Digital Version | 90 Bottom (last solution) |
SELECT drink_name, color, ice FROM drink_info |
Anonymous | May 01, 2008 | |
Other Digital Version | 90 Bottom (last solution) |
Capitalization error |
Anonymous | May 01, 2008 | |
Printed | Page 93 1st paragraph, 3rd sentence |
"So, instead of two the two separate queries..." should be "So, instead of the two separate queries..." |
Anonymous | Nov 01, 2007 | |
Printed | Page 103-104 Second WHERE statement |
Wildcard character '_' stands for just one unknown character. Two letters are missing from Elsie's name 'El'sie. |
Anonymous | May 01, 2008 | |
Other Digital Version | 103-104 Second WHERE statement |
Wildcard character '_' stands for just one unknown character. Two letters are missing from Elsie's name 'El'sie. |
Anonymous | May 01, 2008 | |
Printed | Page 104 |
Sixth WHERE clause from the top should only have one semicolon at the |
Anonymous | Nov 01, 2007 | |
Printed | Page 107 First problem description |
Pedantic, but because you are in the "conditional" section of the book ... |
Anonymous | Nov 09, 2009 | Mar 01, 2011 |
Printed | Page 108 Middle example comment related to query |
The comment says, "We'll get drink names that begin with G and O, and all the letters in between." |
Anonymous | May 01, 2008 | |
Other Digital Version | 108 Middle example comment related to query |
The comment says, "We'll get drink names that begin with G and O, and all the letters in between." |
Anonymous | May 01, 2008 | |
Printed | Page 111 Answer to fourth question |
"If you wanted to use it in and AND or OR clause ..." |
Anonymous | Nov 09, 2009 | Mar 01, 2011 |
Printed | Page 113,115 First solution incorrect |
Changed the solution to: |
Anonymous | May 01, 2008 | |
Other Digital Version | 113,115 First solution incorrect |
Changed the solution to: |
Anonymous | May 01, 2008 | |
Printed | Page 115 Bottom of page |
The solution: |
Anonymous | Nov 01, 2007 | |
Printed | Page 115 First solution (the answer) is incorrect |
Changed to: WHERE main BETWEEN 'P' and 'T'; |
Anonymous | May 01, 2008 | |
Other Digital Version | 115 First solution (the answer) is incorrect |
Changed to: WHERE main BETWEEN 'P' and 'T'; |
Anonymous | May 01, 2008 | |
Printed | Page 117 |
Single quote needed before the word "cherry" in fifth set of |
Anonymous | Nov 01, 2007 | |
Page 117 3rd code input section |
In the INSERT into easy_drinks section on page 117 of the PDF, the line for the fifth drink, "Hot Gold", there is an extra, unnecessary space in the data for the second ingredient. In this case, it is orange juice. The line currently reads: |
boerner | Mar 23, 2010 | Mar 01, 2011 | |
Printed | Page 123, 125, 126, 129, 131, 140 Entire chapter |
Just a nit. It seems like the clown_info tables are missing a table name heading in the examples. The "other" tables seem to be (mostly) labeled whenever they are presented. Note from the Author or Editor: |
Anonymous | Nov 10, 2009 | Mar 01, 2011 |
124 4th INSERT INTO clown_info statement (Sniffles) |
INSERT INTO clown_info |
Cathy Austin | Mar 09, 2010 | Mar 01, 2011 | |
Printed | Page 126 First sentence |
"Our clown trackers work on a vounteer basis." |
Anonymous | Nov 10, 2009 | Mar 01, 2011 |
Printed | Page 128 Answer to the last question. |
Some of the best ones involving joins, a topic covered later in this book. |
Anonymous | Nov 01, 2007 | |
Printed | Page 129-131 entire pages |
The example on page 129 (for the delete statement) shows the rows in a table for 'Zippo' the clown. According to the first paragraph we are trying to get rid of duplicate records. The exercise on the page is 'Delete Statement Magnets'. The solution shown on the next page (130) shows a delete statement to {DELETE FROM clown_info WHERE activities = 'dancing';} To my mind, this would delete the one non-duplicated row from the table on page 129. However, the table on page 131 shows an entirely different set of records in the table. Admittedly, it does highlight the one row which is actually deleted if the statement (for the solution on 130) is used on the table shown on that page. However, the whole solution has pretty much nothing to do with duplicate records or the example table on page 129. Note from the Author or Editor: |
Mary | Aug 08, 2009 | Mar 01, 2011 |
Printed | Page 130 Bottom of the page (last paragraph, in bold) |
Text currently reads: |
Anonymous | Nov 01, 2007 | |
Printed | Page 133-134 Final question |
The final question on page 133 and 134 should be: |
Anonymous | Nov 01, 2007 | |
Printed | Page 134 Answers to questions 4 and 6. |
The arrows for Delete statement 4 point to the 1st, 3rd, and 4th row. They should point to the first, 2nd, and 4th row. |
Anonymous | Nov 01, 2007 | |
Printed | Page 134 Answer to question 6 |
This is an error made in the November 2007 reprint, not the original printing. |
Anonymous | May 01, 2008 | |
Other Digital Version | 134 Answer to question 6 |
This is an error made in the November 2007 reprint, not the original printing. |
Anonymous | May 01, 2008 | |
Printed | Page 135 bottom of page |
Bottom big code block should be changed to: |
Anonymous | Nov 01, 2007 | |
Printed | Page 140 last_seen column |
The last_seen column on this page should be changed to: |
Anonymous | Nov 01, 2007 | |
Printed | Page 144 SELECT statement |
Your SELECT throws an error. You need a star or column name before the FROM. |
Anonymous | Nov 01, 2007 | |
Printed | Page 147 First Answer in "There are no dumb questions" |
The text currently reads: |
Anonymous | Nov 01, 2007 | |
Printed | Page 149 UPDATE in action |
The text paragraph after the headline "UPDATE in action" does not correctly relate to the SQL statement right after that. |
Anonymous | May 01, 2008 | |
Other Digital Version | 149 UPDATE in action |
The text paragraph after the headline "UPDATE in action" does not correctly relate to the SQL statement right after that. |
Anonymous | May 01, 2008 | |
Printed | Page 156 1st paragraph |
The first sentence says "age column", but it should read "cost column". |
Anonymous | Nov 01, 2007 | |
Printed | Page 156 First SQL query |
For this SQL query, the follow line should not end with a semicolon: |
Anonymous | Nov 01, 2007 | |
Printed | Page 184 3rd paragraph |
Paragraph uses 'SHOW CREATE_TABLE', with an underscore in CREATE_TABLE, but example afterward uses 'SHOW CREATE TABLE', with no underscore. (Neither works with my version of postgres, so I don't know which is correct.) Note from the Author or Editor: |
georgeberger | Dec 16, 2008 | Jun 01, 2009 |
Printed | Page 189-190 Third query on middle of page |
Although the third query on 189 and 190 may work with some versions of MySQL, it throws a warning and some versions won't fix it. It should be changed to: |
Anonymous | Nov 01, 2007 | |
Printed | Page 190 Middle of page |
The third INSERT statement in Exercise 3 solution does not complete without error. |
Anonymous | May 01, 2008 | |
Other Digital Version | 190 Middle of page |
The third INSERT statement in Exercise 3 solution does not complete without error. |
Anonymous | May 01, 2008 | |
Printed | Page 201-202 header of 201, magnets at bottom of 201, magnets on 202 |
In MySQL 5.0.51b on my Mac, ordinals beyond FIRST fail, as does BEFORE. Note from the Author or Editor: |
Anonymous | Jun 25, 2008 | Jun 01, 2009 |
Printed | Page 210 middle |
ADD PRIMARY KEY ('proj_id'); Should be without quotes, i.e. |
Anonymous | Nov 01, 2007 | |
Printed | Page 212 Question in "There are no Dumb Questions" section |
Question reads, "What if I want ot..." but should be "What if I want to..." |
Anonymous | May 01, 2008 | |
Other Digital Version | 212 Question in "There are no Dumb Questions" section |
Question reads, "What if I want ot..." but should be "What if I want to..." |
Anonymous | May 01, 2008 | |
Printed | Page 212 First answer in There are no numb questions |
This page says "You can't actually change the column order once the table already has been created." Then on page 219, there is code that changes the column order in a table that already has been created. Note from the Author or Editor: |
Anonymous | Sep 25, 2008 | Jun 01, 2009 |
Printed | Page 214 First line of SQL code in Exercise solution is incorrect. |
ALTER TABLE project_table |
Anonymous | May 01, 2008 | |
Other Digital Version | 214 First line of SQL code in Exercise solution is incorrect. |
ALTER TABLE project_table |
Anonymous | May 01, 2008 | |
Printed | Page 216 Sharpen your Pencil Solution - command |
It reads yet: |
Anonymous | May 01, 2008 | |
Other Digital Version | 216 Sharpen your Pencil Solution - command |
It reads yet: |
Anonymous | May 01, 2008 | |
Printed | Page 219 ALL OF IT |
Code would not complete without error |
Anonymous | May 01, 2008 | |
Other Digital Version | 219 ALL OF IT |
Code would not complete without error |
Anonymous | May 01, 2008 | |
Printed | Page 219 Alter command |
The VIN column is sized at 16 characters, but the example database listing (from page 218) uses 17 characters[1]. So, the VIN column should really be: |
Anonymous | Nov 11, 2009 | Mar 01, 2011 |
Printed | Page 223 first paragraph on page under Look for patterns |
Final sentence of first paragraph reads: "The that fact it's consistent and follows a pattern will help us break it down so it's more atomic." |
Phillip Reed | Sep 02, 2009 | Mar 01, 2011 |
Printed | Page 224 Top left corner title |
Title of page is "string functionsr". an r is extra. Note from the Author or Editor: |
Anonymous | Nov 11, 2008 | Jun 01, 2009 |
Printed | Page 226 Bottom |
Point no. 4 says "Put the data we grabbed in step 2...... ". We haven't grabbed any data in step 2. Note from the Author or Editor: |
Anonymous | Nov 11, 2008 | Jun 01, 2009 |
Printed | Page 230 Middle of page left side first paragraph |
The line reads "Let's see it in action on this example table. First time through, it takes the |
Anonymous | May 01, 2008 | |
Other Digital Version | 230 Middle of page left side first paragraph |
The line reads "Let's see it in action on this example table. First time through, it takes the |
Anonymous | May 01, 2008 | |
Printed | Page 240 Sharpen your pencil example |
The categories I came up with differ from the book. If you run through the UPDATE queries, in the order provided on page 239, then: |
Anonymous | Nov 11, 2009 | Mar 01, 2011 |
Printed | Page 248 Whole page |
In all cases, "movietable" should be changed to "movie_table" |
Anonymous | May 01, 2008 | |
Other Digital Version | 248 Whole page |
In all cases, "movietable" should be changed to "movie_table" |
Anonymous | May 01, 2008 | |
Printed | Page 258 Description of "Purchased dates", next-to-last line contains typo. |
"alwasy" was changed to "always" |
Anonymous | May 01, 2008 | |
Other Digital Version | 258 Description of "Purchased dates", next-to-last line contains typo. |
"alwasy" was changed to "always" |
Anonymous | May 01, 2008 | |
Printed | Page 261 2nd para |
The description of the SQL query: Note from the Author or Editor: |
Anonymous | Nov 12, 2009 | Mar 01, 2011 |
Printed | Page 264 Example query |
The example query: |
Anonymous | Nov 12, 2009 | Mar 01, 2011 |
Printed | Page 270 Sharpen your pencil solution |
The "Count the days" problem on the prior pages asks Note from the Author or Editor: |
Nick Torres | Jul 12, 2010 | Mar 01, 2011 |
Printed | Page 275 In the paragraph beginning with the text "Remember our top 100 songs?", the second line was changed from |
"To see songs 20 through 30..." to "Suppose we wanted to see songs 20 through 29..." |
Anonymous | May 01, 2008 | |
Other Digital Version | 275 In the paragraph beginning with the text "Remember our top 100 songs?", the second line was changed from |
"To see songs 20 through 30..." to "Suppose we wanted to see songs 20 through 29..." |
Anonymous | May 01, 2008 | |
Printed | Page 277 In the crossword puzzle, the clue for 10 down should be: "Use this in a SELECT to return the total value of results rather rather than the results themselves." |
|
Anonymous | Nov 01, 2007 | |
Printed | Page 277 Crossword Clue Across #5 |
Clue is: Note from the Author or Editor: |
Nick | Jul 12, 2010 | Mar 01, 2011 |
Printed | Page 279 Last line |
The last line on the answer page on 279 does not match the last line on page 272. It should read, "How am I? Somewhere in the middle." |
Anonymous | Nov 01, 2007 | |
Printed | Page 292 First caption for solution (the 'simpler columns' portion of the query. |
The caption says: |
Adam Wickliffe | Sep 02, 2009 | Mar 01, 2011 |
Printed | Page 295 Description, caption and heading for first table |
1) "How the old clown_tracking table ..." |
Anonymous | Nov 13, 2009 | Mar 01, 2011 |
Printed | Page 296 "old" table caption and column headings |
1) The heading for the table should also be changed from |
Anonymous | Nov 13, 2009 | Mar 01, 2011 |
Printed | Page 307 SQL command in middle of page |
At the end of the CREATE TABLE command, the final closing parenthesis should come before the semicolon. |
Anonymous | Nov 01, 2007 | |
Printed | Page 309 last comment on page |
Page 304 has the following statement: Note from the Author or Editor: |
Anonymous | Nov 13, 2009 | Mar 01, 2011 |
Printed | Page 312 First sentence |
"Many woman ..." |
Anonymous | Nov 13, 2009 | Mar 01, 2011 |
Printed | Page 314 Sharpen your pencil Solution |
The tables shown as the answer are incorrect. |
Adam Wickliffe | Sep 03, 2009 | Mar 01, 2011 |
Printed | Page 318 4th example |
The exercise asks us what the database relationship is between a book and a publisher (ie is it One to Many, or Many to Many). Note from the Author or Editor: |
Durand | Sep 10, 2009 | Mar 01, 2011 |
Printed | Page 324 Shorthand notations |
Removed semicolons after the arrows. For instance, T.x -> ; T.y should be: T.x -> T.y |
Anonymous | May 01, 2008 | |
Other Digital Version | 324 Shorthand notations |
Removed semicolons after the arrows. For instance, T.x -> ; T.y should be: T.x -> T.y |
Anonymous | May 01, 2008 | |
Printed | Page 324 Sharpen your pencil solution box |
The four examples "function dependencies" are NOT correct. These are NOT functional dependencies. Note from the Author or Editor: |
Andrew Bate | Dec 23, 2010 | Mar 01, 2011 |
Printed | Page 333 Final line of text |
Final line of text in the instructions should read: "Finally, add these new columns to the appropriate tables: phone, manager, cost, and weight." |
Anonymous | Nov 01, 2007 | |
Printed | Page 333, 335 Sharpen Your Pencil Instructions |
Add another sentence to the end of the third paragraph of the Sharpen Your Pencil instructions that says, "You may have to create new toy_ids." |
Anonymous | Jun 01, 2009 | |
Printed | Page 335 store_inventory table solution |
The values in the first column, toy_id, in the store_inventory table need to be changed to: |
Anonymous | Nov 01, 2007 | |
Printed | Page 339 Thought Cloud |
"...writing a hundreds of queries" should be "...writing hundreds of queries" |
Anonymous | May 01, 2008 | |
Other Digital Version | 339 Thought Cloud |
"...writing a hundreds of queries" should be "...writing hundreds of queries" |
Anonymous | May 01, 2008 | |
Printed | Page 340 Note on "Foreign key" |
The note on "Foreign key" is wrong. The note printed describes third normal form instead of foreign key. The note should read, "A column in a table that references the primary key of another table." |
Anonymous | Nov 01, 2007 | |
Printed | Page 349 2nd paragraph |
The second statement of the second paragraph on p. 349 is technically incorrect or explains incorrectly the usage of the SUBSTR function. |
Anonymous | May 01, 2008 | |
Other Digital Version | 349 2nd paragraph |
The second statement of the second paragraph on p. 349 is technically incorrect or explains incorrectly the usage of the SUBSTR function. |
Anonymous | May 01, 2008 | |
Printed | Page 350 In 'sharpen your pencil', in the hint text |
It says 'Rhe' instead of 'The' |
Anonymous | May 01, 2008 | |
Other Digital Version | 350 In 'sharpen your pencil', in the hint text |
It says 'Rhe' instead of 'The' |
Anonymous | May 01, 2008 | |
Printed | Page 354 second to last paragraph |
"SQL let's you" should be "SQL lets you". Note from the Author or Editor: |
Thomas Kennedy | Sep 09, 2010 | Mar 01, 2011 |
Printed | Page 355 Middle; Code returns error |
The 4th line of the big code query was changed from "profession varchar(20)" to mc_prof varchar(20) |
Anonymous | May 01, 2008 | |
Other Digital Version | 355 Middle; Code returns error |
The 4th line of the big code query was changed from "profession varchar(20)" to mc_prof varchar(20) |
Anonymous | May 01, 2008 | |
Printed | Page 356 SELECT proffession AS mcprof |
Should be mc_prof NOT mcprof |
Anonymous | Nov 01, 2007 | |
Printed | Page 359 there are no dumb questions |
"?" missing at the end of question "so I'd used his......." Note from the Author or Editor: |
Anonymous | Nov 12, 2008 | Mar 01, 2011 |
Printed | Page 359 Second question 'there are no Dumb Questions' |
The question of 'Say I'd use his query instead:' should read 'Say I'd use this query instead:' (The 't' is missing from the 'his', which would make it 'this'). |
Adam Wickliffe | Sep 17, 2009 | Mar 01, 2011 |
Printed | Page 360, 362 Last line of query |
Last line of query should be changed from "ON mc.contact_id = p.prof_id;" to "ON mc.prof_id = p.prof_id;" |
Anonymous | Nov 01, 2007 | |
Printed | Page 362 last two "blank" lines |
"... where the contact_id from my_contacts matches |
Anonymous | Nov 17, 2009 | Mar 01, 2011 |
Printed | Page 365 second block/question |
It says "Query that returns...... and status each person ......". "of is missing. Should be "Query that returns...... and status OF each person ......". Note from the Author or Editor: |
Anonymous | Nov 12, 2008 | Jun 01, 2009 |
Printed | Page 366 The third printed solution. |
A formatting problem with the stylized font in the 3rd solution given on page 366. |
Anonymous | Sep 06, 2009 | Mar 01, 2011 |
Other Digital Version | 370 The first and third queries on this page should use a NATURAL JOIN. The INNER JOIN will produce the wrong results. |
Changed "INNER" to "NATURAL" in first and third answers. |
Anonymous | May 01, 2008 | |
Printed | Page 370 The first and third queries on this page should use a NATURAL JOIN. The INNER JOIN will produce the wrong results. |
Changed "INNER" to "NATURAL" in first and third answers. |
Anonymous | Jun 01, 2009 | |
Other Digital Version | 378 Sharpen your pencil - Solution |
The annotation for the table states, "The interests column is empty after we run the command." This is incorrect. The interests column still has the value "fourth" in it. |
Anonymous | May 01, 2008 | |
Printed | Page 378 Sharpen your pencil - Solution |
The annotation for the table states, "The interests column is empty after we run the command." This is incorrect. The interests column still has the value "fourth" in it. |
Anonymous | Jun 01, 2009 | |
Printed | Page 378 Answer table diagram (on page 378) |
The table in the answer for the 'Sharpen your pencil' exercise (on page 378) indicates that the information in the orginal 'interests' column will be gone. However, after the value from 'interests' has been pared down to just the fourth item, it is assigned to the 'interest4' column, but isn't modified afterword (like the SUBSTR function did for the previous three interests). The end result would have 'fourth' as the value in the 'interests' column once the query has been run. Note from the Author or Editor: |
Adam Wickliffe | Sep 17, 2009 | Mar 01, 2011 |
Other Digital Version | 381 Old tables in the ER diagram; |
contact_interest.interest_id should link up with interests.interest_id |
Anonymous | May 01, 2008 | |
Printed | Page 381 Old tables in the ER diagram; |
contact_interest.interest_id should link up with interests.interest_id |
Anonymous | Jun 01, 2009 | |
Printed | Page 382 last paragraph |
"... But first, he wants to pull out all the Note from the Author or Editor: |
Anonymous | Nov 18, 2009 | Mar 01, 2011 |
Printed | Page 384 Comment to the right of the page |
The comment on this page says: "These are just a few of the titles in Greg's job_current table.". But the Select statement selects from the job_listings. Note from the Author or Editor: |
Anonymous | Jun 09, 2008 | Jun 01, 2009 |
Printed | Page 391-392 SQL's Rules of Order puzzle and solution |
The words 'FROM' and 'HAVING' are used in the solution, but are not among the list of words for the puzzle. |
Anonymous | Nov 01, 2007 | |
Printed | Page 392 |
Second question refers to page 388, this should be page 387. |
Anonymous | Nov 01, 2007 | |
Printed | Page 398 Query |
Query says "SELECT jc.salary ..... WHERE email = ''". It should be "SELECT jc.salary ..... WHERE mc.email = '........'". "mc." is missing. Note from the Author or Editor: |
Anonymous | Nov 12, 2008 | Jun 01, 2009 |
Printed | Page 399 annotations for top query diagram |
Two of the annotations for the top query diagram should be changed to indicate that the subquery (inner query) is processed first. The top-left annotation should be changed from "The RDBMS processes this part first." to "The RDBMS processes this part second." And the bottom-right annotation should be changed from "This is processed second." to "This is processed first." |
Anonymous | Nov 01, 2007 | |
Printed | Page 409 right hand side column of the "what's my purpose" column |
In the sentence "If two contact_id are true, a condition is met.", "true" should be "equal" or "identical"? Note from the Author or Editor: |
Anonymous | Oct 21, 2008 | Jun 01, 2009 |
Printed | Page 428 First sentence in thought bubble |
"...use an outer join to to join a single..." should be |
Anonymous | Nov 01, 2007 | |
Printed | Page 437 Second paragraph, last sentence |
The following statement seems incorrect to me: Note from the Author or Editor: |
Anonymous | Nov 20, 2009 | Mar 01, 2011 |
Printed | Page 456 Multiple locations |
1) The job_listings.job_id field is listed as both a primary and foreign key even though it isn't being used as a foreign key. Note from the Author or Editor: |
Anonymous | Nov 20, 2009 | Mar 01, 2011 |
Printed | Page 458 Under "He gets the status_id from the status table" |
The second annotation on this page should be changed from "And here's the status_id that corresponds to 'married'." to "And here's the status_id that corresponds to 'single'." |
Anonymous | Nov 01, 2007 | |
Printed | Page 461 Sharpen your pencil section |
Column names while creating tables are column3 & column4. When adding CHECK constraint, column names are written as column_3 & column_4. TYPO. :) Note from the Author or Editor: |
Anonymous | Nov 12, 2008 | Jun 01, 2009 |
Printed | Page 465 tech_writer_jobs CREATE VIEW statement |
There should be a ',' character after 'title' in the tech_writer_jobs CREATE VIEW statement. |
Anonymous | Nov 01, 2007 | |
Other Digital Version | 472 SQL for creating view |
The AS keyword is in the wrong place. AS in the statement was moved after pb_quarters, to read: |
Anonymous | May 01, 2008 | |
Printed | Page 472 SQL for creating view |
The AS keyword is in the wrong place. AS in the statement was moved after pb_quarters, to read: |
Anonymous | Jun 01, 2009 | |
Printed | Page 472 INSERT command |
The dates in the INSERT command line should be quoted because the table CREATE command (on page 472) lists those values as CHAR(4). Note from the Author or Editor: |
Anonymous | Nov 23, 2009 | Mar 01, 2011 |
Printed | Page 490, 557 'UPDATABLE VIEWS' tooltip |
"...all NOT NULL rows of the base table..." should be |
Anonymous | Nov 01, 2007 | |
Printed | Page 506 Leftmost bottom: Arrow going from root to sleepy. |
Written "trys". Typo. Should be "tries". |
Anonymous | Nov 12, 2008 | Jun 01, 2009 |
Printed | Page 508 Solution to last problem |
Solution says "REVOKE GRANT INSERT(location).....". Should be "REVOKE INSERT(location)......". GRANT is extra. Wrong syntax, i am a little bit confused. Note from the Author or Editor: |
Anonymous | Nov 12, 2008 | Jun 01, 2009 |
Printed | Page 508 First solution |
Initial Grant statement is: Note from the Author or Editor: |
Anonymous | Oct 08, 2010 | Mar 01, 2011 |
Printed | Page 518 GRANT statements at the bottom of the page |
"GRANT SELECT ON my_contacts * TO frank;" should be |
Anonymous | Nov 01, 2007 | |
Printed | Page 520 First paragraph |
"...Greg's List to include to include local..." should be |
Anonymous | Nov 01, 2007 | |
Printed | Page 528 second table |
Used the '+' sign for subtraction and division. Should be '-' and '/', respectively. |
Anonymous | Nov 01, 2007 | |
Printed | Page 528 comparison operators table at the bottom of the page |
'Not less than' operator should be '!<' |
Anonymous | Nov 01, 2007 | |
Printed | Page 528 middle of page |
the arrows from the annotation "these are only wildcards..." should point to the rows for _ and %. Note from the Author or Editor: |
Anonymous | Oct 23, 2008 | Jun 01, 2009 |
Printed | Page 530 Last paragraph |
The last body text paragraph should read: "The query above will return Pizza House. We can also use >= and <= with ALL. The query below will give us both The Shack and Arthur's. We get the ratings greater than any in our set, as well as equal to the largest one in our set, which is 7:" |
Anonymous | Nov 01, 2007 | |
Printed | Page 535 Last sentence |
The last sentence of the page is nearly identical to the last sentence of the preceding section ('Some situations where you might want to use CAST()'). |
Anonymous | Nov 01, 2007 | |
Printed | Page 537 "what does it do?" for the Log(x) and Log(x,y) functions |
The "what does it do?" text for the Log(x) and Log(x,y) functions should be changed to "Returns the natural logarithm of x, or with two parameters returns the log of y for base x." |
Anonymous | Nov 01, 2007 | |
Printed | Page 541 Second to last highlighted code line at the bottom of the page |
" lose($conn);" should be |
Anonymous | Nov 01, 2007 |