Prophet 21 World Wide User Group Webinars. Barry Hallman. SQL Queries & Views. (Basic Skill Level)

Size: px
Start display at page:

Download "Prophet 21 World Wide User Group Webinars. Barry Hallman. SQL Queries & Views. (Basic Skill Level)"

Transcription

1 Prophet 21 World Wide User Group Webinars SQL Queries & Views (Basic Skill Level) Barry Hallman

2 Disclaimer This webinar is an attempt by P21WWUG members to assist each other by demonstrating ways that we utilize the Prophet21 system and other related products. The P21WWUG and the individuals conducting these webinars take no responsibility for potential issues that arise as a result of taking the advice given during the session. The P21WWUG does not recommend using any SQL statements to update your database without having those statements first reviewed by Activant or other experienced SQL professionals. Using SQL statements to update your database may result in corrupting your database 6

3 Barry Hallman Purchasing agent ( ) Sales manager for wholesale distributor ( ) Regional manager for national computer retailer ( ) Director of computer consulting for an accounting firm ( ) Senior implementation consultant for local consulting firm ( ) Accounting software and network support (1992-present) Database manager (1992-present) Favorite color (blue) 7

4 SITUATION: Project Description We have been asked by a major customer to print large labels for every product we ship to them. The labels (4 x6 ) are to include: Our company name and address Customer s shipping address Customer s part number (with barcode) Purchase order number (with barcode) Quantity shipped (with barcode) We previously have produced these labels using Label Matrix software and a Zebra printer, but all the data was manually entered for every label, except for our address. SOLUTION: Create a query that can be accessed by the label software that will populate ALL the data by selecting data from the pick ticket. 8

5 The Finished Product Looks Simple Enough! 9

6 Agenda 1. Anatomy of a database 2. Using Prophet 21 to point us to specific data fields 3. Navigating SQL Management Studio (2005) 4. Basic query structure 5. Simple SQL syntax 6. Accessing data from multiple tables 7. Filtering data to be returned 8. Saving a query 9. Converting a query to a VIEW 10

7 Understand how: Goals To use the Prophet21 for identifying data fields To use SQL Management Studio (2005) A database is structured To retrieve data from a table To retrieve data from multiple related tables To save a query To convert a query to a re-usable view 11

8 The Finished Product Data Types Identified From Prophet 21 Label Template Info 12

9 The Finished Product Data Fields Identified Customer Ship-to Name Ship-to Addresses 1 and 2 Ship-to City Ship-to State Ship-to Zip Customer Part Number Customer PO Number Quantity Shipped 13

10 Step 1: The Anatomy of a Database Database name Database Diagrams Tables house the actual data Arranged as COLUMNS and ROWS rather like an Excel spreadsheet Views provide quick access to the tables (like an Excel print preview ) Synonyms Programmability Service Broker Storage Security (Highlighted items are beyond the scope of this webinar) 14

11 Step 2: Using Prophet 21 to point us to specific data fields Navigate in Prophet 21 to a screen that shows the target data RMB (right click) on the field Choose (left click) HELP from the drop-down menu Choose SQL Information may show the data location Choose the More button Choose the SQL tab shows the entire P21 query (NOTE: The query shown may be difficult to decipher!) (Examples provided on next 2 slides) 15

12 Example 1 Access the SQL Help: Using Prophet 21 to point us to specific data fields 1. RMB (right click) ContactId 2. Left click Help 3. Left click on SQL Information 16

13 Example 1 View the Desired Information: Using Prophet 21 to point us to specific data fields 4. Here s the Field Info. 17

14 Example 1 View the Desired Information: Using Prophet 21 to point us to specific data fields Data is specified in SQL as: {table name}. {column name} 18

15 Example 2 Access the SQL Help: Using Prophet 21 to point us to specific data fields 1. RMB (right click) Pick Ticket Id 2. Left click Help 3. Left click on SQL Information 19

16 Example 2 Access SQL Help: Using Prophet 21 to point us to specific data fields (Not very useful Information) 4. Left click on More>> 20

17 Example 2 Access the SQL Tab: Using Prophet 21 to point us to specific data fields 5. Left click the SQL tab 21

18 Example 2 View the Desired Information: Using Prophet 21 to point us to specific data fields 6. Needed Field Information (if you read SQL!!!) 22

19 The Finished Product Data Fields Identified oe_hdr.ship2_name oe_hdr.ship2_addr1 oe_hdr.ship2_addr2 oe_hdr.ship1_city oe_hdr.ship1_state oe_hdr.ship2_zip oe_line.customer_part_number oe_hdr.po_no oe_pick_ticket_detail.print_quantity 23

20 Step 3: Finding the Data in SQL Open Microsoft SQL Management Studio Connect to the SQL server i.e. log on/connect Expand Databases in the Object Explorer Locate the Prophet 21 (Play) database and expand it Tables - 1,556 tables in version 12.0 Views - 1,886 views in version 12.0 (Total column references : 69,990 in all tables, views and triggers) (This will be demonstrated during the LIVE portion of the presentation) 24

21 Step 4: Basic SQL Query Syntax Live SQL Query Demonstration (Please refer to refer to separately published Supplements 1 & 2 for printed details) 25

22 Step 4: Basic SQL Query Syntax Choose the database that you will be querying Chosen from the user interface or the USE statement Begins with a SELECT statement to specify the action Followed by a list of columns (separated by commas) Use of the * wildcard character Specify named columns Ends with a FROM statement to identify the data table (See live demonstration) 26

23 Step 5: Selecting Data from Multiple Databases Choose the primary database Choose the first supplemental database JOIN the two databases INNER Join LEFT OUTER Join RIGHT OUTER Join FULL Join CROSS Join (Highlighted items are beyond the scope of this presentation) (See SUPPLEMENT for explanations) 27

24 Step 6: Filtering Data Using the WHERE clause Specifying the rows to be returned from a table (based on data in the row) Using multiple filter criterion (See SUPPLEMENT for explanations) 28

25 Step 7: Finishing the Query Sorting the data using the ORDER BY clause Clean up the look of the query Using proper capitalization for readability Using proper indentation for readability Adding COMMENTS to the query Saving the query (See live demonstration) 29

