Using AND in a Query: Step 1: Open Query Design

Size: px
Start display at page:

Download "Using AND in a Query: Step 1: Open Query Design"

Transcription

1 Using AND in a Query: Step 1: Open Query Design From the Database window, choose Query on the Objects bar. The list of saved queries is displayed, as shown in this figure. Click the Design button. The query displays, as shown in this figure. Step 2: Add the First Criteria Type the first criteria in the Criteria row in the query design grid under the field you want to query. Use a simple matching query or set up a condition using the operators, greater than (>), less than (<), greater than or equal to (>=), or less than or equal to (<=). 1

2 Step 3: Add the Second Criteria Type the second criteria in the same Criteria row in the query design grid. For example, if you want to view customers with freight charges of a thousand or more who live in Alaska, you would enter >=1000 under Freight and AK under the ShipRegion field. When you use more than one criteria on the Criteria line of the query design grid, Access matches both. Customers who live in Alaska but don't have freight charges of $1,000 or more will not display in the results. Step 4: Narrow the Search As you continue to add criteria on the Criteria line, you are continuing to narrow the search. For example, if you add UPS under the ShipVia field in the above criteria, you would see only customers who live in Alaska, with freight charges of $1,000 or more, and use UPS to ship their freight. Access adds an implied AND between each of these criteria, narrowing down the results. 2

3 Using OR in a Query: Step 1: Open Query Design From the Database window, choose Query on the Objects bar. The list of saved queries is displayed, as shown in this figure. Click the Design button. The query displays, as shown in this figure. Step 2: Add the First Criteria Type the first criteria in the Criteria row in the query design grid under the field you want to query. Use a simple matching query or set up a condition using the operators, greater than (>), less than (<), greater than or equal to (>=), or less than or equal to (<=). 3

4 Step 3: Add the Second Criteria Type the second criteria in the Or row in the query design grid under the field you also want to include in the query. For example, if you want to view customers who live in Washington or who live in Alaska, you would type WA in the Criteria row under the State field in the query design grid. Then you would type AK in the Or row under the Sate field in the query design grid. When you view the results, you would see customers in both Washington and Alaska because the OR criteria widens the possible matches. Step 4: Mix AND and OR Criteria You can continue to add criteria on the Criteria line and the Or line to create complex search criteria to get to the exact information you desire. Step 5: Run the Query Simply click the View button to see the results of the query. 4

5 Using NOT in a Query: Step 1: Open Query Design From the Database window, choose Query on the Objects bar. The list of saved queries is displayed, as shown in this figure. Click the Design button. The query displays, as shown in this figure. Step 2: Use the NOT Criteria NOT criteria are simple to use in Access and help save time and errors. For example, if you want to see all the customers who live outside of the United States, you could list all the countries in the table separated by OR and run the query. However, if you added new customers in new parts of the world, you would have to remember to add them to the long list in the query, or they would be left out when you run the query. 5

6 A better way to set up the country query would be to type NOT "USA" in the Country field. Not only does this save time, but when new customers are added, they will automatically be included the next time you run the query. Step 3: Run the Query Simply click the View button to see the results of the NOT query. Creating a Simple Query in Microsoft Access Using Wizard Using Wizard Have you ever wanted to combine information from multiple tables in your database in an efficient manner? Microsoft Access offers a powerful query function with an easyto-learn interface that makes it a snap to extract exactly the information you need from your database. In this tutorial we'll explore the creation of a simple query. Let's explore the process step-by-step. Our goal in this tutorial is to create a query listing the names of all of our company's products, current inventory levels and the name and phone number of each product's supplier. Step 1. Open your database. Open the Northwind database on your computer. Step 2. Select the queries tab. This will bring up a listing of the existing queries that Microsoft included in the sample database along with two options to create new queries. Step 3. Double-click on "create query by using wizard". The query wizard simplifies the creation of new queries. We'll use it in this tutorial to introduce the concept of query creation. In later tutorials we'll examine the Design View, which facilitates the creation of more sophisticated queries. 6

7 Step 4. Select the appropriate table from the pull-down menu. When you select the pull-down menu, you'll be presented with a listing of all the tables and queries currently stored in your Access database. These are the valid data sources for your new query. In this example, we want to first select the Products table which contains information about the products we keep in our inventory. Step 5. Choose the fields you wish to appear in the query results. by either doubleclicking on them or by single clicking first on the field name and then on the ">" icon. As you do this, the fields will move from the Available Fields listing to the Selected Fields listing. Notice that there are three other icons offered. The ">>" icon will select all available fields. The "<" icon allows you to remove the highlighted field from the Selected Fields list while the "<<" icon removes all selected fields. In this example, we want to select the ProductName, UnitsInStock, and UnitsOnOrder from the Product table. 7

