Posted on 2008-08-13 20:19
Prayer 閱讀(203)
評論(0) 編輯 收藏 引用 所屬分類:
數據庫,SQL
>>
Select count(*) from (select * from table)
但這句走不通,只是例子。
<<
其實是可以走得通的。
加個導出表名就好了,像:
Select count(*) from (select * from table) tmp
----后面一句確實是可以的。其實Select count(*) from table就可以了。