Databases!

Permabanned
Joined
18 Oct 2002
Posts
12,841
Location
Lost!
I have a fairly limited understanding of databases, this is causing problems!!

I need to store some records, which when queried return results...

Within the DB i need to store (as an example) School(s), class(es), pupil(s), pupil age, and an ID number that relates to an image.

Fairly simple so far, but i dont know how the database design would work, it needs to be searchable by pretty much all of the fields above, and display the appropriate results, (pupilds in class or whatever - with their images from the server) however we dont want someone to be able to search for pupil name from the start because we dont want it to search 60,000 records in full looking for one child.

So - any suggestions or help would be appreciated.
 
Adz said:
Unless the traffic is going to be very heavy which it doesn't sound like it will (private access only?), there's no reason why you couldn't use a single table with appropriate indexes :).

Public access, its just that even with that many "users" you'll still only ever get a handful (upto a few hundred tops) on at any one time running a query.
 
Back
Top Bottom