How To: Execute a Basic SQL Query Using dbForge Studio GUI for MySQL

Execute a Basic SQL Query Using dbForge Studio GUI for MySQL

How to Execute a Basic SQL Query Using dbForge Studio GUI for MySQL

If you need to build a SQL query, you can choose one of two alternatives. The first and a rather old way is using a console. But if you build your queries in MySQL console, you have to remember all the commands and keys. This is not a convenient way, because query execution is a time-consuming process. Another way is to use some graphical interfaces for MySQL. It can fulfill many developers' requirements, including query execution. 

I'd like to show you step-by-step query execution process using dbForge Studio for MySQL as an example. With this MySQL GUI tool, you can execute your query only keeping an account information (login, password) in your memory. The GUI tool will save you a lot of time and will help to prevent errors, as you will be able to create queries in a visual query editor.

Step 1

Run dbForge Studio for MySQL. Then choose an existing connection or create a new one.

Step 2

Fill in the following fields: 

Host: localhost (by default); User: user_name; Password: user_password.

After this, choose a database you want to use.

Step 3

Click on the Query Builder icon and take a look at the left side of your screen. You will see the Database Explorer area.

Step 4

In Database Explorer, click on the plus and choose the schema objects you are going to work with. Move them to the query document located in the middle of your screen.

Step 5

If you want, you can select another table and also move it to the query document.

The tool will automatically generate joins beetwen objects (if any).

Step 6

Perform any actions with schema objects and press F5.

Step 7

The tool will execute the query, and you will find the results of query execution on the text or data tabs located in the bottom of the query document.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest