SELECT n.* , a.* FROM notes n left join attributes a on a.noteId = n.noteId WHERE n.noteId = 'iFqOfH9wbLt2' and a.name = 'InventarKategorie'