Beruflich Dokumente
Kultur Dokumente
Intoduction to MS Access
Microsoft Office Access, previously known as Microsoft Access, is a database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately. On May 12 2010, the current version of Microsoft Access 2010 was released by Microsoft in Office 2010; Microsoft Office Access 2007 was the prior version.
2. To create a database
Microsoft Access provides three methods to create an Access database. You can create a database by using the Database wizard. The wizard lets you choose from one of the built-in templates, and customize it to some extent. Then it creates a set of tables, queries, forms, and reports, and also a switchboard for the database. The tables do not have any data in them. Use this method if one of the built-in templates closely match your requirements. If you are using Access 2003, you can search <Office Online> for Access templates. Downloading a template is the quickest way to create a database. If you find a template that closely matches your requirements, follow this method. A template is an Access database file (*.mdb) and includes tables, queries, forms, and reports. The tables do not have any data in them. After opening the database, you can customize the database and the objects. If you want to start creating a database based on your design, create a blank database, then add the tables, forms, reports, and other objects individually this is the most flexible method, but it requires you to define each database element separately.
6. Introduction to query
A query is a request for data results, for action on data, or for both. You can use a query to answer a simple question, to perform calculations, to combine data from different tables, or even to add, change, or delete table data. Queries that you use to retrieve data from a table or to make calculations are called select queries. Queries that add, change, or delete data are called action queries.
10. To get emp name, basic salary between 5500 and 8000
SELECT emp_name, emp_sal FROM Table1 where emp_sal BETWEEN 5500 and 8000 ;
12. To get emp no, emp name whose salaries are 5000, 6000, 7000
SELECT emp_no,emp_name FROM Table1 where emp_sal in(5000, 6000, 7000) ;
Click on Finish
Click on finish
Click on finish
Click on finish
III.
ii.