Suppose:
I have a single table that holds the book ID, student ID and date of every book checked out this year.
How can I count the number of books that each student has checked out?
I currently have +4000 students and +60000 check outs.
All this information is stored on a MySQL server AND I have a Open Office Calc table with this information. I also have ACCESS97 installed, so I guess I could use some VBA code to do this.
The only way I can think of doing this is making a gigantic LOOP statement with Access to count everything and copy whatever meets certain criteria.
But I’m pretty sure I can use some SQL commands via Access that would make this task a little bit faster.
Try this SQL command in Access: