i2tutorials

MySQL – Join

MySQL – Join

 

MySQL – Join

When you run queries instead of JOINS, the same task can be accomplished. If you have experience with database programming, you know that we can run queries one by one, utilizing the output of each in the next query. Yes, it is possible. Using JOINS, you can get the job done by executing only one query with any search parameters. The use of indexing in MySQL, however, allows for better performance with JOINS. Using a single JOIN query rather than multiple queries reduces server overhead. Instead of executing multiple queries, more data is transferred from MySQL to applications (software). Furthermore, it requires more data manipulation at the application level as well.

Types of joins

 

Exit mobile version