select *from product where productid in(select Related_Product from product where productid=29) order by ProductID desc
这个因为它的子查询不完善,它只取了结果集中的一个记录,在你这里是按降序,所以只取了18,如果按升序的话,它就只会取16. 至于好的解决方法我还没有看到过,所以没有办法帮你