SQL简单子查询详解,以喜来乐的订单信息为例。查询语句为:Select * from orders Where customerid=( select customerid from customers where customername='喜来乐' )。