Query
Database
4
Posts
2
Posters
0
Views
1
Watching
-
hi all i need help to write a query I have a table with the coloumns SNo ,ProductId and brandId SNo is given as identity true now want to retrive a ProductID whose SNo is maximum value thank u.
siri
-
hi all i need help to write a query I have a table with the coloumns SNo ,ProductId and brandId SNo is given as identity true now want to retrive a ProductID whose SNo is maximum value thank u.
siri
Hi....here is the query........
SELECT ProductID from tablename where SNo = (SELECT MAX(SNO) from tablename)
Regards, Sandeep Kumar.V
-
Hi....here is the query........
SELECT ProductID from tablename where SNo = (SELECT MAX(SNO) from tablename)
Regards, Sandeep Kumar.V
Thanks sundeep...
siri
-
Thanks sundeep...
siri
Welcome........:)
Regards, Sandeep Kumar.V