Jump to content

Listing Top Ten Items


TADIS

Recommended Posts

Hi, can someone help me on a problem please?I have an access database linked up to an application designed in VB.NET. I am trying to implement a query where it sorts a list of books. Basically I am trying to find the top ten books borrowed between any given date. How would I check a column to find the top ten most borrowed books? I have tried several queries but none seem to work! Please Help..Ahmed

Link to comment
Share on other sites

something like this???

sql.open (select * top 10 from BOOKS where DATE between #& now()  and #& now() - 7  order by BORROWED desc), conn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...