26 Step 8: Converting the Query to a VIEW Comment or Remove the USE statement Comment or Remove the ORDER BY statement Using the CREATE QUERY clause Using the ALTER QUERY clause (See live demonstration) 30

27 Questions and Answers 31

28 Disclaimer This webinar is an attempt by P21WWUG members to assist each other by demonstrating ways that we utilize the Prophet21 system and other related products. The P21WWUG and the individuals conducting these webinars take no responsibility for potential issues that arise as a result of taking the advice given during the session. The P21WWUG does not recommend using any SQL statements to update your database without having those statements first reviewed by Activant or other experienced SQL professionals. Using SQL statements to update your database may result in corrupting your database 32

29 Contact Information Barry Hallman President Hallman Consulting & Services, Ltd. (513)

30 Query Development - Supplement 1 Step 1 /* Query: Purpose: Created: Modified: */ Code Sample Pick_Ticket_Label_Data_view.sql To retrieve data for printing package labels from pick tickets with label matrix gbh gbh - Removed unnecessary content for demonstration -- The next line specifies which SQL database we will use USE VBH /* Characters marking the beginning of a comment block Query: Pick_Ticket_Label_Data_view.sql Purpose: To retrieve data for printing package labels from pick tickets with label matrix Created: gbh Modified: gbh - Removed unnecessary content for demonstration */ Characters marking the ending of a comment block -- USE! Execute or F5 Characters beginning a comment for ONE LINE ONLY. This is especially useful annotating the code for enhanced understandability and readability, or to DISABLE a code line. The SQL action that specifies the default database to be used by subsequent SQL actions. VBH -- the name of the selected database for this exercise The menu bar choice or function key to cause the SQL code to EXECUTE What these statements say is: Here is some information (COMMENT) that is relevant to this query, but this text is ONLY here for the reader, and will be ignored when the query is executed. I want to retrieve data from this (USE) database Page 1 of 11

31 Query Development - Supplement 1 Step 2 Code Sample SELECT pick_ticket_no,order_no FROM oe_pick_ticket SELECT {columns list} FROM {table name} The SQL action that specifies you want to retrieve data from the database pick_ticket_no,order_no The SQL action that specifies you want to retrieve data from the database oe_pick_ticket * The * (asterisk) serves as a wildcard character to denote all-columns What these statements say is: Show me (SELECT) the data in the columns pick_ticket_no and order_no from (FROM) the table oe_pick_ticket OR (if using the wildcard character) Show me (SELECT) the data in ALL the columns from (FROM) the table oe_pick_ticket Page 2 of 11

32 Query Development - Supplement 1 Step 3 Code Sample SELECT OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no AS {columns list} INNER JOIN ON {expression} Notes that the following name is an alias for a specific column or table name OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM The SQL action that specifies you want to retrieve data from the database (see Supplement 2 for additional information on table joins) INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no Specifies that the expression that follows states the condition for connecting the data in two tables Specifies the columns in each of the chosen tables that equal each other creates the link between the two tables What these statements say is: Show me the data in the columns pick_ticket_no and order_no from the table oe_pick_ticket, and the columns line_number, print_quantity, and unit_of_measure from the table pick_ticket_detail using an alias (AS) for each column name and table, AND match the data up (INNER JOIN) by choosing the columns from the pick_ticket_detail table where the value in the pick_ticket_no column of the oe_pick_ticket table EQUALS the value in the pick_ticket_no column of the oe_picket_ticket_detail table. Page 3 of 11

33 Query Development - Supplement 1 Step 4 Code Sample SELECT DISTINCT OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM,Inv_Mast.item_id AS ItemID,Inv_Mast.item_desc AS ItemDesc FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = I Inv_Mast.inv_mast_uid DISTINCT (NOLOCK) {columns list} Instructs SQL to only retrieve rows of data where EVERY COLUMN of data is unique from other rows. In other words, EXCLUDE all duplicate rows. Specifies to the SQL database engine to NOT lock, or prevent access/update (to the records in this table) by other users or processes while this table is being queried by this query OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM What these statements say is: Show me the data from Step 3 and also include the item_id and item_desc columns from the inv_mast table. Also, while retrieving this data, do not prevent (NOLOCK) any other users or processes from seeing or updating this data. AND while you are at it, exclude any duplicate rows (DISTINCT) from the retrieved data. Page 4 of 11

34 Query Development - Supplement 1 Step 5 Code Sample SELECT DISTINCT OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM,Inv_Mast.item_id AS ItemID,Inv_Mast.item_desc AS ItemDesc,OE_Ln.customer_part_number AS Cust_PartNo FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = I Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) AND This operator indicates that BOTH conditions MUST be TRUE, or stated differently, both of the conditions (~equations) MUST equate to TRUE. Note that this compound condition is enclosed in parentheses. What these statements say is: Show me the data from Step 4 and also include the customer_part_number column from the oe_line table. This time, to line up the right customer part number with the right line from the detail section of the order, match the order_no column from the oe_pick_ticket table with the order_no column in the oe_line table, AND (AND) match the line_no column from the oe_line table to the line_no column from the oe_pick_ticket_detail table. Page 5 of 11

35 Query Development - Supplement 1 Step 6 Code Sample SELECT DISTINCT OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM,Inv_Mast.item_id AS ItemID,Inv_Mast.item_desc AS ItemDesc,OE_Ln.customer_part_number AS Cust_PartNo,OE_Hdr.po_no AS Cust_PONo,OE_Hdr.ship2_name AS Ship2_Name,OE_Hdr.customer_id AS Ship2_Addr1,OE_Hdr.ship2_add2 AS Ship2_Addr2,OE_Hdr.ship2_city AS Ship2_City,OE_Hdr.ship2_state AS Ship2_State,OE_Hdr.ship2_zip AS Ship2_Zip,OE_Hdr.ship2_city + ', ' + OE_Hdr.ship2_state + ' ' + OE_Hdr.ship2_zip AS Ship2_CityStateZip FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no {string math} Various pieces of data can be attached to each other (or concatenated) by adding them together. In this example, the city, state, and zip code columns have been added together to create one string CITY, STATE, ZIP. (This was done to simplify our label layout. REMEMBER, THAT S WHY WE STARTED ALL THIS!!!) What these statements say is: Take the contents of the ship2city column, add ({string math}) a comma and a space to the end of it, then add the contents of the ship2_state column to that, and then add two spaces, and finally the contents of the ship2_zip column to get a properly formatted city, state zip column Page 6 of 11