8 Step 6. Repeat steps 4 and 5 to add information from additional tables, as desired. In our example, we wanted to include information about the supplier. That information wasn't included in the Products table -- it's in the Suppliers table. Here's the power of a query! You can combine information from multiple tables and easily show relationships. In this example, we want to include the CompanyName and Phone fields from the Suppliers table. All you have to do is select the fields -- Access will line up the fields for you! Note that this works because the Northwind database has predefined relationships between tables. If you're creating a new database, you'll need to establish these relationships yourself. Step 7. Click on Next. Step 8. Choose the type of results you would like to produce. We want to produce a full listing of products and their suppliers, so choose the Detail option here. 8

9 Step 9. Click on Next. Step 10. Give your query a title. You're almost done! On the next screen you can give your query a title. Select something descriptive that will help you recognize this query later. We'll call this query "Product Supplier Listing." Step 11. Click on Finish. You'll be presented with the two windows below. The first window is the Query tab that we started with. Notice that there's one additional listing now -- the Product Supplier Listing we created. The second window contains our results -- a list of our company products, inventory levels and the supplier's name and telephone number! 9

10 Modifying a Query in Microsoft Access I. Open Query in Design View Our first step is to invoke the Design View for our query. Step 1. Select the appropriate query. From the Northwind database menu, single click on the query you wish to modify. In our case, choose the "Product Supplier Listing" query that we designed earlier. Step 2. Click the Design View icon. This icon appears in the upper left portion of the window. Immediately upon clicking this icon, you'll be presented with the Design View. 10

11 II. Adding Fields Adding a field is one of the most common query modifications. This is usually done to either display additional information in the query results or add criteria to the query from information not displayed in the query results. In our example, the purchasing department wanted the contact name of each product's supplier displayed. As this was not one of the fields in the original query, we must add it now. Step 1. Choose an open table entry. Look for an entry in the field row that does not contain any information. Depending upon the size of your window you may need to use the horizontal scroll bar at the bottom of the table to locate an open entry. Step 2. Select the desired field. Single click in the field portion of the chosen entry and a small black down arrow will appear. Click this once and you'll be presented with a list of currently available fields. Select the field of interest by single clicking on it. In our example, we want to choose the ContactName field from the Suppliers table (listed as Suppliers.ContactName). 11

12 III. Removing Fields Often, you'll need to remove unnecessary information from a query. If the field in question is not a component of any criteria or sort orders that we wish to maintain, the best option is to simply remove it from the query altogether. This reduces the amount of overhead involved in performing the query and maintains the readability of our query design. Step 1. Click on the field name. Single click on the name of the field you wish to remove in the query table. In our example, we want to remove the CompanyName field from the Suppliers table. Step 2. Open the Edit menu and select Delete Columns. Upon completion of this step the CompanyName column will disappear from the query table. IV. Adding Criteria We often desire to filter the information produced by a database query based upon the value of one or more database fields. For example, recall that our purchasing department was only interested in those products with a small inventory and no products currently on order. In order to include this filtering information, we can add criteria to our query in the Design View. Step 1. Select the criteria field of interest. Locate the field that you would like to use as the basis for the filter and single click inside the criteria box for that field. In our example, we'd first like to limit the query based upon the UnitsInStock field of the Products table. Step 2. Type the selection criteria. For a complete look at the allowable criteria, see these examples of criteria expressions from Microsoft. Continuing with our example, we want to limit our results to those products with less than ten items in inventory. To accomplish this, enter the mathematical expression "< 10" in the criteria field. Step 3. Repeat steps 1 and 2 for additional criteria. 12

13 We'd also like to limit our results to those instances where the UnitsOnOrder field is equal to zero. Repeat the steps above to include this filter as well. V. Hiding Fields Sometimes we'll create a filter based upon a database field but won't want to show this field as part of the query results. In our example, the purchasing department wanted to filter the query results based upon the inventory levels but did not want these levels to appear. We can't remove the fields from the query because that would also remove the criteria. To accomplish this, we need to hide the field. Step 1. Uncheck the appropriate Show box. It's that simple! Just locate the field in the query table and uncheck the Show box by single clicking on it. If you later decide to include that field in the results just single click on it again so that the box is checked. V. Sorting the Results The human mind prefers to work with data presented in an organized fashion. For this reason, we often desire to sort the results of our queries based upon one or more of the fields in the query. In our example, we want to sort the results alphabetically based upon the product's name. Step 1. Click the Sort entry for the appropriate field. Single click in the Sort area of the field entry and a black down arrow will appear. Single click on this arrow and you'll be presented with a list of sort order choices. Do this for the Products.ProductName field in our example. Step 2. Choose the sort order. For text fields, ascending order will sort alphabetically and descending order will sort by reverse alphabetic order. We want to choose ascending order for this example. 13

