I am working on a project with lots of large SQL
requests, I want to know:
what provides a better performance in term of speed between:
- Join Queries
- Sub-Queries
For example
SELECT artistName FROM artist
JOIN group
On group.location = artist.location
AND group.available = 'true'
SELECT artistName FROM artist,
(SELECT group.available = true) AS groupAvailable
WHERE groupAvailable.location = artist.location
What can provide me with better performance for big queries.