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