如何在SQL中生成新表

如何在SQL中生成新表

本文介绍了如何在SQL中生成新表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个显示客户名称,订单号和订单日期的视图vCustomerOrders。

I need to create a view vCustomerOrders that displays the customer's name, order number, and order date.

什么是最好的路线?

推荐答案

至少,答案是您的问题需要了解数据库架构。如果您无法提供,那么您应该从组织内部获得帮助。熟悉您的系统的人将能够更好地提供指导。创建视图的
最佳路径是写一个
创建视图语句
。文档中有一些示例 - 应该让您入门。  

At the very least, answers for your question require knowledge of the database schema. If you cannot supply that, then you should get help from within your organization. People already familiar with your systems will be better able to provide guidance. The best route to create a view is to write a create view statement. The documentation has examples - that should get you started.  


这篇关于如何在SQL中生成新表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 19:49