14 That's it! Close the design view by clicking the "X" icon in the upper right corner. From the database menu, double click on our query name and you'll be presented with the results shown below -- exactly what our purchasing department asked for! Check back with us next week for a look at creating a web interface for your database applications! SQL Fundamentals Introduction The Structured Query Language (SQL) comprises one of the fundamental building blocks of modern database architecture. SQL defines the methods used to create and manipulate relational databases on all major platforms. At first glance, the language may seem intimidating and complex but it's really not all that bad. In a series of articles over the next few weeks we'll explore the inner workings of SQL together. By the time we're through, you'll have the fundamental knowledge you need to go out there and start working with databases! This week, our first article in the SQL series provides an introduction to the basic concepts behind SQL and we'll take a brief look at some of the main commands used to create and modify databases. Throughout this article, please keep our goal in mind: we're trying to get the "big picture" of SQL -- not a mastery of the individual commands. We'll provide a few examples for illustrative purposes and explain the theory behind them, but don't feel frustrated if you can't write your own SQL commands after reading this article. We'll cover each of the major commands in detail in future weekly installments. SQL comes in many flavors. Oracle databases utilize their proprietary PL/SQL. Microsoft SQL Server makes use of Transact-SQL. However, all of these variations are based upon the industry standard ANSI SQL. In our tutorial series, we'll stick to ANSIcompliant SQL commands that will work on any modern relational database system. SQL commands can be divided into two main sub-languages. The Data Definition Language (DDL) contains the commands used to create and destroy databases and database objects. After the database structure is defined with DDL, database administrators and users can utilize the Data Manipulation Language to insert, retrieve and modify the data contained within it. In the next two sections of this article, we'll 14

15 explore DDL and DML in further detail. In future articles we'll take an in-depth look at specific SQL commands. Data Definition Language The Data Definition Language (DDL) is used to create and destroy databases and tables. These commands will primarily be used by database administrators during the setup and removal phases of a database project. They are beyond the scope of this course and would not be discussed. Data Manipulation Language The Data Manipulation Language (DML) is used to retrieve, insert and modify database information. These commands will be used by all database users during the routine operation of the database. Let's take a brief look at the basic DML commands: SELECT statement The SELECT command is the most commonly used command in SQL. It allows database users to retrieve the specific information they desire from an operational database. Syntax SELECT [predicate] { */table.*/[table.]field1 [AS alias1] [, [table.]field2 [AS alias2] [,...]]} FROM tableexpression [,...] [IN externaldatabase] [WHERE criteria ] [GROUP BY groupfieldlist ] [HAVING groupcriteria ] [ORDER BY field1 [ASC/DESC ][, field2 [ASC/DESC ]][,...]]] ] The SELECT statement has these parts: Part Description predicate One of the following predicates: ALL, DISTINCT, DISTINCTROW, or TOP. You use the predicate to restrict the number of records returned. If none is specified, the default is ALL. * Specifies that all fields from the specified table or tables are selected. table The name of the table containing the fields from which records are selected. field1, field2 The names of the fields containing the data you want to retrieve. If you include more than one field, they are retrieved in the order listed. alias1, alias2 The names to use as column headers instead of the original column names in table. tableexpression The name of the table or tables containing the data you want to retrieve. externaldatabase The name of the database containing the tables in tableexpression if criteria groupfieldlist they are not in the current database. Selection criteria. If the statement includes a WHERE clause, the Microsoft Jet database engine groups values after applying the WHERE conditions to the records. The names of up to 10 fields used to group records. The order of the field names in groupfieldlist determines the grouping levels from the 15

16 groupcriteria field1, field2 Part ALL highest to the lowest level of grouping. An expression that determines which grouped records to display. The names of the fields on which to sort records Description Assumed if you do not include one of the predicates. The Microsoft Jet database engine selects all of the records that meet the conditions in the SQL statement. The following two examples are equivalent and return all records from the Employees table: SELECT ALL * FROM Employees ORDER BY EmployeeID; DISTINCT SELECT * FROM Employees ORDER BY EmployeeID; Omits records that contain duplicate data in the selected fields. To be included in the results of the query, the values for each field listed in the SELECT statement must be unique. For example, several employees listed in an Employees table may have the same last name. If two records contain Smith in the LastName field, the following SQL statement returns only one record that contains Smith: SELECT DISTINCT LastName FROM Employees; If you omit DISTINCT, this query returns both Smith records. If the SELECT clause contains more than one field, the combination of values from all fields must be unique for a given record to be included in the results. DISTINCTROW The output of a query that uses DISTINCT is not updatable and does not reflect subsequent changes made by other users. Omits data based on entire duplicate records, not just duplicate fields. For example, you could create a query that joins the Customers and Orders tables on the CustomerID field. The Customers table contains no duplicate CustomerID fields, but the Orders table does because each customer can have many orders. The following SQL statement shows how you can use DISTINCTROW to produce a list of companies that have at least one order but without any details about those orders: SELECT DISTINCTROW CompanyName FROM Customers INNER JOIN Orders ON Customers.CustomerID = Orders.CustomerID ORDER BY CompanyName; If you omit DISTINCTROW, this query produces multiple rows for each company that has more than one order. TOP n [PERCENT] DISTINCTROW has an effect only when you select fields from some, but not all, of the tables used in the query. DISTINCTROW is ignored if your query includes only one table, or if you output fields from all tables. Returns a certain number of records that fall at the top or the bottom of a range specified by an ORDER BY clause. Suppose you want the names of the top 25 students from the class of 1994: SELECT TOP 25 FirstName, LastName FROM Students WHERE GraduationYear = 1994 ORDER BY GradePointAverage DESC; 16

