13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

QUERY EDITOR - TABLE OF CONTENTS1. INTRODUCTION ................................................................................................................................ 1571.1 What is a query? ......................................................................................................................................... 1571.2 Query editor ................................................................................................................................................. 1591.2.1 Overview......................................................................................................................................1591.2.2 Differences between the standard query editor and <strong>Reports</strong> & <strong>Queries</strong>...............................1591.3 Main interface of the query editor ............................................................................................................. 1611.4 A menu shaped like a ribbon ..................................................................................................................... 1631.5 Keyboard shortcuts ..................................................................................................................................... 1641.6 Query and project ........................................................................................................................................ 1652. HOW DO I CREATE A QUERY? ............................................................................................................ 1662.1 Overview ....................................................................................................................................................... 1662.2 Select query ................................................................................................................................................. 1672.2.1 Overview......................................................................................................................................1672.2.2 Creating a Select query..............................................................................................................1692.3 Insert query .................................................................................................................................................. 1692.3.1 Overview......................................................................................................................................1692.3.2 Creating an Insert query.............................................................................................................1702.4 Update query ............................................................................................................................................... 1712.4.1 Overview......................................................................................................................................1712.4.2 Creating an Update query ..........................................................................................................1722.5 Delete query ................................................................................................................................................ 1742.5.1 Overview......................................................................................................................................1742.5.2 Creating a Delete query..............................................................................................................1742.6 Union query .................................................................................................................................................. 1752.6.1 Overview......................................................................................................................................1752.6.2 Creating a Union query via the description window.................................................................1762.7 Query in SQL code ....................................................................................................................................... 1772.7.1 Creating a query in SQL code ....................................................................................................1772.7.2 Runtime modes of a query in SQL code ...................................................................................1782.7.3 Available SQL <strong>com</strong>mands .........................................................................................................1782.8 Creation mode of queries ........................................................................................................................... 1833. DESCRIBING A QUERY ...................................................................................................................... 1853.1 Overview ....................................................................................................................................................... 1853.2 Description window ..................................................................................................................................... 1853.2.1 Display the description window of a query ...............................................................................1853.2.2 Description window of a Select query.......................................................................................1863.2.3 Description window of a Union query........................................................................................1903.2.4 Description window of a query (Insert, Update or Delete) or description window of aquery in SQL code.................................................................................................................................1913.3 Characteristics of a query .......................................................................................................................... 1913.3.1 Items used in a Select query .....................................................................................................1913.3.2 Sorting the records selected by a Select query........................................................................193Part 2: Query Editor 155

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

Saved successfully!

Ooh no, something went wrong!