36 Query Development - Supplement 1 Step 7 Code Sample SELECT DISTINCT {column listing} FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no WHERE OE_PT.printed_flag = 'Y' AND OE_PT.delete_flag = 'N' AND OE_PTDtl.print_quantity > 0 AND OE_Hdr.cancel_flag = 'N' AND OE_Hdr.approved = 'Y' AND OE_Hdr.projected_order = 'N' AND OE_Ln.detail_type = 0 AND OE_Ln.cancel_flag = 'N' AND OE_Ln.delete_flag = 'N' -- "Master" or "Top-Level" item WHERE This action specifies conditions at EVERY ROW must satisfy in order to be included in the data rows that are retrieved. What these statements say is: Include in our data ONLY rows where (WHERE) the pick ticket has been printed (printed_flag = Y ), and where the pick ticket has not been deleted (delete_flag = N ), and where the quantity printed on the pick ticket was greater than zero (print_quantity > 0), and where the order was NOT cancelled (cancel_flag = N ), and where the order was approved (approved = Y ), and where this is NOT a quote (projected_order = N ), and where this is a master item and not components of another item (detail_type = 0), and where the line item was not cancelled from the order (cancel_flag) = N ), and where the line item was not deleted from the order (delete_flag) = N ). Page 7 of 11

37 Query Development - Supplement 1 Step 8 Code Sample SELECT DISTINCT {column listing} FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no WHERE OE_PT.printed_flag = 'Y' AND OE_PT.delete_flag = 'N' AND OE_PTDtl.print_quantity > 0 AND OE_Hdr.cancel_flag = 'N' AND OE_Hdr.approved = 'Y' AND OE_Hdr.projected_order = 'N' AND OE_Ln.detail_type = 0 -- "Master" or "Top-Level" item AND OE_Ln.cancel_flag = 'N' AND OE_Ln.delete_flag = 'N' ORDER BY OE_PT.pick_ticket_no, OE_PTDtl.line_number ORDER BY ASC DESC This action specifies how the data is to be sorted as it is retrieved. Mulitiple levels of sorting is accomplished by specifying multiple columns to sort by, separated by commas. This signifies that the data is to be sorted in ascending order. This is the DEFAULT order that is assumed, so it need NOT be specified explicitly This signifies that the data is to be sorted in descending order. This sort order MUST be stated explicitly in the statement immediately following the column name i.e. order_date DESC What these statements say is: Sort (ORDER BY) my output by the pick ticket number (pick_ticket_no), and then within a pick ticket, sort the detail lines by their line numbers (line_number). Do both of these sorts in ascending order (ASC) as I have not specified otherwise (DESC). Page 8 of 11

38 Query Development - Supplement 1 Step 9 Code Sample CREATE VIEW gbh_view_pick_ticket_lables AS --USE VBH SELECT DISTINCT {column listing} FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) WHERE OE_PT.printed_flag = 'Y' AND OE_PT.delete_flag = 'N' AND OE_PTDtl.print_quantity > 0 AND OE_Hdr.cancel_flag = 'N' AND OE_Hdr.approved = 'Y' AND OE_Hdr.projected_order = 'N' AND OE_Ln.detail_type = 0 -- "Master" or "Top-Level" item AND OE_Ln.cancel_flag = 'N' AND OE_Ln.delete_flag = 'N' --ORDER BY OE_PT.pick_ticket_no, OE_PTDtl.line_number CREATE VIEW NOTE This action directs SQL to use the query language that follows to create a new VIEW in the current database. (This action also some code to the query. The USE and ORDER BY actions were commented out here as these actions cannot be included in a CREATE VIEW query. What these statements say is: This addition instructs SQL to use the contents of the query and create (and save) a view (CREATE VIEW) in my current database, that can be reused to access the data retrieved by the query as though it were a data table. Page 9 of 11

39 Query Development - Supplement 1 Step 10 Code Sample ALTER VIEW gbh_view_pick_ticket_lables AS -- The next line specifies which SQL database we will use --USE VBH SELECT DISTINCT {column listing} FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) WHERE OE_PT.printed_flag = 'Y' AND OE_PT.delete_flag = 'N' AND OE_PTDtl.print_quantity > 0 AND OE_Hdr.cancel_flag = 'N' AND OE_Hdr.approved = 'Y' AND OE_Hdr.projected_order = 'N' AND OE_Ln.detail_type = 0 -- "Master" or "Top-Level" item AND OE_Ln.cancel_flag = 'N' AND OE_Ln.delete_flag = 'N' --ORDER BY OE_PT.pick_ticket_no, OE_PTDtl.line_number ALTER VIEW NOTE This action directs SQL to use the query language that follows to CHANGE and existing VIEW in the current database. This Step is included here ONLY to raise awareness of this action What these statements say is: By changing the code line from CREATE VIEW to ALTER VIEW, we are instructing SQL to modify an existing view (ALTER VIEW) and save this revised view in place of the previous view. NOTE: By commenting out the ALTER VIEW line of code, this becomes a query that can be executed from the query window an especially helpful tool when debugging changes to your view. Remember to remove the comment notation and execute the query to save your changes to the view. Page 10 of 11

