|
InforShell Trend View |
|
From spreadsheet link and access database |
|
|
|
|
Database overview
More simply, in a database may include more than one number tables. At a table can include multiple data records. In a data record may include multiple data items, and each data item can be different data types, such as a string, date, number, etc. If the number of tables in each of the two data items have a value equal to two indicates that the number of records in the table have join relationships.
Database has multiple purposes, such as: Database with different products, such as DB2, Oracle, SQL Server, Access, dBase, FoxPro and Paradox, etc. use the database are generally based on the project or business depending on the amount of data, such as less than 2G of data can be used when Access, dBase, FoxPro Paradox or otherwise should be used DB2, Oracle or SQL Server. Trend View supports a variety of users from the database system used to extract data and to view the spreadsheet approach. |
SQL overview
SQL is IBM's relational database defined for the launch of the Structured Query Language. Using the SQLdatabase query command can be accessed from a different point of view the purpose of analyzing the data, for example, the number of tables in the query operation can be:
Trend View provides a series of dialogues board, list:
Users can simply click on the option to generate SQL database query command and run directly.
|
|
Open or connect to the database
Usually less than 2G of data management for small databases such as Access, dBase, FoxPro and Paradox is the use of a single disk file, while medium-sized DB2, Oracle, SQL Server database administrator is generally run on a dedicated monitor and computer platforms.
Trend View provides two ways to access the database: |
![]()
Figure 1: Open or connect to the database menu
|
|
Specifies the number of tables and query data items
In the Trend View, when a user opens a database specified in the pop-up dialogue on the board first user as follows:
Step 1 in the "From data table" list
Step 2 In the "Select columns" list
Repeat customers such as 1, 2, two steps, receive a query multiple tables and data items of SQL commands.
In the "Selected columns" have been selected using the mouse to specify a target data item, click "Remove" button available from the SQL command to clear the data item. |
![]() Figure 2: specify the target number of tables and data entry dialogue board
|
|
Specified data item query
In the Trend View, when the user opens the database specified after the second dialogue in the pop-up user operation panel as follows:
Step 1 In the "Specify search condition | SQL keyword" list of options: Note: in SQL query prefix declared necessary by the "WHERE" or "WHERE NOT" keyword. b) the claim that the conditions specified follow-up multiple queries Note: multiple queries in SQL conditions must claim by "OR", "OR NOT", "AND" or "AND NOT" keywords separated. Step 2 In the "Column" option to specify the list you prepared to give the query data entry
Step 3 In the "Operator" in the list of options you need to specify the comparison operator, such as:
Step 4 In the "Condition" option declares the list you need to query such as: Note: The number of the conditions would enable the two inter-related table records in the query results. |
![]() Figure 3: the specified data item query dialogue board
Step 5 Click "Done" button. Then the current SQL query will also appear in:
Repeat steps 1b to 5 more query terms to generate SQL commands. |
|
Specify the data query results sorting criteria
In the Trend View , when the user opens the database specified in the pop-up board in the third dialogue users follow these steps: Step 1 In the "Specify display order (ORDER BY Column)" option in the first list you prepared to give the sort criteria specified data items
Step 2 In the "Specify display order (ORDER BY Column)" list of options specified in Section 2 you are ready to give the sort criteria:
Step 3 Click "Done" button. Then the current SQL sort criteria will also appear in: Note: SQL declared sort criteria required by the prefix "ORDER BY" keyword. Involved in sorting between the required number of data items separated by commas.
Repeat steps 1 to 3 more sort criteria can be generated SQL commands. |
![]() Figure 4: Specify the data query results sorting criteria Dialogue board |