17 If you do not include the ORDER BY clause, the query will return an arbitrary set of 25 records from the Students table that satisfy the WHERE clause. The TOP predicate does not choose between equal values. In the preceding example, if the 25 th and 26 th highest grade point averages are the same, the query will return 26 records. You can also use the PERCENT reserved word to return a certain percentage of records that fall at the top or the bottom of a range specified by an ORDER BY clause. Suppose that, instead of the top 25 students, you want the bottom 10 percent of the class: SELECT TOP 10 PERCENT FirstName, LastName FROM Students WHERE GraduationYear = 1994 ORDER BY GradePointAverage ASC; The ASC predicate specifies a return of bottom values. The value that follows TOP must be an unsigned Integer. table TOP does not affect whether or not the query is updatable. The name of the table from which records are retrieved. Let's take a look at a few examples, again using a table named Employees. The minimum syntax for a SELECT statement is: SELECT fields FROM table You can use an asterisk (*) to select all fields in a table. SELECT * FROM Employees Alternatively, you may want to limit the attributes (fields) that are retrieved from the database. For example, the Human Resources department may require a list of the last names of all employees in the company. The following SQL command would retrieve only that information: SELECT LastName FROM Employees If you want a different field name or a name is not implied by the expression used to generate the field, use the AS reserved word. The following example uses the title Birth to name the BirthDate field in the Employees table: SELECT BirthDate AS Birth FROM Employees; Whenever you use aggregate functions or queries that return ambiguous or duplicate Field object names, you must use the AS clause to provide an alternate name for the Field object. The following example uses the title HeadCount to name the returned Field: SELECT COUNT(EmployeeID) AS HeadCount FROM Employees; The WHERE clause can be used to limit the records that are retrieved to those that meet specified criteria. The CEO might be interested in reviewing the personnel records of 17

18 all highly paid employees. The following command retrieves all of the data contained within Employees for records that have a salary value greater than $50,000: SELECT * FROM Employees WHERE salary > $50000 If a field name is included in more than one table in the FROM clause, precede it with the table name and the. (dot) operator. In the following example, the Department field is in both the Employees table and the Supervisors table. The SQL statement selects departments from the Employees table and supervisor names from the Supervisors table: SELECT Employees.Department, Supervisors.SupvName FROM Employees INNER JOIN Supervisors WHERE Employees.Department = Supervisors.Department; If you want to determine an aggregate of a field using another field, then GROUP BY clause is what you would use. Consider the following example: SELECT CategoryID, Sum(UnitsInStock) FROM Products GROUP BY CategoryID HAVING Sum(UnitsInStock) > 100 And Like "BOS*"; In the above example, we are summing the field UnitsInStock for each individual CategoryID. This means that for each category, we get the sum of all the Units in Stock. HAVING is similar to WHERE, which determines which records are selected. After records are grouped with GROUP BY, HAVING determines which records are displayed: The HAVING clause filters records after they have been grouped. All fields in the SELECT field list must either be included in the GROUP BY clause or be included as arguments to an SQL aggregate function. A HAVING clause can contain up to 40 expressions linked by logical operators, such as And and Or. Summary values are omitted if there is no SQL aggregate function in the SELECT statement. Null values in GROUP BY fields are grouped and are not omitted. However, Null values are not evaluated in any SQL aggregate function. Use the WHERE clause to exclude rows you do not want grouped. Unless it contains Memo or OLE Object data, a field in the GROUP BY field list can refer to any field in any table listed in the FROM clause, even if the field is not included in the SELECT statement, provided the SELECT statement includes at least one SQL aggregate function. The Microsoft Jet database engine cannot group on Memo or OLE Object fields. INSERT statement The INSERT command in SQL is used to add records to an existing table. Returning to the personal_info example from the previous section, let's imagine that our HR 18

