i have three tables of characters
, elements
and characters_elemenets
applying these two queries http://sqlfiddle.com/#!9/ee104a/7
what i wanna do is to bring a specific character and its powers sorted by its manifestation percentage using this relation to get the results of
character elemental_control
Alpha Fire,Wind,Earth
Beta Wind,Earth
Coco (null)
Delta Earth,Water,Fire,Wind
but by one specific character_id
as the query in link
but i do not understand what is the difference between both these queries in the long run and its performance except that one is subquery and the other is derived