标签:user 查询 sql order use 就是 from 子查询 问题:
问题:当子查询内存在ORDER BY 字句时查询会报错 SQL: SELECT * FROM ( SELECT * FROM USER ORDER BY USER_CORD ) S. 解决办法:在子查询SQL语句SELECT 后加 TOP 100 PERCENT (查询出前百分比为100的数据,也就是查询出全部数据) SQL: SELECT * FROM ( SELECT TOP 100 PERCENT * FROM USER ORDER BY USER_CORD )
标签:user 查询 sql order use 就是 from 子查询 问题:
原文地址:https://www.cnblogs.com/iWaitYou/p/9434079.html