40 Query Development - Supplement 1 Completed Code /* Query: Pick_Ticket_Label_Data_view.sql Purpose: To retrieve data for printing package labels from pick tickets with label matrix Created: gbh Modified: gbh - Removed unnecessary content for demonstration */ ALTER VIEW gbh_view_pick_ticket_lables AS -- The next line specifies which SQL database we will use --USE VBH SELECT DISTINCT OE_PT.pick_ticket_no AS PickTicketNo,OE_PT.order_no AS VBH_OrderNo,OE_PTDtl.line_number AS PickTickLineNo,OE_PTDtl.print_quantity AS PickTicketQty,OE_PTDtl.unit_of_measure AS UOM,Inv_Mast.item_id AS ItemID,Inv_Mast.item_desc AS ItemDesc,OE_Ln.customer_part_number AS Cust_PartNo,OE_Hdr.po_no AS Cust_PONo,OE_Hdr.ship2_name AS Ship2_Name,OE_Hdr.customer_id AS Ship2_Addr1,OE_Hdr.ship2_add2 AS Ship2_Addr2,OE_Hdr.ship2_city AS Ship2_City,OE_Hdr.ship2_state AS Ship2_State,OE_Hdr.ship2_zip AS Ship2_Zip,OE_Hdr.ship2_city + ', ' + OE_Hdr.ship2_state + ' ' + OE_Hdr.ship2_zip AS Ship2_CityStateZip FROM oe_pick_ticket AS OE_PT INNER JOIN oe_pick_ticket_detail AS OE_PTDtl (NOLOCK) ON OE_PT.pick_ticket_no = OE_PTDtl.pick_ticket_no INNER JOIN oe_hdr AS OE_Hdr (NOLOCK) ON OE_PT.order_no = OE_Hdr.order_no INNER JOIN inv_mast AS Inv_Mast (NOLOCK) ON OE_PTDtl.inv_mast_uid = Inv_Mast.inv_mast_uid INNER JOIN oe_line AS OE_Ln (NOLOCK) ON (OE_PT.order_no = OE_Ln.order_no AND OE_Ln.line_no = OE_PTDtl.oe_line_no) WHERE OE_PT.printed_flag = 'Y' AND OE_PT.delete_flag = 'N' AND OE_PTDtl.print_quantity > 0 AND OE_Hdr.cancel_flag = 'N' AND OE_Hdr.approved = 'Y' AND OE_Hdr.projected_order = 'N' AND OE_Ln.detail_type = 0 AND OE_Ln.cancel_flag = 'N' AND OE_Ln.delete_flag = 'N' -- "Master" or "Top-Level" item --ORDER BY OE_PT.pick_ticket_no, OE_PTDtl.line_number Page 11 of 11

Prophet 21 World Wide User Group Webinars. Barry Hallman. SQL Queries & Views. (Part 2)

Prophet 21 World Wide User Group Webinars. Barry Hallman. SQL Queries & Views. (Part 2) Prophet 21 World Wide User Group Webinars SQL Queries & Views (Part 2) Barry Hallman Disclaimer This webinar is an attempt by P21WWUG members to assist each other by demonstrating ways that we utilize

More information

Understanding Prophet 21 Databases

Understanding Prophet 21 Databases Understanding Prophet 21 Databases Presented By: Jennifer Bankos Objectives Explain the difference between databases, tables and columns Extract data from different areas of the system Discuss basic SQL

More information

Activant Prophet 21. Understanding Prophet 21 Databases

Activant Prophet 21. Understanding Prophet 21 Databases Activant Prophet 21 Understanding Prophet 21 Databases This class is designed for Prophet 21 users that are responsible for report writing System Administrators Operations Managers Helpful to be familiar

More information

SQL Server Administration Class 4 of 4. Activant Prophet 21. Basic Data Manipulation

SQL Server Administration Class 4 of 4. Activant Prophet 21. Basic Data Manipulation SQL Server Administration Class 4 of 4 Activant Prophet 21 Basic Data Manipulation This class is designed for Beginner SQL/Prophet21 users who are responsible for SQL Administration as it relates to Prophet

More information

Activant Solutions Inc. SQL 2005: Basic Data Manipulation

Activant Solutions Inc. SQL 2005: Basic Data Manipulation Activant Solutions Inc. SQL 2005: Basic Data Manipulation SQL Server 2005 suite Course 4 of 4 This class is designed for Beginner/Intermediate SQL Server 2005 System Administrators Objectives System Stored

More information

CSC Web Programming. Introduction to SQL

CSC Web Programming. Introduction to SQL CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with

More information

ACTIVANT. Prophet 21 ACTIVANT PROPHET 21. New Features Guide Version 11.0 ADMINISTRATION NEW FEATURES GUIDE (SS, SA, PS) Pre-Release Documentation

ACTIVANT. Prophet 21 ACTIVANT PROPHET 21. New Features Guide Version 11.0 ADMINISTRATION NEW FEATURES GUIDE (SS, SA, PS) Pre-Release Documentation I ACTIVANT ACTIVANT PROPHET 21 Prophet 21 ADMINISTRATION NEW FEATURES GUIDE (SS, SA, PS) New Features Guide Version 11.0 Version 11.5 Pre-Release Documentation This manual contains reference information

More information

Relational Database Management Systems for Epidemiologists: SQL Part I

Relational Database Management Systems for Epidemiologists: SQL Part I Relational Database Management Systems for Epidemiologists: SQL Part I Outline SQL Basics Retrieving Data from a Table Operators and Functions What is SQL? SQL is the standard programming language to create,

More information

Access 2007: Advanced Instructor s Edition

Access 2007: Advanced Instructor s Edition Access 2007: Advanced Instructor s Edition ILT Series COPYRIGHT Axzo Press. All rights reserved. No part of this work may be reproduced, transcribed, or used in any form or by any means graphic, electronic,

More information

You can write a command to retrieve specified columns and all rows from a table, as illustrated

You can write a command to retrieve specified columns and all rows from a table, as illustrated CHAPTER 4 S I N G L E - TA BL E QUERIES LEARNING OBJECTIVES Objectives Retrieve data from a database using SQL commands Use simple and compound conditions in queries Use the BETWEEN, LIKE, and IN operators

More information

STIDistrict Query (Basic)

STIDistrict Query (Basic) STIDistrict Query (Basic) Creating a Basic Query To create a basic query in the Query Builder, open the STIDistrict workstation and click on Utilities Query Builder. When the program opens, database objects

More information

Lesson 2. Data Manipulation Language

Lesson 2. Data Manipulation Language Lesson 2 Data Manipulation Language IN THIS LESSON YOU WILL LEARN To add data to the database. To remove data. To update existing data. To retrieve the information from the database that fulfil the stablished

More information

Beyond the Basics with nvision and Query for PeopleSoft 9.2

Beyond the Basics with nvision and Query for PeopleSoft 9.2 Beyond the Basics with nvision and Query for PeopleSoft 9.2 Session ID: 101180 Prepared by: Millie Babicz Managing Director SpearMC Consulting @SpearMC Welcome and Please: Silence Audible Devices Note

More information

8.1 OVERVIEW OF THE INVENTORY MODULE ADDING NEW ITEMS...

