DATABASE SYSTEMS (INTERMEDIATE 2)
|
|
|
- Clementine Cameron
- 10 years ago
- Views:
Transcription
1 SECTION 3 DATABASE SYSTEMS (INTERMEDIATE 2) Database systems (Intermediate 2) Candidates undertaking Higher without prior attainment of this unit at Intermediate 2 level may find these chapters helpful. Chapter 1: What is a database? Data and information An information system is a combination of computer hardware and software that is designed to create, store, process and present information. In today s world, the amounts of data that are held within information systems are vast, and continue to increase as the processing power and storage capacity of computer systems increase year on year. For example, the information system used by the Driver and Vehicle Licensing Agency (DVLA) stores records on around 40 million drivers and around 30 million vehicles in the UK! The heart of all information systems is a database. Before looking at databases in more detail, let s review what we mean by data and information. Data are raw, unprocessed facts and figures. Data are collected, stored and processed by computers. Here are some examples of data: 368 HR101FE Baker Information is processed data with structure or meaning. Information is useful to humans. Examples are: Age: 36 years 8 months Post Code: HR10 1FE Date of Birth: 01/04/68 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 11
2 Occupation: Baker Total Spent: A database is a collection of related information about a set of persons or objects. Traditionally, databases were manual paper-based systems. For example, the Yellow Pages telephone directory is a database of companies names, addresses and telephone numbers, organised in business categories. A database management system (DBMS) is a software package which is used to create, manipulate and present data from electronic databases. Example of DBMSs include Microsoft Access and Filemaker Pro. Traditional databases The first databases were manual paper-based systems. Usually, paper records were stored in filing cabinets. There were several problems associated with such databases: the storage of paper records was very bulky, often requiring several large filing cabinets it was very easy to miss-file a paper record, or for records to be lost or damaged data was often duplicated in several records keeping records up-to-date was difficult and time consuming, and often resulted in data inconsistency, where values were updated in one record but not in others many people were employed to maintain the records, which was costly searching for records was time consuming producing reports, such as sorted lists or data collated from several sources, was extremely time consuming, if not impossible. Computerised databases were developed in order to address these problems. To help see how a computerised database can improve a manual system, let s look at an example. 12 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
3 Case study: DVD rentals Ali s Mini Market is a local store with a DVD rental section. To rent a DVD, customers must register as members. Ali records the details of members in a member list, part of which is shown in Figure 1.1. Figure 1.1: DVD rentals member list Member number Title Forename Surname Telephone no Miss Isobel Ringer Mr John Silver Mr Fred Flintstone Mrs Annette Kirton Ali has a DVD rentals list that is used to record the details of rentals for each DVD. Part of the list is shown in Figure 1.2. Figure 1.2: DVD rentals list DVD Title Cost Date Out Date Due Member Name code number 002 Finding Nemo /09/04 04/09/ John Silver 003 American Pie /08/04 28/08/ Fred Flintstone 01/09/04 02/09/04 Isobel Ringer 008 The Pianist /09/04 06/09/ Annette Kirton 011 Notting Hill /08/04 28/08/ I Ringer 04/09/04 06/09/ Prime Suspect /08/04 28/08/ Annette Kirton 015 Shrek /09/04 11/09/ Joan Silver Ali has found a number of problems in using these lists. It is time-consuming to record the details of each member every time a DVD is rented. As a result, staff often do not write all the information down in the DVD rentals list (perhaps missing out the member number or name, or shortening the name). When Ali has to check up on late returns, he must refer back to the members list, to find a member s contact details, which is very time consuming. Customers must wait until all the details are recorded. At busy times, this can result in long queues. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 13
4 Mistakes can be made in writing the information down. Can you spot a mistake with Member 1034 in the DVD rentals list? (See page 16 for the answer!) Ali has to work out the total amount of money made from DVD rentals each month. This is very time consuming and he often makes mistakes. Ali would like to be able to find out which DVDs are the most and least popular in order to update his stock, but he doesn t have the time to do this. All of Ali s problems can be solved by using a computerised database to replace his manual system. Benefits of using computerised databases Computerised databases have several advantages over manual databases. Searching, sorting and calculating operations can be performed much more quickly. Information is more easily available to users, due to these improved methods of data retrieval. Data integrity is improved, resulting in more accurate information. Types of database The two main types of computerised database are flat file and relational. Flat file databases A flat file database is like an electronic card index file. In this type of database, the data is stored in a single table. In the case of the DVD rentals system, the table would store data about both members and DVDs, as shown in Figure DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
5 Figure 1.3: A flat file database for the DVD rentals system DVD Title Cost Date Date Member Name Telephone code out in number number 002 Finding Nemo /09/04 04/09/ John Silver American Pie /08/04 28/08/ Fred Flintstone American Pie /09/04 02/09/ Isobel Ringer The Pianist /09/04 06/09/ Annette Kirton Notting Hill /08/04 28/08/ Isobel Ringer Notting Hill /09/04 06/09/ Fred Flintstone Prime Suspect /08/04 28/08/ Annette Kirton Shrek /09/04 11/09/ Joan Silver The flat file database contains one record for each DVD rental. This is because flat file databases only allow a single value to be stored in each column. Limitations of flat file databases There are a number of problems with flat file databases. Data is very likely to be duplicated. For example, because a new record would be created for each DVD rented, this means that the member details would have to be copied onto each new record. The duplication of data leads to the possibility of data inconsistency. This happens when what should be the same data, stored on two separate records, differs. Usually this is the result of human error in copying the data, e.g. entering the telephone number for John Silver as It then becomes difficult or impossible to know which record contains the correct version of the data. It is not possible to store information about a member without entering details of a DVD. This is called an insertion anomaly. Removing a DVD from the database may remove the only record that stores details of a member. This is called a deletion anomaly. In fact, a flat file database is not much of an improvement on the manual system! Relational databases The solution to the problems of flat file databases is to use a relational database. A relational database stores data in more than one table. The idea is to ensure that data is only entered and stored once, so removing the possibility of data duplication and inconsistency. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 15
6 A process called normalisation is used to work out what tables are required and which data items should be stored in each table. Exercise 1 1. Define the terms data and information. Give examples of your own to illustrate your answer. 2. Write down as many possible items of information that could be represented by the data Describe three problems that exist with manual paper-based filing systems. 4. Describe three benefits of using computerised databases, compared to manual systems. 5. (a) What is meant by a flat file database? (b) Describe four problems with the use of flat file databases. 6. (a) What is a relational database? (b) Explain why a relational database is able to solve the problems associated with flat file databases. (c) Explain why normalisation is required when using a relational database. The mistake in the DVD Rentals List was that Member 1034 is listed as both John Silver and Joan Silver. 16 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
7 Chapter 2: Data modelling Entities and data relationships In Chapter 1, we introduced Ali s Mini Market and the DVD rentals system. Ali recorded information about each DVD rental (its code, title, cost, date out, date due, member number and name) and each member (member number, name and telephone number). In database systems, Member and DVD rental are called entities. An entity represents a person or object. Each entity has a set of attributes that describe examples or instances of that entity. The attributes of the DVD rental entity are: Code, Title, Cost, Date Out, Date Due and Member Number; the attributes of the member entity are: Member Number, Name and Telephone Number. In a manual system, attributes may contain a list of values. For example, in Ali s original DVD rentals list (see Figure 1.2), the attributes Date Out, Date Due, Member Number and Name had more than one entry for DVDs 003 and 011. These are called multi-valued attributes. In a computerised database, single-valued attributes are used. The flat file database illustrated in Figure 1.3 demonstrates how these multiple values are turned into single values. Figure 2.1: Entities, attributes and instances The member entity is the whole table Each column stores one attribute, e.g. Member Name MEMBER Member Member name Telephone number number 1012 Isobel Ringer John Silver Fred Flintstone Annette Kirton Each row stores one instance, e.g. member 1034 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 17
8 The entity and its attributes are written as: MEMBER(Member Number, Name, Telephone Number) DVD RENTAL(DVD Code, Title, Cost, Date Out, Date Due, Member Number) Note that the entity name is usually written in CAPITALS and in the singular rather than the plural form, i.e. MEMBER, not MEMBERS. The attributes are listed in the brackets in lower case letters with initial capitals. Sometimes it is easier to write the attributes one underneath the other. When a DVD is rented, a link is made between DVD RENTAL and MEMBER. This is called a relationship. Each member can rent out many DVDs, but each DVD can only be rented by one member at a time, so we say there is a one-to-many relationship between MEMBER and DVD RENTAL. This is sometimes written as... MEMBER 1:M DVD RENTAL 1:M stands for one-to-many. Figure 2.2 shows a diagram of this relationship between MEMBER and DVD RENTAL. This is called an entity-relationship diagram. The line joining the entities is called a crow s foot, and the toes are at the many end of the relationship. Figure 2.2: Entity-relationship diagram showing a one-to-many relationship MEMBER DVD RENTAL 18 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
9 There can be other types of relationship between entities. For example, every vehicle has a registration number, and each registration number corresponds to a single vehicle, so there is a one-to-one relationship between VEHICLE and REGISTRATION NUMBER. In a school, each pupil has many teachers, and each teacher teaches many pupils, so there is a many-to-many relationship between PUPIL and TEACHER. These relationships can be written as VEHICLE 1:1 REGISTRATION NUMBER PUPIL M:N TEACHER M:N stands for many-to-many (the number of teachers and pupils may be different, which is why N is used instead of M) Figure 2.3: Entity-relationship diagrams showing one-to-one and manyto-many relationships VEHICLE PUPIL REGISTRATION NUMBER TEACHER Data modelling is the process of defining the entities, attributes and relationships that are required. The result is called a data model. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 19
10 Multiple tables Figure 2.4 shows the flat file database from Chapter 1, which could have been used to store the data about members and DVD rentals. Figure 2.4: Flat file database DVD Title Cost Date Date Member Name Telephone code out in number number 002 Finding Nemo /09/04 04/09/ John Silver American Pie /08/04 28/08/ Fred Flintstone American Pie /09/04 02/09/ Isobel Ringer The Pianist /09/04 06/09/ Annette Kirton Notting Hill /08/04 28/08/ Isobel Ringer Notting Hill /09/04 06/09/ Fred Flintstone Prime Suspect /08/04 28/08/ Annette Kirton Shrek /09/04 11/09/ Joan Silver Using a single table is not the best way of storing the data. There is unnecessary duplication of data. For example, Annette Kirton s name and telephone number have been duplicated for every DVD she has rented. There is the possibility of data inconsistency. For example, the member with code 1034 has rented two DVDs. But who is the member? Is it John Silver or Joan Silver? There are two other examples of data inconsistency in the table above. Can you spot them? (See page 25 for the answers.) In the example above, the data inconsistency is a direct result of data duplication. If we can prevent duplicating data unnecessarily, then we can eliminate the possibility of data inconsistency. The solution to the problem of duplication is to store the details in two separate tables, corresponding to the entities MEMBER and DVD RENTAL. These tables are shown in Figure DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
11 Figure 2.5: Tables for DVD RENTAL and MEMBER DVD Title Cost Date Date code out due 002 Finding Nemo /09/04 04/09/ American Pie /09/04 02/09/ The Pianist /09/04 06/09/ Notting Hill /09/04 06/09/ Prime Suspect /08/04 28/08/ Shrek /09/04 11/09/ American Pie /08/04 28/08/ Notting Hill /08/94 28/08/04 Member Member name Telephone number number 1012 Isobel Ringer John Silver Fred Flintstone Annette Kirton Notice that the member details for John Silver and Annette Kirton now appear only once, removing the problem of unnecessary duplication and data inconsistency. However, simply splitting the original table in two means the link between DVD rentals and members has now been broken we can no longer tell who has rented which DVD! To restore the link, an extra field must be added to one of the tables. There are two possibilities to consider: 1. Add the DVD code to the MEMBER table, as shown: Member Member name Telephone DVD number number code 1012 Isobel Ringer John Silver ? 1056 Fred Flintstone Annette Kirton ? This solution has a problem, however. What value should be entered into DVD Code for members 1034 and 1097? Because multi-valued attributes are not permitted, there is only space for DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 21
12 one value. The only way to store information about another rented DVD is to add another row which means duplicating the member details again! 2. Add the member number to the DVD RENTAL table, as shown: DVD Title Cost Date Date Member code out due number 002 Finding Nemo /09/04 04/09/ American Pie /09/04 02/09/ The Pianist /09/04 06/09/ Notting Hill /09/04 06/09/ Prime Suspect /08/04 28/08/ Shrek /09/04 11/09/ American Pie /08/04 28/08/ Notting Hill /08/94 28/08/ Keys This solution is better, as each DVD can have only one member renting it at a time. Notice that Member Number is now duplicated it appears in both the MEMBER table and the DVD RENTAL table but this time the duplication is necessary. In order to establish the relationships between the tables in the database, each entry, or record, in a table must be able to be uniquely identified by a key. A key is a field, or set of fields, the values of which uniquely identify a record. A field is equivalent to an attribute of an entity. In any table, there may be more than one field, or set of fields, which can uniquely identify each record these are called candidate keys. The candidate key that is chosen to be used is called the primary key. In our DVD rentals example, Member Number is a candidate key for the MEMBER entity, because each member has a unique number. For example, the number 1056 appears in only one member record. The key is identified by underlining it, as shown: MEMBER(Member Number, Name, Telephone Number) The extra field (Member Number) which is added to the DVD RENTAL table is called a foreign key. A foreign key is a field that is not a primary key in its own table, but is a primary key in another table. 22 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
13 In this example, Member Number is a foreign key in DVD RENTAL, because it is the primary key in MEMBER. Here is the data model: MEMBER(Member Number, Name, Telephone Number) DVD RENTAL(DVD Code, Title, Cost, Date Out, Date Due, *Member Number) The asterisk (*) before Member Number in the DVD RENTAL entity indicates that it is a foreign key. Figure 2.6 shows the entity-relationship (E-R) diagram. Figure 2.6: Entity-relationship diagram for the video shop data model MEMBER DVD RENTAL You can use the data model to check that the E-R diagram is correct. Check for relationships. Entities are only related if they share an attribute. In this case, MEMBER and DVD RENTAL are related because they share the Member Number attribute. Check the relationship type. To work out which way the relationship goes, look for the foreign key. The entity that contains the shared attribute as a foreign key is always at the many end of the relationship. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 23
14 In this case, Member Number is a foreign key in the DVD RENTAL entity, so this entity is at the many end of a one-to-many relationship. Read the relationship out. If you read the relationship back to yourself, you can check to see if it s correct. In this case, reading from top to bottom, each Member can rent many DVDs. This is correct. Reading from bottom to top, each DVD can be rented by only one Member. This is also true. It is not always obvious which entities are required in a data model. A process called normalisation is used to determine these. In fact, the data model above is not fully complete. If the database records each time a DVD is rented, then a DVD may be rented more than once (on different dates). A fully normalised data model to represent this is set as an exercise in Section 4 of this pack. From data model to database Once the entities, attributes and relationships in the data model have been defined, a database can be created. Each entity in the data model becomes a table in the database. Each attribute of an entity becomes a field in a table in the database. 24 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
15 Exercise 2 1. A used car dealer has a database to keep track of car sales. One of the entities in the database is VEHICLE. Suggest eight suitable attributes of this entity. 2. The following table shows some data about books in the children s section of a library. The details of each book s title, author, publisher and International Standard Book Number (ISBN) are recorded. In addition, each book is given a unique library catalogue number. Title Author Publisher ISBN Catalogue No. The Cat in the Hat Dr Seuss Collins The Badger s Bath N Butterworth HarperCollins The Fox s Hiccups N Butterworth HarperCollins Snow White and L Anholt, Orchard Books the Seven Aliens A Robins Goldilocks and the Ladybird Three Bears (a) (b) (c) What is meant by a key in a database table? Explain why the following keys would be unsuitable: (i) Author (ii) Title. Identify two suitable candidate keys for this table. 3. Draw an entity-relationship diagram to represent the following relationships: (a) pupil and teacher (b) patient and medical record (c) item in a shop and supplier (d) customer and newspaper (on a delivery round) (e) television and repair details (in a repair shop) (f) person over 16 and National Insurance number (g) CD and track. The mistakes in the DVD rentals list were: 1. DVD 003 is listed as American Pie and American Pie 3 2. DVD 011 is listed incorrectly as Noting Hill. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 25
16 Chapter 3: Implementation Once the data model is completed, the database can be constructed. This involves three stages: 1. set-up the tables 2. populate the tables 3. manipulate and present the data. Let s look at each of these stages in turn for the DVD rentals case study. Setting up the tables In order to set-up the tables in the database, you must decide: 1. Which tables are required? The tables correspond directly to the entities in the data model. In this case, there will be two tables, Member and DVD Rental. 2. Which fields are required? As before, the fields in each table are the attributes in each entity in the data model. Table: Member Table: DVD Rental Fields: Member Number Fields: DVD Code Name Title Telephone Number Cost Date Out Date Due Member Number 3. What are the properties of each field? For each field in the database, you must consider the following. (i) Its name You should take care to choose sensible field names and make sure that your naming is consistent in each table. For example, if you choose to abbreviate Member Number to Member No. (rather than Member Num. or Member #), you should also abbreviate Telephone Number to Telephone No. 26 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
17 (ii) The data type This may be one of the following. Text, alphanumeric, or string Numeric Currency Date or time Boolean Link Object E.g. Smith, EH991AB, 14+VAT. Either integer (whole numbers) or real (floating point), e.g. 13, A special type of numeric field for monetary values, e.g , 2.50, Dates may be in dd/mm/yyyy format or long date format. Times may be in hh:mm:ss format, or long time format. E.g. 01/01/1990, 1 January 1990, 13:30:00, 1:30 p.m. Yes or no. Named after George Boole, mathematician and logician, who created binary logic, e.g. AND, OR, NOT. A reference to a file located outside the database. Data such as a picture or sound file. (iii) Validation Whether the field must have a value, or can be left blank (called a presence check). Whether the value of the field is limited to certain values (called a restricted choice check), e.g. Mr/Mrs/Miss/Ms. Numeric fields may be subject to a range check, e.g. the year for a secondary school pupil must be between 1 and 6. It is often useful to record this information about tables and fields in a table called a data dictionary. This allows the database to be implemented using any database management system. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 27
18 Populating the tables Entering data into the tables is known as populating the tables. The most important aspect of this stage is ensuring the data is entered accurately. The validation settings in the data dictionary help to ensure that data is valid, or sensible. For example, required fields will all have values (presence check), number values will be in the range specified (range check), while some values may be selected from a list of choices (restricted choice check). However, there is no guarantee that even valid data is correct! You must make sure that the data entered is checked to see that it is correct. This is called verification. Most occurrences of incorrect data in databases are due to human error, usually as a result of mistakes in inputting data. Some ways of ensuring that data is correct include: machine-readable data entry, such as bar codes and optical character recognition (OCR), which eliminates the scope for human error in entering data a spell checker can help to ensure that free text entered is valid. Manipulating the data The real value of a database lies in what you can do with the data once it has been entered and stored. Organisations store vast amounts of data in databases, and a well-designed database can produce valuable information that a human operator would find difficult or impossible to produce. Databases are good at performing four main tasks: searching records sorting records calculating values presenting results. 28 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
19 Searching records Searching is the process of selecting records from a table or combination of tables. To perform the search, three items must be identified. 1. Which fields will be used to identify the records required? 2. What are the search conditions for identifying the records required? 3. Which fields will be displayed? Figure 3.1: A search query in Microsoft Access. The name of the student and the results of all three tests will be displayed. For Test 3, however, only the names of those students with 10 marks will be displayed. This is a condition of the search. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 29
20 Search conditions (called criteria in Access see Fig 3.1) contain Boolean operators. These are shown in the table below: Operator Meaning Example Matches = equal to Age = 16 People aged 16 Surname = 'Smith' People called Smith < > not equal to Height < > 1.70 People smaller or taller than 1.7m Certificate < > PG Films which are not PG certificate > greater than Age > 17 People older than 17 or Surname > 'N' Surnames in the second half after of the alphabet (starting N-Z) Date of Birth > 01/05/1952 People born after 1 May 1952 < less than Height < 1.9 People shorter than 1.9m or Surname < 'N' Surnames in the first half before of the alphabet (beginning A-M). Date of Birth < 31/06/1990 People born before 31 June 1990 >= greater than or Age >= 17 People aged 17 or older equal to Postcode >= 'EH30' Postcodes beginning EH30 or or greater after and Date of Birth >= 01/05/1952 People born on or after 1 May including 1952 <= less than or equal Height <= 1.95 People 1.9m or less in height to Postcode <= 'EH20' Postcodes before EH20 or (beginning EH1 to EH19) before and Date of Birth <= 30/06/1990 People born on or before 30 including June DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
21 Some DBMSs allow you to select a phrase such as not equal to instead of using the operator symbol. Some DBMSs also have some other search functions, such as between, e.g. between 1 and 5. Wildcards A wildcard is a symbol which is used to stand for one or more characters in a search condition. Commonly, the asterisk (*) symbol is used to stand for any number of characters (including none and one), and the question mark (?) symbol stands for exactly one character. Figure 3.2: Boolean operators and wildcards in Filemaker Pro Figure 3.2 shows the list of Boolean search operators and wildcard characters available in Filemaker Pro. Figure 3.3 is an extract from the Microsoft Access help file, which shows the wildcard characters available. Figure 3.3: Wildcard characters in Microsoft Access Character Description Example * Matches any number of wh* matches what, when, characters (zero or more). It can where, who, why, white, be used as the first or last etc. character in the character string.? Matches any single alphabetic b?ll matches ball, bell, bill and character. bull [ ] Matches any single character b[ae]ll matches ball and bell within the brackets. but not bill or bull! Matches any character not in the b[!ae]ll matches bill and bull brackets. but not ball or bell Matches any one of a range of b[a-c]d matches bad, and characters. You must specify the would also match bbd and bcd, range in ascending order (A to Z, if these were valid entries. not Z to A). # Matches any single numeric 1#3 matches 103, 113, 123, character. etc. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 31
22 Figures 3.4 and 3.5 show how a wildcard character is used as part of the search criteria in Microsoft Access. The asterisk is used in the same way in Find mode within Filemaker Pro. Figure 3.4: Using a wildcard to search within a text field in Microsoft Access. The search criteria would match all customers whose Name ends in son. Figure 3.5: Using a wildcard to search within a date field in Microsoft Access. The search criteria would match all orders with an order date in August Figures 3.6 and 3.7 show a search for records where the average mark is less than 6, using Microsoft Access and Filemaker Pro. In each case, the search condition is Average < 6. Figure 3.6: Search query in Microsoft Access. 32 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
23 Figure 3.7: Search query from Fig 3.6, shown in Filemaker Pro. A complex search involves more than one search condition (and usually more than one field). Figures 3.8 and 3.9 show a complex search in Microsoft Access and Filemaker Pro. In each case, the search condition is Test 3 = 10 AND Average < 6. Figure 3.8: A complex search in Microsoft Access. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 33
24 Figure 3.9: A complex search in Filemaker Pro using a table layout. Figure 3.10 and Figure 3.11 show a complex search involving more than one search condition. In each case, the search condition is Test 1 = 10 OR Test 2 = 10 OR Test 3 = 10. In Access, each new search condition is entered into a new row below the Criteria row; in Filemaker Pro, a new request is selected in Find mode. Figure 3.10: A complex search in Microsoft Access involving multiple fields. 34 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
25 Figure 3.11: A complex search in Filemaker Pro involving multiple fields (using a table layout). Sorting records It is often useful to arrange the information in the database in some kind of order. A sorting operation is performed to achieve this. To perform a sort, two items must be identified. 1. Which field will be used to decide the order of records? This is called the sort key. 2. For the sort key, will the order of sorting be ascending or descending? For example: to produce a list of people with the tallest first, the records would be sorted in descending order of height. to produce a list of people with youngest first, the records would be sorted in ascending order of age. A very common way of ordering records relating to people is in alphabetical order. To achieve alphabetical ordering requires the records to be sorted in ascending order of surname. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 35
26 Figure 3.12: Using a query in Microsoft Access to sort in ascending order of name Figure 3.13: Sorting in ascending order of name in Filemaker Pro A complex sort involves more than one sort condition involving two or more fields. The main sort key is called the primary sort key, and the second one is called the secondary sort key. Figures 3.14 and 3.15 show a complex sort in Microsoft Access and Filemaker Pro. This sorts results in a descending order of average results, then in an ascending 36 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
27 order of name. This will show the results with the highest first; any students with the same average mark will be listed alphabetically by name. Note how the order of fields must be changed to identify the primary and secondary sort keys. Figure 3.14: A complex sort in Microsoft Access. Figure 3.15: A complex sort in Filemaker Pro DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 37
28 Calculating values One of the main advantages that computers have over humans is the ability to perform calculations very quickly, as many times as necessary, without errors. In a database, calculations are performed using expressions or formulas. Here is an expression to calculate a student s total mark from three tests: = [Test 1] + [Test 2] + [Test 3] Many databases also allow you to use functions in expressions. For example, the following expression would calculate the student s average mark from the three tests: = Average([Test 1], [Test 2], [Test 3]) In Microsoft Access, calculations are performed in a query using the Expression Builder, as shown in Figure Figure 3.16: Using Expression Builder in Microsoft Access 38 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
29 Figure 3.17: A query containing an expression field created with Expression Builder in Microsoft Access Figure 3.18: Answer table in Microsoft Access showing the total and average marks Figure 3.19: Entering an expression for a calculation field in Filemaker Pro DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 39
30 Presenting results There are two ways in which databases can present information: on-screen and hard copy (print-outs). In some DBMSs, the same method is used for both of these, e.g. in Filemaker Pro, layouts are used for both screen and printed output and are also used for data entry. In other DBMSs, there are different methods used for each, e.g. in Microsoft Access, forms are used for screen output, while reports are used for printed output. In Access, forms are also used for data entry. Working with more than one table If you recall the DVD Rental system, back in Chapter 2 we saw how we could record information about rentals more efficiently by using two tables one to store information about Members, and one to store information about DVDs, as shown: DVD Title Cost Date Date code out due 002 Finding Nemo /09/04 04/09/ American Pie /09/04 02/09/ The Pianist /09/04 06/09/ Notting Hill /09/04 06/09/ Prime Suspect /08/04 28/08/ Shrek /09/04 11/09/ American Pie /08/04 28/08/ Notting Hill /08/94 28/08/04 DVD Title Cost Date Date Member code out due number 002 Finding Nemo /09/04 04/09/ American Pie /09/04 02/09/ The Pianist /09/04 06/09/ Notting Hill /09/04 06/09/ Prime Suspect /08/04 28/08/ Shrek /09/04 11/09/ American Pie /08/04 28/08/ Notting Hill /08/94 28/08/ To represent these in a database requires setting up and populating two tables. 40 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
31 Microsoft Access In Microsoft Access, two tables can created within the database. In order to link the data about DVDs with Members, you must ensure that both tables contain the field Member Number, and that this field has the same data type and size settings (e.g. Numeric/Integer). We can improve the database by ensuring that we can only enter Member Numbers into the DVD table for Members who are listed in the Members table. To do this, we use the Lookup Wizard, as shown in Figures 3.20 to Figure 3.20: Using the Lookup Wizard with the Member Number field in the DVD table DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 41
32 Figure 3.21: In Step 2 of the Lookup Wizard, select the Member table from which the value for Member Number will be selected Figure 3.22: In Step 3 of the Lookup Wizard, select the fields from the Member table which are to be displayed in the lookup list Now when the DVD table is populated with data, the lookup produces a drop-down list of Members from the Member table from which to select a value for Member Number, as shown in Figure 3.23: 42 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
33 Figure 3.23: Using the lookup list to enter data into the DVD table Filemaker Pro In Filemaker Pro, the two tables are created as separate files. In order to link the data about DVDs with Members, you must ensure that both files contain the field Member Number, and that this field has the same data type (e.g. Number). We can improve the database by ensuring that we can only enter Member Numbers into the DVD table for Members who are listed in the Members table. To do this, we need to use relationships and value lists. In the DVD file, create a relationship which links the Member Number field in the DVD file to the Member Number field in the Member file, as shown in Figure Figure 3.24: In the DVD file, creating a relationship to link the DVD and Member files DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 43
34 Next, create a Value List so that Member Number in the DVD file takes its value from Member Number in the Member table, as shown in Figures 3.25 and Figure 3.25: In the DVD file, creating a value list for Member Number Figure 3.26: Specifying fields to be shown in the value list 44 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
35 The final step is to set the field format for Member Number in the DVD table layout to be a pop-up list, as shown in Figure Figure 3.27: In the DVD file, setting the field format for Member Number to be a pop-up list Now when a DVD is rented, we can select a Member from the list, as shown in Figure Figure 3.28: Using the pop-up list to enter data into the DVD table. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 45
36 Exercise 3 The Driver and Vehicle Licensing Agency (DVLA) vehicle database stores details of around 40 million registered vehicles. Each time a vehicle is sold, details of the current mileage are recorded. If a vehicle is scrapped this is also recorded. The following table shows some sample data from the database. Make Model Registration Mileage First Scrapped Number Registration Vauxhall Cavalier B123ABC /08/84 Ford Mondeo SB51XYZ /10/01 Porsche Boxster J3LLY /11/91 1. Identify suitable data types for the following fields: (a) (b) (c) (d) Registration Number Mileage First Registration Scrapped. 2. Assume that the characters *,?, L and 0 are wildcards as follows. * match zero or more characters? match any single character L match any single letter 9 match any single digit Identify the registration numbers that would be matched by the following search expressions. 1. B* 2. *B* 3. L9* LLL 4. *L9* LLL 46 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
37 3. Describe how to perform the following data manipulations. (a) (b) (c) (d) (e) (f) (g) Identify vehicles that have done below 75,000 miles. Identify vehicles first registered after 1990 that have been scrapped. Identify all vehicles with 03 or 53 registrations. Identify the vehicle with the highest recorded mileage. Identify the scrapped vehicle with the lowest recorded mileage. Produce a list of vehicles in order of date first registered, most recent first. Produce a list of vehicles in alphabetical order of make, with the highest mileage first. DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS) 47
38 48 DATABASE SYSTEMS (INT 2/HIGHER INFORMATION SYSTEMS)
RELATIONAL DATABASE SYSTEMS (HIGHER)
SECTION 4 RELATIONAL DATABASE SYSTEMS (HIGHER) Relational Database Systems (Higher) Chapter 1 briefly summarises the material covered at Intermediate 2 level. Candidates without prior attainment of this
EXTENDED LEARNING MODULE A
EXTENDED LEARNING MODULE A DESIGNING DATABASES AND ENTITY- RELATIONSHIP DIAGRAMMING Student Learning Outcomes 1. Identify how databases and spreadsheets are both similar and different. 2. List and describe
Access 2003 Introduction to Queries
Access 2003 Introduction to Queries COPYRIGHT Copyright 1999 by EZ-REF Courseware, Laguna Beach, CA http://www.ezref.com/ All rights reserved. This publication, including the student manual, instructor's
Use Find & Replace Commands under Home tab to search and replace data.
Microsoft Access 2: Managing Data in Tables and Creating Relationships You have created tables in an Access database. Data in Access tables can be added, deleted, and updated to be current (practiced in
Access 2007. Creating Databases - Fundamentals
Access 2007 Creating Databases - Fundamentals Contents Database Design Objectives of database design 1 Process of database design 1 Creating a New Database... 3 Tables... 4 Creating a table in design view
MICROSOFT ACCESS STEP BY STEP GUIDE
IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the
How to set up a database in Microsoft Access
Contents Contents... 1 How to set up a database in Microsoft Access... 1 Creating a new database... 3 Enter field names and select data types... 4 Format date fields: how do you want fields with date data
Creating Tables ACCESS. Normalisation Techniques
Creating Tables ACCESS Normalisation Techniques Microsoft ACCESS Creating a Table INTRODUCTION A database is a collection of data or information. Access for Windows allow files to be created, each file
7. Databases and Database Management Systems
7. Databases and Database Management Systems 7.1 What is a File? A file is a collection of data or information that has a name, called the Filename. There are many different types of files: Data files
DATA HANDLING: SETTING UP A DATABASE
DATA HANDLING: SETTING UP A DATABASE DATA HANDLING : CONTENTS Creating a simple database Creating & using tables Using data fields, records, data types, field sizes, primary key All Rights Reserved DATA
Chapter 5. Microsoft Access
Chapter 5 Microsoft Access Topic Introduction to DBMS Microsoft Access Getting Started Creating Database File Database Window Table Queries Form Report Introduction A set of programs designed to organize,
Creating and Using Databases with Microsoft Access
CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries
Microsoft Access Basics
Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision
Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.
Copyright 2015 Pearson Education, Inc. Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Eleventh Edition Copyright 2015 Pearson Education, Inc. Technology in Action Chapter 9 Behind the
ICDL Module 5: David Varley
ICDL Module 5: Databases using OpenOffice.org Base David Varley IMPORTANT NOTICE All candidates who follow an ICDL/ECDL course must have an official CDL/ECDL Skills Log Book or Skills Card. Without such
Ken Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N).
Lab 3 Relationships in ER Diagram and Relationships in MS Access MS Access Lab 3 Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access
What is a database? The parts of an Access database
What is a database? Any database is a tool to organize and store pieces of information. A Rolodex is a database. So is a phone book. The main goals of a database designer are to: 1. Make sure the data
Database Database Management System (DBMS)
Database Database Management System (DBMS) Introduction to databases A database is a collection of structured and related data items organized so as to provide a consistent and controlled access to items.
Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options
The Home Ribbon Sort Buttons: sort records into ascending or descending order by selected field Filter by Selection button. Displays records by degree to which they match the selected record. Display summary
Consider the possible problems with storing the following data in a spreadsheet:
Microsoft Access 2010 Part 1: Introduction to Database Design What is a database? Identifying entities and attributes Understanding relationships and keys Developing tables and other objects Planning a
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new
Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB
Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an
Database Design Basics
Database Design Basics Table of Contents SOME DATABASE TERMS TO KNOW... 1 WHAT IS GOOD DATABASE DESIGN?... 2 THE DESIGN PROCESS... 2 DETERMINING THE PURPOSE OF YOUR DATABASE... 3 FINDING AND ORGANIZING
Topic: Relationships in ER Diagram and Relationships in MS Access
MS Access Lab 3 Topic: Relationships in ER Diagram and Relationships in MS Access Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access
Excel Database Management Microsoft Excel 2003
Excel Database Management Microsoft Reference Guide University Technology Services Computer Training Copyright Notice Copyright 2003 EBook Publishing. All rights reserved. No part of this publication may
User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009
User Services July 2009 OBJECTIVES Develop Field Properties Import Data from an Excel Spreadsheet & MS Access database Create Relationships Create a Form with a Subform Create Action Queries Create Command
ECDL Module 5. REFERENCE MANUAL Databases. Microsoft Access 2003 Edition for ECDL Syllabus Four
ECDL Module 5 REFERENCE MANUAL Databases Microsoft Access 2003 Edition for ECDL Syllabus Four PAGE 2 - ECDL MODULE 5 (USING OFFICE 2003) - MANUAL 1995-2006 Cheltenham Courseware Ltd. Crescent House 24
Microsoft Access 2010 Overview of Basics
Opening Screen Access 2010 launches with a window allowing you to: create a new database from a template; create a new template from scratch; or open an existing database. Open existing Templates Create
Hands-on training in relational database concepts
J. of Acc. Ed. 22 (2004) 131 152 Journal of Accounting Education www.elsevier.com/locate/jaccedu Hands-on training in relational database concepts Jeffrey S. Zanzig a, *, Bor-Yi Tsay b,1 a College of Commerce
Files. Files. Files. Files. Files. File Organisation. What s it all about? What s in a file?
Files What s it all about? Information being stored about anything important to the business/individual keeping the files. The simple concepts used in the operation of manual files are often a good guide
Excel 2007 Tutorials - Video File Attributes
Get Familiar with Excel 2007 42.40 3.02 The Excel 2007 Environment 4.10 0.19 Office Button 3.10 0.31 Quick Access Toolbar 3.10 0.33 Excel 2007 Ribbon 3.10 0.26 Home Tab 5.10 0.19 Insert Tab 3.10 0.19 Page
DATABASE INTRODUCTION
Introduction The history of database system research is one of exceptional productivity and startling economic impact. We have learnt that from the days of file-based systems there are better ways to handle
MS Access Lab 2. Topic: Tables
MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction
Sample- for evaluation only. Introductory Access. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.
A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc. 2010 Introductory Access TeachUcomp, Inc. it s all about you Copyright: Copyright 2010 by TeachUcomp, Inc. All rights reserved. This
European Computer Driving Licence
European Computer Driving Licence ECDL Syllabus 5.0 Module 5 Using Databases ECDL Syllabus 5 Courseware Module 5 Contents UNDERSTANDING DATABASES... 1 KEY CONCEPTS...1 DATABASE ORGANIZATION...1 RELATIONSHIPS...3
Creating tables in Microsoft Access 2007
Platform: Windows PC Ref no: USER 164 Date: 25 th October 2007 Version: 1 Authors: D.R.Sheward, C.L.Napier Creating tables in Microsoft Access 2007 The aim of this guide is to provide information on using
Designing Databases. Introduction
Designing Databases C Introduction Businesses rely on databases for accurate, up-to-date information. Without access to mission critical data, most businesses are unable to perform their normal daily functions,
Setting up a basic database in Access 2007
Setting up a basic database in Access 2007 1. Open Access. This is the screen that you should see 2. Click on Blank database 3. Enter the name customer mailing list in the file name section (this will
Course Title: Microsoft Access 2007- Basic Duration: 12 hours
Course Title: Microsoft Access 2007- Basic Duration: 12 hours Getting started Topic A: Database concepts A-1: Identifying database components A-2: Identifying the advantages of relational databases Topic
Querying a Database Using the Select Query Window
Querying a Database Using the Select Query Window PROJECT CASE PERSPECTIVE Dr. Gernaey and his colleagues are eager for Ashton James College (AJC) to obtain the benefits they anticipated when they set
Microsoft Access 2010
IT Training Microsoft Access 2010 Jane Barrett, IT Training & Engagement Team Information System Services Version 3.0 Scope Learning outcomes Learn how to navigate around Access. Learn how to design and
Introduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.
Create a table When you create a database, you store your data in tables subject-based lists that contain rows and columns. For instance, you can create a Contacts table to store a list of names, addresses,
SPECIMEN A451 GENERAL CERTIFICATE OF SECONDARY EDUCATION COMPUTING. Duration: 1 hour 30 minutes. Unit A451: Computer systems and programming
SPECIMEN GENERAL CERTIFICATE OF SECONDARY EDUCATION COMPUTING Unit A451: Computer systems and programming A451 Candidates answer on the Question Paper OCR Supplied Materials None Other Materials Required:
Unit 2.1. Data Analysis 1 - V2.0 1. Data Analysis 1. Dr Gordon Russell, Copyright @ Napier University
Data Analysis 1 Unit 2.1 Data Analysis 1 - V2.0 1 Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes,
Using Microsoft Access
Using Microsoft Access USING MICROSOFT ACCESS 1 Queries 2 Exercise 1. Setting up a Query 3 Exercise 2. Selecting Fields for Query Output 4 Exercise 3. Saving a Query 5 Query Criteria 6 Exercise 4. Adding
C omputer D riving L icence
E uropean C omputer D riving L icence E C D L S y l l a b u s 5. 0 Module 5 Using Databases ECDL Syllabus 5 Courseware Module 5 Contents UNDERSTANDING DATABASES... 1 KEY CONCEPTS... 1 DATABASE ORGANIZATION...
Introduction to Microsoft Access 2010
Introduction to Microsoft Access 2010 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
Introduction to Computing. Lectured by: Dr. Pham Tran Vu [email protected]
Introduction to Computing Lectured by: Dr. Pham Tran Vu [email protected] Databases The Hierarchy of Data Keys and Attributes The Traditional Approach To Data Management Database A collection of
INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports
INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports Introduction...2 Tables...3 Designing a Table...3 Data Types...4 Relationships...8 Saving Object Designs and Saving Data...9 Queries...11
Microsoft Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
Access 2010 Intermediate Skills
Access 2010 Intermediate Skills (C) 2013, BJC HealthCare (St Louis, Missouri). All Rights Reserved. Revised June 5, 2013. TABLE OF CONTENTS OBJECTIVES... 3 UNDERSTANDING RELATIONSHIPS... 4 WHAT IS A RELATIONSHIP?...
MICROSOFT ACCESS 2003 TUTORIAL
MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body
Data Analysis 1. SET08104 Database Systems. Copyright @ Napier University
Data Analysis 1 SET08104 Database Systems Copyright @ Napier University Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship?
Introduction to Microsoft Access 2013
Introduction to Microsoft Access 2013 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
SQA Higher Information Systems Unit 2: Relational Database Systems
SCHOLAR Study Guide SQA Higher Information Systems Unit 2: Relational Database Systems David Bethune Heriot-Watt University Tom Kelly Heriot-Watt University Tom Liversidge Heriot-Watt University Heriot-Watt
Using an Access Database
A Few Terms Using an Access Database These words are used often in Access so you will want to become familiar with them before using the program and this tutorial. A database is a collection of related
Access Part 2 - Design
Access Part 2 - Design The Database Design Process It is important to remember that creating a database is an iterative process. After the database is created and you and others begin to use it there will
Task 1 : Implement a table in your database to represent the CarModel entity
LAB 2: From data model to database Getting started In this lab you will implement and test a database to represent part of the GCUCars data model you discussed in the tutorial. An example solution for
Intellect Platform - Tables and Templates Basic Document Management System - A101
Intellect Platform - Tables and Templates Basic Document Management System - A101 Interneer, Inc. 4/12/2010 Created by Erika Keresztyen 2 Tables and Templates - A101 - Basic Document Management System
Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16
HNC Computing - s HNC Computing - s Physical Overview Process What techniques are available for physical design? Physical Explain one physical design technique. Modern Management McFadden/Hoffer Chapter
BusinessObjects: General Report Writing for Version 5
BusinessObjects: General Report Writing for Version 5 Contents 1 INTRODUCTION...3 1.1 PURPOSE OF COURSE...3 1.2 LEVEL OF EXPERIENCE REQUIRED...3 1.3 TERMINOLOGY...3 1.3.1 Universes...3 1.3.2 Objects...4
Database Applications Microsoft Access
Database Applications Microsoft Access Lesson 4 Working with Queries Difference Between Queries and Filters Filters are temporary Filters are placed on data in a single table Queries are saved as individual
User Services. Microsoft Access 2003 II. Use the new Microsoft
User Services July 2007 OBJECTIVES Develop Field Properties Import Data from an Excel Spreadsheet Create Relationships Create a Form with a Subform Create Action Queries Create Command Buttons Create a
UTILITIES BACKUP. Figure 25-1 Backup & Reindex utilities on the Main Menu
25 UTILITIES PastPerfect provides a variety of utilities to help you manage your data. Two of the most important are accessed from the Main Menu Backup and Reindex. The other utilities are located within
Excel 2003 Tutorials - Video File Attributes
Using Excel Files 18.00 2.73 The Excel Environment 3.20 0.14 Opening Microsoft Excel 2.00 0.12 Opening a new workbook 1.40 0.26 Opening an existing workbook 1.50 0.37 Save a workbook 1.40 0.28 Copy a workbook
Employment intermediaries: data requirements for software developers
Employment intermediaries: data requirements for software developers Version 1.4 Last updated: 3 August 2015 1. Introduction... 1 2. Report template... 1 Formatting a CSV report... 1 3. Online service...
Access Tutorial 8: Combo Box Controls
Access Tutorial 8: Combo Box Controls 8.1 Introduction: What is a combo box? So far, the only kind of control you have used on your forms has been the text box. However, Access provides other controls
Converting an Excel Spreadsheet Into an Access Database
Converting an Excel Spreadsheet Into an Access Database Tracey L. Fisher Personal Computer and Software Instructor Butler County Community College - Adult and Community Education Exceeding Your Expectations..
Microsoft Access 2007 - Creating Filters and Tables
Platform: Windows PC Ref no: USER 165 Date: November 2007 Version: 1 Authors: Derek Sheward, Claire Napier Creating Filters in Microsoft Access 2007 This is the third document in series of five about Microsoft
4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables
1. What Are The Different Views To Display A Table A) Datasheet View B) Design View C) Pivote Table & Pivot Chart View D) All Of Above 2. Which Of The Following Creates A Drop Down List Of Values To Choose
Databases What the Specification Says
Databases What the Specification Says Describe flat files and relational databases, explaining the differences between them; Design a simple relational database to the third normal form (3NF), using entityrelationship
Chapter 6. Foundations of Business Intelligence: Databases and Information Management
Chapter 6 Foundations of Business Intelligence: Databases and Information Management VIDEO CASES Case 1a: City of Dubuque Uses Cloud Computing and Sensors to Build a Smarter, Sustainable City Case 1b:
How to Design a Form Report (RTF) Output
How to Design a Form Report (RTF) Output Applicable to SIMS.net version 7.108 onwards. Permissions required You will need to be a member of any of the following user groups in System Manager to design
Databases in Microsoft Access David M. Marcovitz, Ph.D.
Databases in Microsoft Access David M. Marcovitz, Ph.D. Introduction Schools have been using integrated programs, such as Microsoft Works and Claris/AppleWorks, for many years to fulfill word processing,
Foundations of Business Intelligence: Databases and Information Management
Chapter 5 Foundations of Business Intelligence: Databases and Information Management 5.1 Copyright 2011 Pearson Education, Inc. Student Learning Objectives How does a relational database organize data,
RentMaster Frequently Asked Questions
RentMaster Frequently Asked Questions How do I...? How do I do my end of month procedure as a property manager. At the end of the month a property manager normally pays their landlord clients. Prior to
Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS...
Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS... 3 CHANGE A JOIN PROPERTY... 4 REMOVING A JOIN... 4 CREATE QUERIES... 4 THE
- Suresh Khanal. http://mcqsets.com. http://www.psexam.com Microsoft Excel Short Questions and Answers 1
- Suresh Khanal http://mcqsets.com http://www.psexam.com Microsoft Excel Short Questions and Answers 1 Microsoft Access Short Questions and Answers with Illustrations Part I Suresh Khanal Kalanki, Kathmandu
Utility Software II lab 1 Jacek Wiślicki, [email protected] original material by Hubert Kołodziejski
MS ACCESS - INTRODUCTION MS Access is an example of a relational database. It allows to build and maintain small and medium-sized databases and to supply them with a graphical user interface. The aim of
Optimum Database Design: Using Normal Forms and Ensuring Data Integrity. by Patrick Crever, Relational Database Programmer, Synergex
Optimum Database Design: Using Normal Forms and Ensuring Data Integrity by Patrick Crever, Relational Database Programmer, Synergex Printed: April 2007 The information contained in this document is subject
Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.
Microsoft Office Access 2010 Understanding Queries Queries are questions you ask of your database. They allow you to select certain fields out of a table, or pull together data from various related tables
Excel Working with Data Lists
Excel Working with Data Lists Excel Working with Data Lists Princeton University COPYRIGHT Copyright 2001 by EZ-REF Courseware, Laguna Beach, CA http://www.ezref.com/ All rights reserved. This publication,
Ad Hoc Advanced Table of Contents
Ad Hoc Advanced Table of Contents Functions... 1 Adding a Function to the Adhoc Query:... 1 Constant... 2 Coalesce... 4 Concatenate... 6 Add/Subtract... 7 Logical Expressions... 8 Creating a Logical Expression:...
Designing and Running Reports. Applicable to 7.144 onwards
Designing and Running Reports Applicable to 7.144 onwards Revision History Version Change Description Date 7.144-1.0 Initial release. 23/01/2012 7.144-1.1 Instruction for setting up the report scheduler
Technology Training Services. Introduction To Microsoft Access 2007
Technology Training Services Introduction To Microsoft Access 2007 Introduction to Access 2007 Written by Kathleen A. Moser, PhD Technology Training Services April 2008 Maricopa County Community College
Microsoft Access Glossary of Terms
Microsoft Access Glossary of Terms A Free Document From www.chimpytech.com COPYRIGHT NOTICE This document is copyright chimpytech.com. Please feel free to distribute and give away this document to your
12 File and Database Concepts 13 File and Database Concepts A many-to-many relationship means that one record in a particular record type can be relat
1 Databases 2 File and Database Concepts A database is a collection of information Databases are typically stored as computer files A structured file is similar to a card file or Rolodex because it uses
Reduced Quality Sample
Access 2007 Essentials PART ONE Mobile MOUSe Access 2007 Essentials Version # 1.1 Part One 08/08/2010 11:20 About this Course Microsoft Access is the database application included with Microsoft Office.
Intellect Platform - Parent-Child relationship Basic Expense Management System - A103
Intellect Platform - Parent-Child relationship Basic Expense Management System - A103 Interneer, Inc. Updated 2/29/2012 Created by Erika Keresztyen Fahey 2 Parent-Child relationship - A103 - Basic Expense
LOGICAL DATABASE DESIGN
MODULE 8 LOGICAL DATABASE DESIGN OBJECTIVE QUESTIONS There are 4 alternative answers to each question. One of them is correct. Pick the correct answer. Do not guess. A key is given at the end of the module
Microsoft Access 2010- Introduction
Microsoft Access 2010- Introduction Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. Examples of databases are an
Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008
Microsoft Amarillo College Revision Date: July 30, 2008 Table of Contents GENERAL INFORMATION... 1 TERMINOLOGY... 1 ADVANTAGES OF USING A DATABASE... 2 A DATABASE SHOULD CONTAIN:... 3 A DATABASE SHOULD
MEDIAplus administration interface
MEDIAplus administration interface 1. MEDIAplus administration interface... 5 2. Basics of MEDIAplus administration... 8 2.1. Domains and administrators... 8 2.2. Programmes, modules and topics... 10 2.3.
