• 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!

SQL refresh - how?

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

    SQL refresh - how?

    I've got an interview coming up and it includes an SQL test. I've been a data analyst for years now but seldom need to write SQL directly, I just use the query builder interface in Access or MS SQL server.
    I did a role a few years back that required me to understand, unravel and fix a lot of fairly complex SQL but I'm so rusty now I wouldn't fancy my chances in a test.

    So...if I've got about 10 hours to invest it getting back up to speed what would you suggest as the best means to go about it?

    Are there any books or sites out there that could really provide a "not for dummies" refresher please?

    Thanks for the pointers

    #2
    I train data analysts and personally would have said the SQL was a key skill. Surprised you don't have it.

    Are we talking SQL Server or Oracle? On the whole practice

    Measures(Sum, Avg, Count, Distinct Count)
    Case Statements
    Cast & Convert
    Date Manipulation
    Inner and Outer Joins
    Multiple Tables
    Embedded SQL Statements
    Group By
    Having Clauses

    That on the whole should give you the range of SQL you need for data analysis.
    What happens in General, stays in General.
    You know what they say about assumptions!

    Comment


      #3
      Thanks for the reply,
      Yep, that's what I use day in day out, except replace case statements with IFs in Access. There's no need to "write" any of that if you use the graphical query builder functionality of Access/ SQL Server.

      I find it way way faster

      The reality is though whilst I'd have no problem reading SQL I'd have probs writing it from scratch seeing as I'm so rusty....hence the post. I do "have it" I just never need to use it so prob couldn't pass a test in it.

      Answering your question, I believe the client uses the MS stack with the exception of ProClarity for reporting.

      Comment


        #4
        So you've answered your own question Olly.

        Practice the list(including embedded) on a Sql server instance until
        you are comfortable building from
        scratch. Should only take 1/2 a day and then you'll storm it

        GL

        MF
        What happens in General, stays in General.
        You know what they say about assumptions!

        Comment


          #5
          Get the SQL Server Cheat Sheet and take it tucked inside your notepad. It should give you enough memory jogs.
          Clustered vs non-clustered indexes comes up a lot too.
          +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


            #6
            Originally posted by Zippy View Post
            Get the SQL Server Cheat Sheet and take it tucked inside your notepad. It should give you enough memory jogs.
            Clustered vs non-clustered indexes comes up a lot too.
            Clustered are the ones with rice krispies in, and non-clustered are the smooth variety, right?
            "A life, Jimmy, you know what that is? It’s the s*** that happens while you’re waiting for moments that never come." -- Lester Freamon

            Comment

            Working...
            X