8.1 OVERVIEW OF THE INVENTORY MODULE ADDING NEW ITEMS... Chapter Module The module is used to record and track inventory and storeroom information. This Chapter describes how to use the Web Work module. Table of Contents 8.1 OVERVIEW OF THE INVENTORY MODULE...

More information

Language. f SQL. Larry Rockoff COURSE TECHNOLOGY. Kingdom United States. Course Technology PTR. A part ofcenqaqe Learninq

Language. f SQL. Larry Rockoff COURSE TECHNOLOGY. Kingdom United States. Course Technology PTR. A part ofcenqaqe Learninq Language f SQL Larry Rockoff Course Technology PTR A part ofcenqaqe Learninq *, COURSE TECHNOLOGY!» CENGAGE Learning- Australia Brazil Japan Korea Mexico Singapore Spain United Kingdom United States '

More information

Microsoft Access 2010

Microsoft Access 2010 Microsoft Access 2010 Chapter 2 Querying a Database Objectives Create queries using Design view Include fields in the design grid Use text and numeric data in criteria Save a query and use the saved query

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

Microsoft Access 2013

Microsoft Access 2013 Microsoft Access 2013 Chapter 2 Querying a Database Objectives Create queries using Design view Include fields in the design grid Use text and numeric data in criteria Save a query and use the saved query

More information

Microsoft Access 2013

Microsoft Access 2013 Microsoft Access 2013 Chapter 2 Querying a Database Objectives Create queries using Design view Include fields in the design grid Use text and numeric data in criteria Save a query and use the saved query

More information

Unit Assessment Guide

Unit Assessment Guide Unit Assessment Guide Unit Details Unit code Unit name Unit purpose/application ICTWEB425 Apply structured query language to extract and manipulate data This unit describes the skills and knowledge required

More information

--NOTE: When the task does not specify sort order, it is your responsibility to order the information -- so that is easy to interpret.

--NOTE: When the task does not specify sort order, it is your responsibility to order the information -- so that is easy to interpret. --* BUSIT 103 Assignment #8 DUE DATE: Consult course calendar Name: Christopher Singleton Class: BUSIT103 - Online Instructor: Art Lovestedt Date: 11/15/2014 --You are to develop SQL statements for each

More information

Introduction to SQL. IT 5101 Introduction to Database Systems. J.G. Zheng Fall 2011

Introduction to SQL. IT 5101 Introduction to Database Systems. J.G. Zheng Fall 2011 Introduction to SQL IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic syntax

More information

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design

CHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design Objective 1: Identify Good Database Design CHAPTER 6 SUMMARY A database is an organized collection of data facts about people, events, things, or ideas related to a specific topic or purpose. Information

More information

RESTRICTING AND SORTING DATA

RESTRICTING AND SORTING DATA RESTRICTING AND SORTING DATA http://www.tutorialspoint.com/sql_certificate/restricting_and_sorting_data.htm Copyright tutorialspoint.com The essential capabilities of SELECT statement are Selection, Projection

More information

Fulfillment User Guide FULFILLMENT

Fulfillment User Guide FULFILLMENT Fulfillment User Guide FULFILLMENT TABLE OF CONTENTS I. System Requirements II. Logging In III. Launchpad a. Home b. Profile c. Settings IV. Dashboard Tab a. Actionable Insights b. Open Orders V. Transactions

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

More information

Shopping Cart: Queries, Personalizations, Filters, and Settings

Shopping Cart: Queries, Personalizations, Filters, and Settings Shopping Cart: Queries, Personalizations, Filters, and Settings on the Shopping Cart Home Page Use this Job Aid to: Learn how to organize the Shopping Cart home page so that it is easier to use. BEFORE

More information

Based on the Property Type you have selected, you can choose different search options:

Based on the Property Type you have selected, you can choose different search options: Matrix 6.0 The Search Tab The search tab contains links to each search type provided by Matrix. There are six different property type searches. All search types equate to their respective contracts and

More information

Welcome to Cole On-line Help system!

Welcome to Cole On-line Help system! Welcome to Cole On-line Help system! Cole Online is an Internet based information directory that allows fast and efficient access to demographic information about residences and businesses. You can search

More information

In this exercise you will practice some more SQL queries. First let s practice queries on a single table.

In this exercise you will practice some more SQL queries. First let s practice queries on a single table. More SQL queries In this exercise you will practice some more SQL queries. First let s practice queries on a single table. 1. Download SQL_practice.accdb to your I: drive. Launch Access 2016 and open the

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

More information

12. MS Access Tables, Relationships, and Queries

12. MS Access Tables, Relationships, and Queries 12. MS Access Tables, Relationships, and Queries 12.1 Creating Tables and Relationships Suppose we want to build a database to hold the information for computers (also refer to parts in the text) and suppliers

More information

tablename ORDER BY column ASC tablename ORDER BY column DESC sortingorder, } The WHERE and ORDER BY clauses can be combined in one

tablename ORDER BY column ASC tablename ORDER BY column DESC sortingorder, } The WHERE and ORDER BY clauses can be combined in one } The result of a query can be sorted in ascending or descending order using the optional ORDER BY clause. The simplest form of an ORDER BY clause is SELECT columnname1, columnname2, FROM tablename ORDER

More information

QW5 -QWSQLWizard Overview

QW5 -QWSQLWizard Overview The QWSQLWizard utility is installed as part of the QW5 product and can be found where the QW50 product was installed typically in the Busitech/QW50 directory. The utility allows you to create a connection

More information

Query Studio Training Guide Cognos 8 February 2010 DRAFT. Arkansas Public School Computer Network 101 East Capitol, Suite 101 Little Rock, AR 72201

Query Studio Training Guide Cognos 8 February 2010 DRAFT. Arkansas Public School Computer Network 101 East Capitol, Suite 101 Little Rock, AR 72201 Query Studio Training Guide Cognos 8 February 2010 DRAFT Arkansas Public School Computer Network 101 East Capitol, Suite 101 Little Rock, AR 72201 2 Table of Contents Accessing Cognos Query Studio... 5

More information

Language Localization Guide. version v12.15

Language Localization Guide. version v12.15 version v12.15 Disclaimer This document is for informational purposes only and is subject to change without notice. This document and its contents, including the viewpoints, dates and functional content

