D
dan.gates
Hello -
Is it possible to use some sort of Top property or another command to
limit the number of records per column?
For example:
In this query...
INSERT INTO [Top 50] ( [Size], 15 )
SELECT TOP 50 v_item_schematics.size, Cereal.[15]
FROM Cereal LEFT JOIN v_item_schematics ON Cereal.AG =
v_item_schematics.ag_item_cd
ORDER BY v_item_schematics.avg_mvmt DESC;
I am selecting the Top 50 items from the Cereal table.
Can I add another table, say "Soup", and show the Top 50 in that as
well. Thus resulting in 100 records retrieved?
Thanks for any assistance someone can provide!
Dan
Is it possible to use some sort of Top property or another command to
limit the number of records per column?
For example:
In this query...
INSERT INTO [Top 50] ( [Size], 15 )
SELECT TOP 50 v_item_schematics.size, Cereal.[15]
FROM Cereal LEFT JOIN v_item_schematics ON Cereal.AG =
v_item_schematics.ag_item_cd
ORDER BY v_item_schematics.avg_mvmt DESC;
I am selecting the Top 50 items from the Cereal table.
Can I add another table, say "Soup", and show the Top 50 in that as
well. Thus resulting in 100 records retrieved?
Thanks for any assistance someone can provide!
Dan