i need to pull out a bool value from table only from the max row i try to do this :
select SellStat from(
select Max(SellRunId) from dbo.SellMain)
its not working
how can i get the SellStat value to the max row of SellVicNum ?