Nested Left Joins?!

I didn’t know you could write MySQL queries like this, but I just did:

SELECT it.*,a.name parent_primary_attribute,d.value primary_value FROM itemtype it
LEFT JOIN (primaryattribute pa
LEFT JOIN (itemtypeattribute_default d, itemtypeattribute a)
ON (pa.attribute_id=d.attribute_id AND pa.attribute_id=a.id)
) ON (it.parent_id=pa.type_id AND d.type_id=it.id)
WHERE it.id=’$id'”;