J
juan
Hello,
I have a table that contains 1000's of part numbers. I
want to get top 10 parts by 4 digits prefix . If I use the
Top value, it just gives me top 10 records. Here's the SQL
view
SELECT TOP 10 Left([MATERIAL],4) AS MATERIAL1,
NEW_ZMATX.MATERIAL
FROM NEW_ZMATX
GROUP BY Left([MATERIAL],4), NEW_ZMATX.MATERIAL;
I want to get top 10 parts for all those parts in the
table.
Hope this makes sense. I appreciate all the help.
Thanks,
Juan
I have a table that contains 1000's of part numbers. I
want to get top 10 parts by 4 digits prefix . If I use the
Top value, it just gives me top 10 records. Here's the SQL
view
SELECT TOP 10 Left([MATERIAL],4) AS MATERIAL1,
NEW_ZMATX.MATERIAL
FROM NEW_ZMATX
GROUP BY Left([MATERIAL],4), NEW_ZMATX.MATERIAL;
I want to get top 10 parts for all those parts in the
table.
Hope this makes sense. I appreciate all the help.
Thanks,
Juan