18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part V<br />

Analyzing Data with Excel<br />

Understanding Some Database Terminology<br />

People who spend their days working with databases seem to have their own special language. The following<br />

terms can help you hold your own among a group of database experts:<br />

n External database: A collection of data stored in one or more files (not Excel files). A database<br />

contains one or more tables, and tables are composed of records and fields.<br />

n Field: A component of a database table, it corresponds to a column in Excel.<br />

n ODBC: An acronym for Open DataBase Connectivity, a standard developed by <strong>Microsoft</strong> that uses<br />

drivers to access database files in different formats. <strong>Microsoft</strong> Query comes with drivers for Access,<br />

dBASE, FoxPro, Paradox, SQL Server, Excel workbooks, and ASCII text files. ODBC drivers for<br />

other databases are available from <strong>Microsoft</strong> and from third-party providers.<br />

n OLAP Cube: A multidimensional aggregate data source, often created from various other sources.<br />

OLAP is an acronym for OnLine Analytical Processing.<br />

n Query: Search a database for records that meet specific criteria. This term is also used as a noun;<br />

you can write a query, for example.<br />

n Record: In a database table, a single element that corresponds to a row.<br />

n Refresh: Rerun a query to get the latest data. It’s applicable when the database contains information<br />

that is subject to change, as in a multiuser environment.<br />

n Relational database: A database stored in more than one table or file. At least one common field<br />

(sometimes called the key field) connects the tables.<br />

n Result set: The data returned by a query, usually a subset of the original database. Query returns<br />

the result set to your Excel workbook or to a pivot table. (I discuss pivot tables in Chapter 21.)<br />

n SQL: An acronym for Structured Query Language (sometimes pronounced sequel). Query uses<br />

SQL to query data stored in ODBC databases.<br />

n Table: A record- and field-oriented collection of data. A database consists of one or more tables.<br />

If you need to work with external databases, you may prefer Excel to other database programs. The advantage?<br />

After you bring the data into Excel, you can manipulate and format it by using familiar tools such as<br />

formulas and pivot tables. Of course, real database programs, such as Access, have advantages, too. For<br />

example, creating a complex database report in Access may be easier than creating it in Excel.<br />

Importing Access Tables<br />

<strong>Microsoft</strong> Access is included with some versions of <strong>Office</strong> 2007. An Access database contains one or more<br />

tables of data, and you can import an Access table directly into a worksheet by choosing Data ➪ Get<br />

External Data ➪ From Access. When you choose this command, Excel displays the Select Data Source dialog<br />

box, which you use to locate the Access file.<br />

576

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!