![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 22 Mar 2012 @ 21:36:35 GMT
Sorry! Try again...just replace what's in "[]" with your table and field. It'll work. Let me know.
SELECT TOP 255 a.[FIELD_NAME], COUNT(*)
FROM
(SELECT TOP 500000 *
FROM [TABLE_NAME]) a
GROUP BY 1
Hui Zhong
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||