As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

Learning SQL and SAS

Mr_GrinchMr_Grinch Registered User regular
Ok SQL and SAS are coming in to my place of work in one form or another and I'd like to be fairly "up" on them. Whilst I don't work directly in IT it would be handy for me to have a grasp.

As background I'm fine programming in VB, C++ and some (rusty) Java. I'm awesome with Excel (not to be modest) and VBA in Excel, I'm good with Access if a little rusty and I have a good knowledge of what goes in to a linked database and how they work.

But somehow I've missed out on SQL completely, how do I get started? Is there any free software I can use to play around with at home? Once I've got a guide that tells me how to create a basic database and run a few queries I should be able to make my way from there.

Also I know next to nothing about SAS, as far as I can gather it's some sort of database profiling tool.

Can anyone help?

Steam: Sir_Grinch
PSN: SirGrinchX
Oculus Rift: Sir_Grinch
Mr_Grinch on

Posts

  • Options
    FodderFodder Registered User regular
    edited February 2010
    As far as downloading and playing around with stuff, MySQL is free/open source and pretty widely used so you could certainly muck about with it some. It's got a command line client and some gui ones so you can use it however you feel comfortable.

    I don't know of any extensive tutorials, but theres one basic one in the documentation, and the documentation is pretty thorough if you want to casually read through it. Someone else can probably give a better solution for the learning side though.

    Fodder on
    steam_sig.png
  • Options
    Mr_GrinchMr_Grinch Registered User regular
    edited February 2010
    I think once I get everything set up and I delve in a bit I'll be fine. I'll give mySql a download on my Macbook. I'd prefer to stick to cli rather than gui, at least initially whilst I get everything down.

    Cheers.

    Mr_Grinch on
    Steam: Sir_Grinch
    PSN: SirGrinchX
    Oculus Rift: Sir_Grinch
  • Options
    vonPoonBurGervonPoonBurGer Registered User regular
    edited February 2010
    In terms of free SQL software that you can play around with, I'd recommend SQLite or PostgreSQL, depending on your needs.

    SQLite is great if you just want to create tables, insert rows and perform ANSI standard SQL queries. There is absolutely no configuration required, you can literally download the EXE and run it from the command line with a filename and it will create the database on the fly. Its feature set is very limited, though. It supports basic indexes, but nothing like triggers or referential integrity constraints. If you need to play around with that sort of stuff, PostgreSQL is your best bet. It's a lot more involved, but it's a fully functional open source equivalent to major DBMSs like Oracle or SQL Server.

    vonPoonBurGer on
    Xbox Live:vonPoon | PSN: vonPoon | Steam: vonPoonBurGer
  • Options
    TethTeth __BANNED USERS regular
    edited February 2010
    I found good practice for learning SQL was just grabbing a free web engine that used a front-end I was familiar with (like PHP) and supported some free back-end like mySQL or PostgreSQL. I then worked on changing it to suit my needs, would back up the database and toy with alterations, restore and repeat, and after a few weeks of toying around I had a much stronger understanding. Helped me a lot once I started dealing with products that use MS SQL.

    Teth on
    #1
  • Options
    Jubal77Jubal77 Registered User regular
    edited February 2010
    Grab a book on Database creation and administration. I found it much easier to learn the proper way to build a database first and then move on into implementation with whichever software you want to use. Concepts such as Normalization, Dependencies, Naming Conventions, SQL Joins (Learn them. Use them!) etc are important to grasp to build a DB that will keep you sane in the administering process.

    Jubal77 on
  • Options
    Apothe0sisApothe0sis Have you ever questioned the nature of your reality? Registered User regular
    edited February 2010
    for the very first hour of learning SQL sqlcourse.com is nice.

    Apothe0sis on
  • Options
    Mr_GrinchMr_Grinch Registered User regular
    edited March 2010
    Cheers guys, got stuck in this weekend and am going to start bringing my laptop on my train commute to work so I can practice a bit.

    Mr_Grinch on
    Steam: Sir_Grinch
    PSN: SirGrinchX
    Oculus Rift: Sir_Grinch
Sign In or Register to comment.