I have a table of items, each of which has a date associated with it. If I have the date associated with one item, how do I query the database with SQL to get the \'previous
Try this...
SELECT TOP 3 * FROM YourTable WHERE Col >= (SELECT MAX(Col) FROM YourTable b WHERE Col < @Parameter) ORDER BY Col