optimized inner table query