

This is necessary when a duplicated column name in our select statement refers to multiple tables. Notice that columns can also be aliased using the same syntax. To select an item from the popup list, either click it with the mouse or use the UP and DOWN arrow keys to navigate to the desired item and press the ENTER key to select it. Here’s the code for the SELECT portion of the query: SELECT hc.name AS category,Ī list containing the table fields will appear whenever you enter the period after a table alias. Launch HeidiSQL to display the Session Manager: If you haven’t already done so, visit the HeidiSQL website, download version 4 and install it, following their instructions. The result: very little command-line knowledge is required! Create the Help Database More importantly, it shields you from having to concern yourself with the command prompts. The advantage of using a GUI tool like HeidiSQL over a command line interface is that the former offers perks such as customizable syntax-highlighting, code-completion, and error reporting.

The SQL editor is ideal for testing queries for embedding in a Web language like PHP it’s good practice to create and test your queries directly against the database before running them from within an application. Our query will join four tables together to perform searches against a help library. In this article, we’re going to familiarize ourselves with HeidiSQL’s Query editor by using it to write a query. a new editor for creating stored procedures and functions.new grid and popup editors for text, blobs, date/time, set, and enum.After over a year-and-a-half since the last major release, several new features have been introduced, including:

Version 4.0 of “the program with the odd name” was released just a few days ago on April 30 th, 2009. It’s favored by many Web developers and database administrators of small to medium-sized businesses to manage persistent storage of data. HeidiSQL is a free and easy-to-use GUI client for MySQL.
