2
SELECT s.oxid FROM t1 v, t1 s
3
WHERE s.oxrootid = 'd8c4177d09f8b11f5.52725521' AND
4
v.oxrootid ='d8c4177d09f8b11f5.52725521' AND
5
s.oxleft > v.oxleft AND s.oxleft < v.oxright;
6
id select_type table type possible_keys key key_len ref rows Extra
7
1 SIMPLE v ref OXLEFT,OXRIGHT,OXROOTID OXROOTID 32 const 5 Using where
8
1 SIMPLE s ALL OXLEFT NULL NULL NULL 5 Range checked for each record (index map: 4)