我正在使用SQL数据库,并且有一个表,我希望在其中显示倒数第二个值,并在第二个最后一个值之前显示 喜欢个人价值(1,2,3,4,5,6 ... 10)想要在RDLC报告中显示值8和9 我将如何做到这一点请告诉我 我使用的是Previous函数,但它返回空白
SELECT AtcDetails.BuyerStyle, AtcDetails.Quantity, AtcDetails.FOB,
AtcDetails.OurStyle, AtcMaster.AtcNum, StyleCostingDetails.Consumption,
StyleCostingDetails.PriceperDozen, StyleCostingDetails.Rate,
StyleCostingMaster.CreatedDate, StyleCostingMaster.CostingCount
FROM AtcMaster
CROSS JOIN StyleCostingMaster
INNER JOIN StyleCostingDetails ON StyleCostingMaster.Costing_PK = StyleCostingDetails.Costing_PK
INNER JOIN AtcDetails ON StyleCostingMaster.OurStyleID = AtcDetails.OurStyleID