order by可以用在视图中,但是如果视图检索数据select中含有order by,那么视图中的order by也将被覆盖
视图不能索引,也不能有关联的触发器
视图可以和表一起使用
1 2 3 4 5 6 7 8 9 10
createview productcustomers as select cust_name, cust_contact, prod_id from customers, orders, orderitems where customers.cust_id = orders.cust_id and orderitems.order_num = orders.order_num;