当前位置: 代码迷 >> VFP >> VFP9.0的查询语句SELECT格式解决思路
  详细解决方案

VFP9.0的查询语句SELECT格式解决思路

热度:5812   发布时间:2013-02-26 00:00:00.0
VFP9.0的查询语句SELECT格式
我知道VFP9.0的SELECT格式语句比较规范(相对VFP6.0),能提供VFP9.0的SELECT语句样式及实例吗?

------解决方案--------------------------------------------------------
SELECT [ALL | DISTINCT] [TOP nExpr [PERCENT]] Select_List_Item [, ...]
FROM [FORCE] Table_List_Item [, ...]
[[JoinType] JOIN DatabaseName!]Table [[AS] Local_Alias]
[ON JoinCondition [AND | OR [JoinCondition | FilterCondition] ...]
[WITH (BUFFERING = lExpr)]
[WHERE JoinCondition | FilterCondition [AND | OR JoinCondition | FilterCondition] ...]
[GROUP BY Column_List_Item [, ...]] [HAVING FilterCondition [AND | OR ...]]
[UNION [ALL] SELECTCommand]
[ORDER BY Order_Item [ASC | DESC] [, ...]]
[INTO StorageDestination | TO DisplayDestination]
[PREFERENCE PreferenceName] [NOCONSOLE] [PLAIN] [NOWAIT]
  相关解决方案