tags:

views:

121

answers:

5

How can I practice SQL?

+2  A: 

@SQLzoo you can (and I did, and it was very helpful..)

Oren A
when i run queries there it just gives 500 errs
wil
@wil - I just did and it worked.. What errors exactly are you getting?
Oren A
+4  A: 

I recommend just downloading a database server (MySQL is good) and running some queries in the SQL shell (MySQL Command Line Client on Windows).

Also the W3School's SQL tutorial has some "Try-it" sections that might be handy.

alpha123
A: 

Install an opensource web server like MAMP XAMPP that has Apache/MYSQL and PHPMyAdmin ready to rock out of the box.

woodscreative
I would like to do that, but I am an idiot and I can't figure out how to hook it up to my website.
wil
@wil you said you wanted to practice SQL, not deploy it to a live website. web servers like MAMP are a "one-click and it works" solution that will help you practice with sql.
Moses
how would i deploy it to a live website?
wil
You would upload your application files, dump your database and drop it into your web server. Website deployed. Your local server would be a mirror of your web (live) server.
woodscreative
that is so over my head
wil
I think before you start working with SQL you may need to learn not only a programming language but also about web development in general. See you in a couple of years!
woodscreative
A: 

SQLZoo is good for exercises as well as this tutorial from firstsql.com, which I used while learning.

edit: sorry was ambiguous

jly
@jly - Hi, isn't this the link I gave?
Oren A
A: 

I don't know what source material you'll be learning from, or how much of a beginner you are, but I've always liked Allen G. Taylor's SQL For Dummies. Yes, it's a Dummies title, but aside from the corny chapter headings and the cartoons, you wouldn't know it.

Andy Lester
well i am definitely a dummy so that will be good 4 me, thanks
wil