MS Access SQL Tutorial
Microsoft Access is a database software that allows users to create tables, queries and reports. Microsoft Access is intended for small businesses or individuals to give them visual tools to create reports for finance, sales, and marketing without the high cost of server software. Once the software is purchased, learning the basics of MS Access is necessary.
Create a Table
1. The first object needed in an Access database is a table. The table is where all data is stored. In most databases, multiple tables hold sections of categorized data. For instance, an online store may have a table for customers, one for orders, and another for product lists. All these tables are linked together using relationships. For each order a customer makes, the customer number is inserted into the orders table. Since the customer number is also located in the customer's table, these two rows in separate tables form a relationship. The same is used with the products table. Each order has a product, so the product identification number is inserted in the orders table. This forms a relationship link from the order to the products table.
Creating a table is accomplished in the main menu of the database. Double-click the "Create table in design view" icon and a new table template opens. It's in design view where each column is created. A column holds a different piece of information for each record. For instance, in the customer table, the first name, last name, and address of the customer are examples of columns.
Create a Query
2. Queries are the way to select data from a table. While small tables with few records are easy to find records, tables may grow to thousands of records. Queries retrieve the information from tables according to the criteria given. Queries also use the relationships setup in each table. This helps the user return one record set of data without querying each table separately.
To create a query, double-click the "Create query in design view" icon on the main database screen. This opens a wizard where the applications asks for tables. Select the tables that hold the data needed for display. Once the tables are added, drag and drop columns into the results section at the bottom of the Access screen. Click "Run" and a sample output is displayed. Queries can be complex or simple, depending on the necessities of the report.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
No comments:
Post a Comment