期末复习之查询优化

优化中的算法描述:根据排序——合并算法描述下列查询操作的实现。 Select a.cust_id,b.tot_amt,b.order_date,a.tel_no From customer a ,sales b Where a.cust_id=b.cust_id 1.对a表和b表按照连接属性cust_id进行排序 2.取customer表的第一个cust_id,依次扫描sales中具有相同cust
相关文章
相关标签/搜索