I have created Web api.I want to find last data in a column of table. How can i write sql query in controller.
I want to establish a query just like this in controller
select MAX(ORDERNO) from ORDERBILL
I have created Web api.I want to find last data in a column of table. How can i write sql query in controller.
I want to establish a query just like this in controller
select MAX(ORDERNO) from ORDERBILL