Learn How To Use MySQL Online - gHacks Tech News

Learn How To Use MySQL Online

Most webmasters have learned the basics of the HTML scripting language before they moved on to programming languages such as PHP or Python.

With PHP come databases like MySQL as the primary storage source for project data. Many popular online applications, such as WordPress, use PHP and MySQL to bring their services to the Internet.

You usually do not need to know PHP or MySQL if you download and install an application like WordPress. But if you want to start developing your own applications or plugins, or modifying existing ones, then you need to know the ins and outs of SQL database commands and need to have a solid PHP foundation as well.

Head first SQL: Hands On is a free service by O'Reilly that can be used to learn and execute MySQL queries online. When you open the Head First Labs site for the first time you see a form near the top that you can use to run MySQL commands.

The service provides access to several tables that are listed above the form. All you need to do is to enter a SQL query in the form to execute it. The core benefit of testing SQL commands here is that you do not have to create your own database first and fill it with data. Plus, you cannot really damage the database or tables this way, and you can reload the page at any time to start over.

learn how to use mysql

The results are displayed right beneath the form.  But the site offers more than just an option to run your own MySQL queries, which is especially useful for users who are just getting started and do not know anything about SQL.

The Get Started section of the page lists 33 MySQL lessons. The majority of lessons teach a specific command or command sets. This ranges from basic queries such as SELECT or INSERT to more complex operations. Not all lessons make sense, which can be attributed that some require that you have read the Head First SQL: Hands On book.

Some on the other hand can be used without having the book in reach. MySQL beginners will probably like the form on the start page the most, as it allows them to run custom SQL queries on sample database tables to see what results their queries will yield.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Tonya said on January 8, 2012 at 12:55 am
      Reply

      I understand that if the pages or sights are to large it may take several minutes to upload. Unfortunately will doing alot of things off our smart phones, the webmasters have alot of work to do to get these uploading faster. It is frustrating to us all.

    Leave a Reply