Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL tools which ease creation of SQL JOIN statements?

Tags:

sql

mysql

Does anyone know tools which look at a MySQL database, show you all the tables graphically and allow you to create complicated JOIN statements via drag-and-drop?

like image 884
Edward Tanguay Avatar asked Sep 17 '08 12:09

Edward Tanguay


People also ask

What are the four easy ways to join two or more tables in MySQL?

Ans: Joining two tables in SQL can be done in four major ways: Inner Join (returns rows with matching columns), Left Join (ALL records in the left table and matching records in the right table), Right Join (ALL records in the right table and matching records in the left table), and Union (removes duplicates).

Which JOINs is faster in MySQL?

performance - Mysql - LEFT JOIN way faster than INNER JOIN - Stack Overflow.

What is the most efficient SQL JOIN?

Relational algebra is the most common way of writing a query and also the most natural way to do so. The code is clean, easy to troubleshoot, and unsurprisingly, it is also the most efficient way to join two tables.

Which of the following JOINs is are available in MySQL?

MySQL supports the following types of JOIN clauses: INNER JOIN, OUTER JOIN, and CROSS JOIN. OUTER JOINs can further be divided into LEFT JOINs and RIGHT JOINs. To better demonstrate how the JOINs work, we will create two tables.


1 Answers

Before you buy anything, see if the free, official MySQL's GUI tools (specifically the MySQL Query Browser) will work for you.

Personally, I'm fairly comfortable interacting with MySQL's command line interface and haven't used their GUI tools very much, but I just downloaded Query Browser and it seems like it does exactly what you're looking for.

Also, check out "Building Queries Visually in MySQL Query Browser" for a nice tour of MySQL Query Browser.

like image 141
Rudi Avatar answered Oct 13 '22 20:10

Rudi