Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dysan

  1. dysan

    Top predicate

    SELECT dbo_V_EN_PERFREP.* FROM dbo_V_EN_PERFREP WHERE dbo_V_EN_PERFREP.Del_Date IN SELECT TOP 2 Del_Date FROM dbo_V_EN_PERFREP WHERE dbo_V_EN_PERFREP.Account = dbo_V_EN_PERFREP.Account ORDER BY dbo_V_EN_PERFREP.Del_Date DESC, dbo_V_EN_PERFREP.Ticket DESC) Here's what I come up with... Any...
  2. dysan

    Top predicate

    I have an sql data base that I connect to via MS Access. Table has customer transactions...Each transaction has a unique id Using the TOP predicate I can get the 2 most recent transactions in the table. The problem is that I wish to return the last 2 transactions for every customer. Any...

Part and Inventory Search

Back
Top