K
kikeman
Hi Guys,
I have a table "Orders" and I would like to erase the older entry from
"Orders" for certain Customer. This table would have of course many Orders
for one Customer:
Customer - Order - DateDone
John - 1234 - 08.20.2009.6pm
John - 4567 - 10.20.2009.5pm
John - 8910 - 11.20.2009.7pm
What would be the DELETE/SELECT command that I would use to select the
oldest entry and erase it where the user would be John?
(in this case would be "John - 1234 - 08.20.2009.6pm")
I am using C#. But any suggestion in the command would help me.
Thanks,
I have a table "Orders" and I would like to erase the older entry from
"Orders" for certain Customer. This table would have of course many Orders
for one Customer:
Customer - Order - DateDone
John - 1234 - 08.20.2009.6pm
John - 4567 - 10.20.2009.5pm
John - 8910 - 11.20.2009.7pm
What would be the DELETE/SELECT command that I would use to select the
oldest entry and erase it where the user would be John?
(in this case would be "John - 1234 - 08.20.2009.6pm")
I am using C#. But any suggestion in the command would help me.
Thanks,