19 department needs to add a new employee to their database. They could use a command similar to the one shown below: Syntax Multiple-record append query: INSERT INTO target [(field1[, field2[,...]])] [IN externaldatabase] SELECT [source.]field1[, field2[,...] FROM tableexpression Single-record append query: INSERT INTO target [(field1[, field2[,...]])] VALUES (value1[, value2[,...]) The INSERT INTO statement has these parts: Part Description target The name of the table or query to append records to. field1, field2 Names of the fields to append data to, if following a target argument, or the names of fields to obtain data from, if following a source argument. externaldatabase The path to an external database. For a description of the path, see the IN clause. source The name of the table or query to copy records from. tableexpression The name of the table or tables from which records are inserted. This argument can be a single table name or a compound resulting from an INNER JOIN, LEFT JOIN, or RIGHT JOIN operation or a saved query. value1, value2 The values to insert into the specific fields of the new record. Each value is inserted into the field that corresponds to the value's position in the list: value1 is inserted into field1 of the new record, value2 into field2, and so on. You must separate values with a comma, and enclose text fields in quotation marks (' '). Remarks You can use the INSERT INTO statement to add a single record to a table using the single-record append query syntax as shown above. In this case, your code specifies the name and value for each field of the record. You must specify each of the fields of the record that a value is to be assigned to and a value for that field. When you do not specify each field, the default value or Null is inserted for missing columns. Records are added to the end of the table. You can also use INSERT INTO to append a set of records from another table or query by using the SELECT... FROM clause as shown above in the multiple-record append query syntax. In this case, the SELECT clause specifies the fields to append to the specified target table. The source or target table may specify a table or a query. INSERT INTO is optional but when included, precedes the SELECT statement. If your destination table contains a primary key, make sure you append unique, non- Null values to the primary key field or fields; if you do not, the records will not be appended. 19

20 If you append records to a table with an AutoNumber field and you want to renumber the appended records, do not include the AutoNumber field in your query. Do include the AutoNumber field in the query if you want to retain the original values from the field. To find out which records will be appended before you run the append query, first execute and view the results of a select query that uses the same selection criteria. An append query copies records from one or more tables to another. The tables that contain the records you append are not affected by the append query. Instead of appending existing records from another table, you can specify the value for each field in a single new record using the VALUES clause. If you omit the field list, the VALUES clause must include a value for every field in the table; otherwise, the INSERT operation will fail. Use an additional INSERT INTO statement with a VALUES clause for each additional record you want to create. INSERT INTO personal_info VALUES ('bart','simpson',12345,$45000) Note that there are four values specified for the record. These correspond to the table attributes in the order they were defined: First_Name, Last_Name, Employee_ID, and Salary. UPDATE statement Creates an update query that changes values in fields in a specified table based on specified criteria. The UPDATE command can be used to modify information contained within a table, either in bulk or individually. Syntax UPDATE table SET newvalue WHERE criteria; The UPDATE statement has these parts: Part table newvalue criteria Description The name of the table containing the data you want to modify. An expression that determines the value to be inserted into a particular field in the updated records. An expression that determines which records will be updated. Only records that satisfy the expression are updated. Remarks UPDATE is especially useful when you want to change many records or when the records that you want to change are in multiple tables. You can change several fields at the same time. The following example increases the Order Amount values by 10% and the Freight values by 3% for shippers in the United Kingdom: 20

21 UPDATE Orders SET OrderAmount = OrderAmount * 1.1, Freight = Freight * 1.03 WHERE ShipCountry = 'UK'; On the other hand, our new employee Bart Simpson has demonstrated performance above and beyond the call of duty. Management wishes to recognize his stellar accomplishments with a $5,000 raise. The WHERE clause could be used to single out Bart for this raise: UPDATE personal_info SET salary = salary + $5000 WHERE employee_id = Important UPDATE does not generate a result set. Also, after you update records using an update query, you cannot undo the operation. If you want to know which records were updated, first examine the results of a select query that uses the same criteria, and then run the update query. Maintain backup copies of your data at all times. If you update the wrong records, you can retrieve them from your backup copies. DELETE statement Creates a delete query that removes records from one or more of the tables listed in the FROM clause that satisfy the WHERE clause. DELETE is especially useful when you want to delete many records. Syntax DELETE [table.*] FROM table WHERE criteria The DELETE statement has these parts: Part table table criteria Description The optional name of the table from which records are deleted. The name of the table from which records are deleted. An expression that determines which records to delete. Remarks You can use DELETE to remove records from tables that are in a one-to-many relationship with other tables. Cascade delete operations cause the records in tables that are on the many side of the relationship to be deleted when the corresponding record in the one side of the relationship is deleted in the query. For example, in the relationship between the Customers and Orders tables, the Customers table is on the one side and the Orders table is on the many side of the relationship. Deleting a record from Customers results in the corresponding Orders records being deleted if the cascade delete option is specified. 21

22 A delete query deletes entire records, not just data in specific fields. If you want to delete values in a specific field, create an update query that changes the values to Null. Important After you remove records using a delete query, you cannot undo the operation. If you want to know which records were deleted, first examine the results of a select query that uses the same criteria, and then run the delete query. Maintain backup copies of your data at all times. If you delete the wrong records, you can retrieve them from your backup copies. Unfortunately, our latest corporate earnings report didn't quite meet expectations and poor Anne has been laid off. The DELETE command with a WHERE clause can be used to remove his record from the Employees table: DELETE FROM Employees WHERE EmployeeID = 9 And finally, we're sorry to report that our business closed it's doors due to customers. We need to remove all of the data from the table. This SQL command will do the trick: DELETE FROM students 22

In-Depth Guide Advanced Database Concepts

In-Depth Guide Advanced Database Concepts In-Depth Guide Advanced Database Concepts Learning Objectives By reading and completing the activities in this chapter, you will be able to: Retrieve specified records from a database using Query by Example

More information

Access Queries (Office 2003)

Access Queries (Office 2003) Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy

More information

MS Access Lab 2. Topic: Tables

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

More information

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

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

More information

Database Query 1: SQL Basics

Database Query 1: SQL Basics Database Query 1: SQL Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic

More information

SQL SELECT Query: Intermediate

SQL SELECT Query: Intermediate SQL SELECT Query: Intermediate IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview SQL Select Expression Alias revisit Aggregate functions - complete Table join - complete Sub-query in where Limiting

More information

Creating QBE Queries in Microsoft SQL Server

Creating QBE Queries in Microsoft SQL Server Creating QBE Queries in Microsoft SQL Server When you ask SQL Server or any other DBMS (including Access) a question about the data in a database, the question is called a query. A query is simply a question

More information

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.

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

More information

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 Table of Contents Part I Creating a Pivot Table Excel Database......3 What is a Pivot Table...... 3 Creating Pivot Tables

More information

Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

More information

Database Linker Tutorial

Database Linker Tutorial Database Linker Tutorial 1 Overview 1.1 Utility to Connect MindManager 8 to Data Sources MindManager 8 introduces the built-in ability to automatically map data contained in a database, allowing you to

More information

Use Find & Replace Commands under Home tab to search and replace data.

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

More information

Lab 2: MS ACCESS Tables

Lab 2: MS ACCESS Tables Lab 2: MS ACCESS Tables Summary Introduction to Tables and How to Build a New Database Creating Tables in Datasheet View and Design View Working with Data on Sorting and Filtering 1. Introduction Creating

More information

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... 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

More information

Database Applications Microsoft Access

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

More information

Oracle Application Express - Application Migration Workshop

Oracle Application Express - Application Migration Workshop Oracle Application Express - Application Migration Workshop Microsoft Access Northwind Traders Migration to Oracle Application Express An Oracle White Paper May 2007 Oracle Application Express Application

More information

Chapter 5. Microsoft Access

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,

More information

Crystal Reports Payroll Exercise

Crystal Reports Payroll Exercise Crystal Reports Payroll Exercise Objective This document provides step-by-step instructions on how to build a basic report on Crystal Reports XI on the MUNIS System supported by MAISD. The exercise will

More information

Creating and Using Databases with Microsoft Access

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

More information

Databases in Engineering / Lab-1 (MS-Access/SQL)

Databases in Engineering / Lab-1 (MS-Access/SQL) COVER PAGE Databases in Engineering / Lab-1 (MS-Access/SQL) ITU - Geomatics 2014 2015 Fall 1 Table of Contents COVER PAGE... 0 1. INTRODUCTION... 3 1.1 Fundamentals... 3 1.2 How To Create a Database File

More information

Tutorial 3. Maintaining and Querying a Database

Tutorial 3. Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save queries

More information

Microsoft Office 2010

Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save

More information

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL University of Glasgow Department of Computing Science INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL 1 Databases in Access...2 2 The Database Window...2 3 Help...2 4 Saving...3 5 Wizards...3 6 Tables...3

More information

Introduction to Microsoft Access 2010

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:

More information

Exploring Microsoft Office Access 2007. Chapter 2: Relational Databases and Multi-Table Queries

Exploring Microsoft Office Access 2007. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office Access 2007 Chapter 2: Relational Databases and Multi-Table Queries 1 Objectives Design data Create tables Understand table relationships Share data with Excel Establish table

More information

Microsoft Excel Tips & Tricks

Microsoft Excel Tips & Tricks Microsoft Excel Tips & Tricks Collaborative Programs Research & Evaluation TABLE OF CONTENTS Introduction page 2 Useful Functions page 2 Getting Started with Formulas page 2 Nested Formulas page 3 Copying

More information

Sample- for evaluation only. Introductory Access. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

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

More information

Microsoft Access 2010 Part 1: Introduction to Access

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

More information

Introduction to Microsoft Jet SQL

Introduction to Microsoft Jet SQL Introduction to Microsoft Jet SQL Microsoft Jet SQL is a relational database language based on the SQL 1989 standard of the American Standards Institute (ANSI). Microsoft Jet SQL contains two kinds of

More information

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.

Retrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

More information

DbSchema Tutorial with Introduction in SQL Databases

DbSchema Tutorial with Introduction in SQL Databases DbSchema Tutorial with Introduction in SQL Databases Contents Connect to the Database and Create First Tables... 2 Create Foreign Keys... 7 Create Indexes... 9 Generate Random Data... 11 Relational Data

More information

Microsoft Access Basics

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

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

Introduction to Microsoft Access 2003

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

More information

MICROSOFT ACCESS 2003 TUTORIAL

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

More information

Microsoft Access 2010 Overview of Basics

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

More information

Databases in Microsoft Access David M. Marcovitz, Ph.D.

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,

More information

Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008

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

More information

Microsoft Excel 2010 Part 3: Advanced Excel

Microsoft Excel 2010 Part 3: Advanced Excel CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Excel 2010 Part 3: Advanced Excel Winter 2015, Version 1.0 Table of Contents Introduction...2 Sorting Data...2 Sorting

More information

Access II 2007 Workshop

Access II 2007 Workshop Access II 2007 Workshop Query & Report I. Review Tables/Forms Ways to create tables: tables, templates & design Edit tables: new fields & table properties Import option Link tables: Relationship Forms

More information

What are we dealing with? Creating a New MS Access Database

What are we dealing with? Creating a New MS Access Database What are we dealing with? Databases are widely used in industry and in applications where large amounts of information need to be managed effectively. Databases help users search for key information in

More information

Microsoft Access XP Session 1 Week 8

Microsoft Access XP Session 1 Week 8 Creating a Database Click-on the Start button in the lower left corner of the screen, then click-on Programs, and then click-on Microsoft Access. New File The Access XP New File Task Pane will appear on

More information

Introduction to Microsoft Access 2013

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:

More information

SQL. Short introduction

SQL. Short introduction SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.

More information

VBScript Database Tutorial Part 1

VBScript Database Tutorial Part 1 VBScript Part 1 Probably the most popular use for ASP scripting is connections to databases. It's incredibly useful and surprisingly easy to do. The first thing you need is the database, of course. A variety

More information

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).

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

More information

IRA Pivot Table Review and Using Analyze to Modify Reports. For help, email Financial.Reports@dartmouth.edu

IRA Pivot Table Review and Using Analyze to Modify Reports. For help, email Financial.Reports@dartmouth.edu IRA Pivot Table Review and Using Analyze to Modify Reports 1 What is a Pivot Table? A pivot table takes rows of detailed data (such as the lines in a downloadable table) and summarizes them at a higher

More information

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Consolidate Data in Multiple Worksheets Example data is saved under Consolidation.xlsx workbook under ProductA through ProductD

More information

Creating tables in Microsoft Access 2007

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

More information

Developing Web Applications for Microsoft SQL Server Databases - What you need to know

Developing Web Applications for Microsoft SQL Server Databases - What you need to know Developing Web Applications for Microsoft SQL Server Databases - What you need to know ATEC2008 Conference Session Description Alpha Five s web components simplify working with SQL databases, but what

More information

Advantage Database Server

Advantage Database Server white paper Advantage Database Server Migrating From Microsoft Access Jet Database Engine Bill Todd, The Database Group, Inc. TABLE OF CONTENTS 1 Introduction 2 Microsoft s Solution 2 Is Advantage Database

More information

Creating a Database using Access 2007

Creating a Database using Access 2007 Creating a Database using Access 2007 Starting Access 2007 Double click on the Access 2007 icon on the Windows desktop (see right), or click-on the Start button in the lower left corner of the screen,

More information

Excel Working with Data Lists

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,

More information

Querying a Database Using the Select Query Window

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

More information

Access 2007. Creating Databases - Fundamentals

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

More information

Access 2007. Using Access

Access 2007. Using Access Access 2007 Using Access 1 Contents Introduction to Microsoft Access 2007... 3 Microsoft Access 2007 features 3 Opening a database 4 Database objects 5 Opening objects 6 Working with objects 6 Saving in

More information

Using Microsoft Access

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

More information

Topic: Relationships in ER Diagram and Relationships in MS Access

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

More information

Excel Database Management Microsoft Excel 2003

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

More information

INTRODUCTION TO MICROSOFT ACCESS Tables, Queries, Forms & Reports

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

More information

Creating a Database Using Access 2003 for Windows 2000/Me/XP

Creating a Database Using Access 2003 for Windows 2000/Me/XP Creating a Database Using Access 2003 for Windows 2000/Me/XP Starting Access 2003 Double click on the Access 2003 icon on the Windows desktop (see right), or click-on the Start button in the lower left

More information

A Basic introduction to Microsoft Access

A Basic introduction to Microsoft Access A Basic introduction to Microsoft Access By Ojango J.M.K Department of Animal Sciences, Egerton University, Njoro, Kenya and International Livestock Research Institute, Nairobi, Kenya Ms Access is a database

More information

What is a database? The parts of an Access database

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

More information

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

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

More information

Simple Invoicing Desktop Database with MS Access 2013. c 2015 by David W. Gerbing School of Business Administration Portland State University

Simple Invoicing Desktop Database with MS Access 2013. c 2015 by David W. Gerbing School of Business Administration Portland State University Simple Invoicing Desktop Database with MS Access 2013 c 2015 by David W. Gerbing School of Business Administration Portland State University July 2, 2015 CONTENTS 1 Contents 1 Create a New Database 1 2

More information

Unit 10: Microsoft Access Queries

Unit 10: Microsoft Access Queries Microsoft Access Queries Unit 10: Microsoft Access Queries Introduction Queries are a fundamental means of accessing and displaying data from tables. Queries used to view, update, and analyze data in different

More information

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9 TABLE OF CONTENTS Query 4 Lesson Objectives 4 Review 5 Smart Query 5 Create a Smart Query 6 Create a Smart Query Definition from an Ad-hoc Query 9 Query Functions and Features 13 Summarize Output Fields

More information

Tutorial 3 Maintaining and Querying a Database

Tutorial 3 Maintaining and Querying a Database Tutorial 3 Maintaining and Querying a Database Microsoft Access 2013 Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the Query window in

More information

Using Microsoft Access Databases

Using Microsoft Access Databases Using Microsoft Access Databases Print this document to use as a reference while you work through this course. Open Access, and follow all directions to familiarize yourself with the program. Database

More information

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2013 Enhanced Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the

More information

Access 2003 Introduction to Queries

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

More information

Microsoft Office. Mail Merge in Microsoft Word

Microsoft Office. Mail Merge in Microsoft Word Microsoft Office Mail Merge in Microsoft Word TABLE OF CONTENTS Microsoft Office... 1 Mail Merge in Microsoft Word... 1 CREATE THE SMS DATAFILE FOR EXPORT... 3 Add A Label Row To The Excel File... 3 Backup

More information

Microsoft Access 2007 Introduction

Microsoft Access 2007 Introduction Microsoft Access 2007 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

More information

Using an Access Database

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

More information

EXCEL 2007. Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

EXCEL 2007. Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development Information Technology MS Office Excel 2007 Users Guide EXCEL 2007 Using Excel for Data Query & Management IT Training & Development (818) 677-1700 Training@csun.edu http://www.csun.edu/training TABLE

More information

Microsoft Access 2000 for Windows Handout: 3 Academic Computing Support Information Technology Services Tennessee Technological University December 2001 1. Creating a new database In this exercise, we

More information

Access 2010: The Navigation Pane

Access 2010: The Navigation Pane Access 2010: The Navigation Pane Table of Contents OVERVIEW... 1 BEFORE YOU BEGIN... 2 ADJUSTING THE NAVIGATION PANE... 3 USING DATABASE OBJECTS... 3 CUSTOMIZE THE NAVIGATION PANE... 3 DISPLAY AND SORT

More information

Microsoft Access 2010

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

More information

Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc.

Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc. 2011 Advanced Crystal Reports TeachUcomp, Inc. it s all about you Copyright: Copyright 2011 by TeachUcomp, Inc. All rights reserved.

More information

Microsoft Access 2010- Introduction

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

More information

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE Prepared for MIS 6326 by Dr. Sumit Sarkar 1 MICROSOFT ACCESS A database is a collection of different types of data, stored in a manner to facilitate use in diverse ways. In Microsoft Access 2000, a database

More information

PeopleSoft Query Training

PeopleSoft Query Training PeopleSoft Query Training Overview Guide Tanya Harris & Alfred Karam Publish Date - 3/16/2011 Chapter: Introduction Table of Contents Introduction... 4 Navigation of Queries... 4 Query Manager... 6 Query

More information

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...

More information

Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.

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,

More information

Create a New Database in Access 2010

Create a New Database in Access 2010 Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...

More information

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options

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

More information

Creating Custom Crystal Reports Tutorial

Creating Custom Crystal Reports Tutorial Creating Custom Crystal Reports Tutorial 020812 2012 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical,

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

- 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 - 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

More information

Basic Excel Handbook

Basic Excel Handbook 2 5 2 7 1 1 0 4 3 9 8 1 Basic Excel Handbook Version 3.6 May 6, 2008 Contents Contents... 1 Part I: Background Information...3 About This Handbook... 4 Excel Terminology... 5 Excel Terminology (cont.)...

More information

Q&As: Microsoft Excel 2013: Chapter 2

Q&As: Microsoft Excel 2013: Chapter 2 Q&As: Microsoft Excel 2013: Chapter 2 In Step 5, why did the date that was entered change from 4/5/10 to 4/5/2010? When Excel recognizes that you entered a date in mm/dd/yy format, it automatically formats

More information

MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES

MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES Exploring Access Creating and Working with Tables Finding and Filtering Data Working with Queries and Recordsets Working with Forms Working

More information

BID2WIN Workshop. Advanced Report Writing

BID2WIN Workshop. Advanced Report Writing BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/

More information

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com

2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally

More information

Business Objects Version 5 : Introduction

Business Objects Version 5 : Introduction Business Objects Version 5 : Introduction Page 1 TABLE OF CONTENTS Introduction About Business Objects Changing Your Password Retrieving Pre-Defined Reports Formatting Your Report Using the Slice and Dice

More information

Scribe Online Integration Services (IS) Tutorial

Scribe Online Integration Services (IS) Tutorial Scribe Online Integration Services (IS) Tutorial 7/6/2015 Important Notice No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, photocopying,

More information

Excel 2003 Tutorial I

Excel 2003 Tutorial I This tutorial was adapted from a tutorial by see its complete version at http://www.fgcu.edu/support/office2000/excel/index.html Excel 2003 Tutorial I Spreadsheet Basics Screen Layout Title bar Menu bar

More information

Microsoft Access 2000

Microsoft Access 2000 Microsoft Access 2000 Level 1 Region 4 Teaching, Learning and Technology Center Kaplan, LA Activity 1 Creating a Database 1. Open Microsoft Access 2000 a. Click on START, highlight Programs, point and

More information

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data. Microsoft Access A database is a collection of data organised in a manner that allows access, retrieval, and use of that data. A Database Management System (DBMS) allows users to create a database; add,

More information