More information

CST272 SQL Server, SQL and the SqlDataSource Page 1

CST272 SQL Server, SQL and the SqlDataSource Page 1 CST272 SQL Server, SQL and the SqlDataSource Page 1 1 2 3 4 5 6 7 8 9 SQL Server, SQL and the SqlDataSource CST272 ASP.NET Microsoft SQL Server A relational database server developed by Microsoft Stores

More information

Kaseya 2. User Guide. Version 7.0. English

Kaseya 2. User Guide. Version 7.0. English Kaseya 2 Custom Reports User Guide Version 7.0 English September 3, 2014 Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept EULATOS

More information

Name: Class: Date: Access Module 2

Name: Class: Date: Access Module 2 1. To create a new query in Design view, click CREATE on the ribbon to display the CREATE tab and then click the button to create a new query. a. Query b. Design View c. Query Design d. Select Query ANSWER:

More information

Chapter. Storeroom Module. Table of Contents

Chapter. Storeroom Module. Table of Contents Chapter 16 Module The module is used to record and track inventory and storeroom information. This Chapter describes how to use the Web Work module. Table of Contents 16.1 OVERVIEW OF THE STOREROOM MODULE...

More information

Oracle Hyperion Tips and Tricks. NEOAUG Eric Sanders, Gordon Strodel Monday, October 22, 2012

Oracle Hyperion Tips and Tricks. NEOAUG Eric Sanders, Gordon Strodel Monday, October 22, 2012 Oracle Hyperion 11.1.2.2 Tips and Tricks NEOAUG Eric Sanders, Gordon Strodel Monday, October 22, 2012 Agenda About Archetype What s New in 11.1.2.2: New User Interface Calculation Manager Manage Substitution

More information

Instructions: DRDP Online Child Upload

Instructions: DRDP Online Child Upload Instructions: DRDP Online Child Upload Version 1.00 10/29/2018 Table of Contents Introduction... 2 Upload Roles... 2 Upload Template... 2 Entering Data into the Template... 3 Uploading to DRDP Online...

More information

Nanyang Technological University(NTU)

Nanyang Technological University(NTU) Nanyang Technological University(NTU) Buying and Invoicing Light Account Suppliers This User Guide is created for Light Account Suppliers trading with NTU using Ariba Network It contains key steps for

More information

Supplier SAP SNC User Guide

Supplier SAP SNC User Guide Supplier SAP SNC User Guide Version 1.0 July 29, 2014 AGCO Corporation Page 1 1 Introduction AGCO has chosen SAP Supplier Network Collaboration (SNC) to improve visibility and capability in North America

More information

Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations. SQL: Structured Query Language

Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations. SQL: Structured Query Language Implementing Table Operations Using Structured Query Language (SQL) Using Multiple Operations Show Only certain columns and rows from the join of Table A with Table B The implementation of table operations

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database

More information

PL/SQL Developer 7.0 New Features. December 2005

PL/SQL Developer 7.0 New Features. December 2005 PL/SQL Developer 7.0 New Features December 2005 L/SQL Developer 7.0 New Features 3 Contents CONTENTS... 3 1. INTRODUCTION... 5 2. DIAGRAM WINDOW... 6 2.1 CREATING A DIAGRAM...6 2.2 SAVING AND OPENING

More information

Introduction to PeopleSoft Query. The University of British Columbia

Introduction to PeopleSoft Query. The University of British Columbia Introduction to PeopleSoft Query The University of British Columbia December 6, 1999 PeopleSoft Query Table of Contents Table of Contents TABLE OF CONTENTS... I CHAPTER 1... 1 INTRODUCTION TO PEOPLESOFT

More information

Ten Great Reasons to Learn SAS Software's SQL Procedure

Ten Great Reasons to Learn SAS Software's SQL Procedure Ten Great Reasons to Learn SAS Software's SQL Procedure Kirk Paul Lafler, Software Intelligence Corporation ABSTRACT The SQL Procedure has so many great features for both end-users and programmers. It's

More information

As your databases continue to evolve, you will need to incorporate advanced queries and reports. This chapter addresses how to create and use action

As your databases continue to evolve, you will need to incorporate advanced queries and reports. This chapter addresses how to create and use action As your databases continue to evolve, you will need to incorporate advanced queries and reports. This chapter addresses how to create and use action queries and how to create queries that perform more

More information

COGNOS (R) ENTERPRISE BI SERIES COGNOS REPORTNET (TM)

COGNOS (R) ENTERPRISE BI SERIES COGNOS REPORTNET (TM) COGNOS (R) ENTERPRISE BI SERIES COGNOS REPORTNET (TM) GETTING STARTED Cognos ReportNet Getting Started 07-05-2004 Cognos ReportNet 1.1MR1 Type the text for the HTML TOC entry Type the text for the HTML

More information

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

Retrieving Data Using the SQL SELECT Statement. Copyright 2009, 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

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved.

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved. Restricting and Sorting Data Objectives After completing this lesson, you should be able to do the following: Limit the rows that are retrieved by a query Sort the rows that are retrieved by a query Use

More information

Data Import Assistant

Data Import Assistant System Administrator's Handbook Data Import Assistant Introduction Overview The Data Import Assistant is a utility program designed to assist in importing new part definitions and pricing information into

More information

Microsoft Access XP (2002) - Advanced Queries

Microsoft Access XP (2002) - Advanced Queries Microsoft Access XP (2002) - Advanced Queries Group/Summary Operations Change Join Properties Not Equal Query Parameter Queries Working with Text IIF Queries Expression Builder Backing up Tables Action

More information

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin http://www.php-editors.com/articles/sql_phpmyadmin.php 1 of 8 Members Login User Name: Article: Learning SQL using phpmyadmin Password: Remember Me? register now! Main Menu PHP Tools PHP Help Request PHP

More information

USING ODBC COMPLIANT SOFTWARE MINTRAC PLUS CONTENTS:

USING ODBC COMPLIANT SOFTWARE MINTRAC PLUS CONTENTS: CONTENTS: Summary... 2 Microsoft Excel... 2 Creating a New Spreadsheet With ODBC Data... 2 Editing a Query in Microsoft Excel... 9 Quattro Pro... 12 Creating a New Spreadsheet with ODBC Data... 13 Editing

