A couple of hours for a project? Generally it takes that long or longer just to get a clear idea of what the customer wants before you can even begin to write code or design pages

Always allow extra time, nothing ever gets done in a couple of hours in the real world.

Sure I could write the query and display it on screen in a prefect scenario in about 15 minutes. I would probably estimate 1/2 day just for the query and display in a grid and that is assuming that I have all the details needed up front.