SELECT * FROM story s INNER JOIN storyxmetadata x ON s.storyID=x.storyIDlook WHERE s.productParent LIKE 'y' AND x.metadataIDlook = 225 AND s.storyID=363 ORDER BY heading