More information

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved.

Restricting and Sorting Data. Copyright 2004, Oracle. All rights reserved. Restricting and Sorting Data Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Limit the rows that are retrieved by a query Sort

More information

SURVEYOR/400. Users Guide. Copyright , LINOMA SOFTWARE LINOMA SOFTWARE is a division of LINOMA GROUP, Inc.

SURVEYOR/400. Users Guide. Copyright , LINOMA SOFTWARE LINOMA SOFTWARE is a division of LINOMA GROUP, Inc. SURVEYOR/400 Users Guide Copyright 1996-2013, LINOMA SOFTWARE LINOMA SOFTWARE is a division of LINOMA GROUP, Inc. Surveyor/400 version: 4.0.0 Publication date: August 7 th, 2013 Table of Contents SURVEYOR/400

More information

Microsoft Access 2016

Microsoft Access 2016 Access 2016 Instructor s Manual Page 1 of 10 Microsoft Access 2016 Module Two: Querying a Database A Guide to this Instructor s Manual: We have designed this Instructor s Manual to supplement and enhance

More information

Savance Enterprise Webstore Help Manual

Savance Enterprise Webstore Help Manual Savance Phone: 248-478-2555 Fax: 248-478-3270 www.savanceenterprise.com 2014 Table of Contents Savance Enterprise Web Layout 4 1 Home Page... 4 Link Bar 4 Product Categories Menu 5 Quick Item / Quote Search

More information

Microsoft Access 2016

Microsoft Access 2016 Access 2016 Instructor s Manual Page 1 of 10 Microsoft Access 2016 Module Two: Querying a Database A Guide to this Instructor s Manual: We have designed this Instructor s Manual to supplement and enhance

More information

Furniture Reporting Updated July 2016

Furniture Reporting Updated July 2016 Updated July 2016 Contents About Furniture Reports...3 Open P/Os Not Acknowledged Report...3 O/E Third Party Gross Profit Report...4 P/O Expected Ship Report...5 Quotes Outstanding...6 Vendor Open P/O

More information

Introduction to Microsoft Access 2016

Introduction to Microsoft Access 2016 Introduction to Microsoft Access 2016 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

FOCUS ON: DATABASE MANAGEMENT

FOCUS ON: DATABASE MANAGEMENT EXCEL 2002 (XP) FOCUS ON: DATABASE MANAGEMENT December 16, 2005 ABOUT GLOBAL KNOWLEDGE, INC. Global Knowledge, Inc., the world s largest independent provider of integrated IT education solutions, is dedicated

More information

Chapter 5 Retrieving Documents

Chapter 5 Retrieving Documents Chapter 5 Retrieving Documents Each time a document is added to ApplicationXtender Web Access, index information is added to identify the document. This index information is used for document retrieval.

More information

Seko Global Logistics

Seko Global Logistics Seko Global Logistics Dock Processing Utility Installation and Usage 1. Introduction... 2 1.1 Objective... 2 1.2 Document Information... 2 1.3 Revision History... 2 2. Plug-In Installation Instructions...

More information

SCP-Embraer Train the Trainer. General Skills

SCP-Embraer Train the Trainer. General Skills SCP-Embraer Train the Trainer General Skills Page Set-Up A. Header: includes your user name and role, log-out function, and Help feature B. Navigation Tree: used to navigate around the various workflows

More information

Intellicus Enterprise Reporting and BI Platform

Intellicus Enterprise Reporting and BI Platform Designing Adhoc Reports Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Designing Adhoc Reports i Copyright 2012 Intellicus Technologies This

More information

Structure Query Language (SQL)

Structure Query Language (SQL) Structure Query Language (SQL) 1 Example to Select all Records from Table A special character asterisk * is used to address all the data(belonging to all columns) in a query. SELECT statement uses * character

More information

SQL - Tables. SQL - Create a SQL Table. SQL Create Table Query:

SQL - Tables. SQL - Create a SQL Table. SQL Create Table Query: SQL - Tables Data is stored inside SQL tables which are contained within SQL databases. A single database can house hundreds of tables, each playing its own unique role in th+e database schema. While database

More information

CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Part I: Movie review database.

CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Part I: Movie review database. CSCI 1100L: Topics in Computing Lab Lab 07: Microsoft Access (Databases) Purpose: The purpose of this lab is to introduce you to the basics of creating a database and writing SQL (Structured Query Language)

More information

General Features Agenda

General Features Agenda General Features Agenda Agenda Item Detailed Description Day 1 Query Class Introductions Query Overview Understand SQL Using Query Query Viewer Query Manager Schedule Query Create Query Tabs Table/Records

More information

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

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

More information

Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke

Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke Test Bank for Database Processing Fundamentals Design and Implementation 13th Edition by Kroenke Link full download: https://testbankservice.com/download/test-bank-fordatabase-processing-fundamentals-design-and-implementation-13th-edition-bykroenke

More information

Crystal Reports (Custom Reports)

Crystal Reports (Custom Reports) Crystal Reports (Custom Reports) Getting Started The Crystal Reports Module is Option #3 in the Reports Menu. Since not everyone needs the reporting capabilities of this new module, it does not come pre-installed

More information

ing Reports and Forms. From CounterPoint

ing Reports and Forms. From CounterPoint Emailing Reports and Forms From CounterPoint Introduction Vickie Sheffield Retail Applications Team 4 years with Radiant Systems Objective & Overview Retailers of all sizes are expanding their use of email.

More information

User's Guide c-treeace SQL Explorer

User's Guide c-treeace SQL Explorer User's Guide c-treeace SQL Explorer Contents 1. c-treeace SQL Explorer... 4 1.1 Database Operations... 5 Add Existing Database... 6 Change Database... 7 Create User... 7 New Database... 8 Refresh... 8

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

CSE 530A. Inheritance and Partitioning. Washington University Fall 2013

CSE 530A. Inheritance and Partitioning. Washington University Fall 2013 CSE 530A Inheritance and Partitioning Washington University Fall 2013 Inheritance PostgreSQL provides table inheritance SQL defines type inheritance, PostgreSQL's table inheritance is different A table

More information

eschoolplus+ Cognos Query Studio Training Guide Version 2.4

