Archive for category Database
postgresql – selecting maximum for each group
June 13th, 2010 by Jeanne BoyarskyI had a requirement to return the thread with the most replies in each forum at JavaRanch‘s Coderanch forums. In Postgresql 8.4, this would be very easy – just use the window functions. Unfortunately, we aren’t on Postgresql 8.4 yet. The other common pattern is something like This doesn’t work well for me either because [...]
Posted: 13 June, 2010 in Database, JavaRanch.
Tags: postgresql
Comments: 1
normalization done poorly at the bank
November 29th, 2009 by Jeanne BoyarskyI went to a bank yesterday to inquire why I was receiving mail at my old address despite having moved a number of months ago. The first thing the representative did was pull up my record to show me that my address was correct in their system. While that’s very nice, the mail has their [...]
Posted: 29 November, 2009 in Database, WTFs.
Comments: 6
Which Database to Start With?
August 26th, 2009 by Scott SelikoffWhen people ask me how to learn to use a database or how to write SQL queries, I tell them to pick a database system and immerse themselves in it. In fact that advice goes for a lot of software technologies: just immerse yourself in a language, as programming tutorials are easy to come by [...]
Posted: 26 August, 2009 in Database.
Tags: Database, dbms, education, Java/J2EE, learning, sql
Comments: 14
