130 likes | 231 Views
Searching and displaying information appropriately. Clothes4u queries. With a partner, think of four different enquiries (queries) Clothes4U customers might make . Will the database be able to supply the answers? What sort of information can’t it supply?.
E N D
Clothes4u queries • With a partner, think of four different enquiries (queries) Clothes4U customers might make. • Will the database be able to supply the answers? What sort of information can’t it supply?
In this lesson students are learning about: • searching a database for information • using database reports to present information clearly
At the end of this lesson students will be able to: • search on single and related tables • produce database reports that are fit for purpose and audience • identify strengths and weaknesses of a publication and suggest improvements
Using the database – getting answers to questions • The manager of Clothes4u wants to be able to contact “Burton” (one of his stockists) to find out about a missing order. • What fields might he need to be displayed as a result to the query? • What would be his search criteria?
Lets see how it’s done…. • Your teacher will now demonstrate this query… • Now, to make this query more effective you could enter [] to allow you to re-use the query for different stockists. This does however have its drawbacks…
A second query with TWO tables being searched • The manager now wants to find all of the “menswear” form “Boden” stockists. They want to send an email to the stockist to chase an order. • How will this query be done? Any volunteers?
Using the database – constructing queries • Task: Create and SAVE the queries that you and your partner came up with. Give the Queries appropriate names….
Creating a report • Results of queries are fine, but if you were to print it, they look quite boring. Here is how to create a report that presents the information appropriately…
Task: • Create at least one report for one of your queries. • Make sure the report fits to one page
And finally… • SOAP (sense of audience and purpose). How can a database report demonstrate SOAP?