eschoolplus+ Cognos Query Studio Training Guide Version 2.4 + Training Guide Version 2.4 May 2015 Arkansas Public School Computer Network This page was intentionally left blank Page 2 of 68 Table of Contents... 5 Accessing... 5 Working in Query Studio... 8 Query

More information

Océ Engineering Exec. Advanced Import and Index

Océ Engineering Exec. Advanced Import and Index Océ Engineering Exec Advanced Import and Index Océ-Technologies B.V. Copyright 2004, Océ-Technologies B.V. Venlo, The Netherlands All rights reserved. No part of this work may be reproduced, copied, adapted,

More information

Data Manipulation Language (DML)

Data Manipulation Language (DML) In the name of Allah Islamic University of Gaza Faculty of Engineering Computer Engineering Department ECOM 4113 DataBase Lab Lab # 3 Data Manipulation Language (DML) El-masry 2013 Objective To be familiar

More information

Full file at

Full file at David Kroenke's Database Processing: Fundamentals, Design and Implementation (10 th Edition) CHAPTER TWO INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) True-False Questions 1. SQL stands for Standard

More information

Shelly Cashman Series Microsoft Office 365 and Access 2016 Introductory 1st Edition Pratt TEST BANK

Shelly Cashman Series Microsoft Office 365 and Access 2016 Introductory 1st Edition Pratt TEST BANK Shelly Cashman Series Microsoft Office 365 and Access 2016 Introductory 1st Edition Pratt TEST BANK Full clear download (no formatting errors) at: https://testbankreal.com/download/shelly-cashman-series-microsoft-office-365-access-

More information

Quick Start Guide. Version R94. English

Quick Start Guide. Version R94. English Custom Reports Quick Start Guide Version R94 English December 12, 2016 Copyright Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept

More information

Report Assistant for Microsoft Dynamics SL Accounts Payable Module

Report Assistant for Microsoft Dynamics SL Accounts Payable Module Report Assistant for Microsoft Dynamics SL Accounts Payable Module Last Revision: October 2012 (c)2012 Microsoft Corporation. All rights reserved. This document is provided "as-is." Information and views

More information

User Guide. Avery Dennison Web Ordering Solution for Steinmart

User Guide. Avery Dennison Web Ordering Solution for Steinmart User Guide Avery Dennison Web Ordering Solution for Steinmart March 2012 Copyright 2012 A very Dennison The information in this document is subject to change without notice and should not be construed

More information

I Wish I Knew How To. Program Access 2013 with Real Studio Desktop Apps in Windows. By Eugene Dakin. June 2013 Edition (1.7)

I Wish I Knew How To. Program Access 2013 with Real Studio Desktop Apps in Windows. By Eugene Dakin. June 2013 Edition (1.7) I Wish I Knew How To Program Access 2013 with Real Studio Desktop Apps in Windows June 2013 Edition (1.7) By Eugene Dakin Table of Contents Chapter 1 - Introduction to Real Studio and the Environment...

More information

IBM. Database Database overview. IBM i 7.1

IBM. Database Database overview. IBM i 7.1 IBM IBM i Database Database overview 7.1 IBM IBM i Database Database overview 7.1 Note Before using this information and the product it supports, read the information in Notices, on page 39. This edition

More information

Content-Based Assessments. Mastering Access. For Project 13L, you will need the following file: a13l_lab_administrators

Content-Based Assessments. Mastering Access. For Project 13L, you will need the following file: a13l_lab_administrators CH13_student_cd.qxd 10/17/08 7:17 AM Page 1 Mastering Access Project 13L Lab Administrators In this project, you will apply the skills you practiced from the Objectives in Project 13A. Objectives: 1. Open

More information

Evolution Query Builder Manual

Evolution Query Builder Manual Evolution Query Builder Manual PayData A Vermont Company Working for You! Page 1 of 37 Report Writer Introduction... 3 Creating Customized Reports... 4 Go to Client RW Reports... 4 Reports Tab... 4 Details

More information

vbound User Guide vbound User Guide Version Revised: 10/10/2017

vbound User Guide vbound User Guide Version Revised: 10/10/2017 vbound User Guide Version 4.1.1 Revised: 10/10/2017 Copyright 2014-2017 FFL Solutions Inc. Page 1 of 87 Table of Contents Using vbound...5 Starting vbound... 5 Bound Book List... 6 vbound Ribbon Menu...

More information

VUEWorks Report Generation Training Packet

VUEWorks Report Generation Training Packet VUEWorks Report Generation Training Packet Thursday, June 21, 2018 Copyright 2017 VUEWorks, LLC. All rights reserved. Page 1 of 53 Table of Contents VUEWorks Reporting Course Description... 3 Generating

More information

Product Documentation SAP Business ByDesign August Analytics

Product Documentation SAP Business ByDesign August Analytics Product Documentation PUBLIC Analytics Table Of Contents 1 Analytics.... 5 2 Business Background... 6 2.1 Overview of Analytics... 6 2.2 Overview of Reports in SAP Business ByDesign... 12 2.3 Reports

More information

TRACS Enterprise Manual

TRACS Enterprise Manual TRACS Enterprise Manual Table of Contents Welcome to NAPA TRACS... 1 What's New in NAPA TRACS... 1 Registering your NAPA TRACS Application... 2 Backing Up NAPA TRACS... 2 Online Updates... 2 Chapter 1

More information

Learn SQL by Calculating Customer Lifetime Value

Learn SQL by Calculating Customer Lifetime Value Learn SQL Learn SQL by Calculating Customer Lifetime Value Setup, Counting and Filtering 1 Learn SQL CONTENTS Getting Started Scenario Setup Sorting with ORDER BY FilteringwithWHERE FilteringandSorting

More information

TABLE OF CONTENTS. TECHNICAL SUPPORT APPENDIX Appendix A Formulas And Cell Links Appendix B Version 1.1 Formula Revisions...

TABLE OF CONTENTS. TECHNICAL SUPPORT APPENDIX Appendix A Formulas And Cell Links Appendix B Version 1.1 Formula Revisions... SPARC S INSTRUCTIONS For Version 1.1 UNITED STATES DEPARTMENT OF AGRICULTURE Forest Service By Todd Rivas December 29, 1999 TABLE OF CONTENTS WHAT IS SPARC S?... 1 Definition And History... 1 Features...

More information