First download a copy of MySQL community edition from our Database Download Page or from the official MySQL website. You will want to download the database engine, Query Browser (a frontend to run your queries in), and MySQL Administrator to perform administrative tasks.
The following tutorials are a good place to start learning SQL:
SQL Commands and syntax
Introduction to SQL
W3Schools SQL tutorial