HarryBarton
Technical User
Hi guys - we have just started with mySQL and are having a bit of trouble grasping exactly what a query can be used for.
this is the layout of our database..
3NF
Venue Table
*Venue ID, Name of Venue, Venue Address 1, Venue Address 2, Venue Postcode, Risk Accessed? , Venue Capacity, (Owner ID)
Owner Table
*Owner ID, Owner Forename, Owner Surname, Owner Address 1, Owner Address 2, Owner Postcode, Owner Telephone Number, Owner Email Address
Carer table
*Carer Employee Number, Carer Forename, Carer Surname, Carer Address 1, Carer Address 2, Carer Postcode, Carer Telephone Number, Carer Email Address, Image Link, External Qualifications, Internal Qualifications
Job table
*Job Number, Job date, (Venue ID), (Organiser ID), (Carer Employee Number(s))
Organiser table
*Organiser ID, Organiser Forename, Organiser Surname, Organiser address 1, Organiser Address 2, Organiser Postcode, organiser telephone number, organiser email address
* = primary key
in brackets = foreign key
anyway, it says to make some queries that would show relevant data and then sketch some forms and reports to make use of the queries
we are all a bit confused as to what kind of queries we would need? It's a database for a mobile creche company who get a call from a customer - check out the venue they want to hold it in and then send carers down to look after kids on location.
any ideas? sometimes it's hard to think when you've looked at something so much! just even 1 simple example is more than likely enough for us to understand.
thanks all
this is the layout of our database..
3NF
Venue Table
*Venue ID, Name of Venue, Venue Address 1, Venue Address 2, Venue Postcode, Risk Accessed? , Venue Capacity, (Owner ID)
Owner Table
*Owner ID, Owner Forename, Owner Surname, Owner Address 1, Owner Address 2, Owner Postcode, Owner Telephone Number, Owner Email Address
Carer table
*Carer Employee Number, Carer Forename, Carer Surname, Carer Address 1, Carer Address 2, Carer Postcode, Carer Telephone Number, Carer Email Address, Image Link, External Qualifications, Internal Qualifications
Job table
*Job Number, Job date, (Venue ID), (Organiser ID), (Carer Employee Number(s))
Organiser table
*Organiser ID, Organiser Forename, Organiser Surname, Organiser address 1, Organiser Address 2, Organiser Postcode, organiser telephone number, organiser email address
* = primary key
in brackets = foreign key
anyway, it says to make some queries that would show relevant data and then sketch some forms and reports to make use of the queries
we are all a bit confused as to what kind of queries we would need? It's a database for a mobile creche company who get a call from a customer - check out the venue they want to hold it in and then send carers down to look after kids on location.
any ideas? sometimes it's hard to think when you've looked at something so much! just even 1 simple example is more than likely enough for us to understand.
thanks all