• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Learning SQL recommendations

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by Zippy View Post
    You could start with a specific query you have to write, have a go at writing it, post the query here with a request for suggestions for improvement and , err, duck.
    I actually did that some time ago but unless I learned this stuff for myself my post count in tech would equal Alexei's lunch threads

    Anyway, I need to start with actually learning to write a query. No books anybody can recommend?
    Me, me, me...

    Comment


      #12
      Originally posted by Cliphead View Post
      I actually did that some time ago but unless I learned this stuff for myself my post count in tech would equal Alexei's lunch threads

      Anyway, I need to start with actually learning to write a query. No books anybody can recommend?
      I bought an O'Reilly one for PHP and MySQL (for my first contract) and found it very useful. I had done SQL before though so it may not be for you.
      Try one of the 'for Dummies' range - I've found them to be rather good.
      +50 Xeno Geek Points
      Come back Toolpusher, scotspine, Voodooflux. Pogle
      As for the rest of you - DILLIGAF

      Purveyor of fine quality smut since 2005

      CUK Olympic University Challenge Champions 2010/2012

      Comment


        #13
        Originally posted by Cliphead View Post
        Anyway, I need to start with actually learning to write a query. No books anybody can recommend?
        Lynn Beighley's Head First SQL is pretty good if you want to get a good understanding of the basic principles and build from there - although not everybody gets along with the chatty style and slightly too-cute jokes of the Head First books, I have found them pretty effective for stuff I wasn't already familiar with or hadn't done in a while.

        After that, just throw caution to the wind and try Joe Celko's SQL for Smarties (Third Edition), although be aware that it focuses on getting things done using standard SQL rather than the proprietary extensions database vendors (especially Microsoft) graft on to make life easier for people who don't understand sets and declarative programming and are too lazy to learn. In other words, it shows you how to do it the right way

        As you're working specifically with MySQL, I can also recommend Schwartz et al.'s High Performance MySQL (Second Edition) which, balancing the purist approach of Celko's book, is full of info about what's actually going on under the hood and how to get the best from it.

        Comment


          #14
          I read Larry Ullman's "PHP and MySQL for Dynamic Web Sites" but that was more for the php side of things.
          Best Forum Advisor 2014
          Work in the public sector? You can read my FAQ here
          Click here to get 15% off your first year's IPSE membership

          Comment


            #15
            This one has good tutorials, main thing is to find examples and get the sample data and practice with them

            http://www.mysqltutorial.org/mysql-s...uery-data.aspx

            Comment


              #16
              Thanks all, ordered some books from Amazon.
              Me, me, me...

              Comment


                #17
                Had a check my stuff was all T-SQL. Better off with the books Nick has suggested
                What happens in General, stays in General.
                You know what they say about assumptions!

                Comment


                  #18
                  Originally posted by NickFitz View Post
                  Lynn Beighley's Head First SQL is pretty good if you want to get a good understanding of the basic principles and build from there - although not everybody gets along with the chatty style and slightly too-cute jokes of the Head First books, I have found them pretty effective for stuff I wasn't already familiar with or hadn't done in a while.

                  After that, just throw caution to the wind and try Joe Celko's SQL for Smarties (Third Edition), although be aware that it focuses on getting things done using standard SQL rather than the proprietary extensions database vendors (especially Microsoft) graft on to make life easier for people who don't understand sets and declarative programming and are too lazy to learn. In other words, it shows you how to do it the right way

                  As you're working specifically with MySQL, I can also recommend Schwartz et al.'s High Performance MySQL (Second Edition) which, balancing the purist approach of Celko's book, is full of info about what's actually going on under the hood and how to get the best from it.
                  More than a little quirky (as it's my blog) but there are (or were) some good links on learning Mysql on here ... One of which is this one
                  Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

                  Comment

                  Working...
                  X