Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 2.07 » View Incident Report |
Serious |
Reported By: Paul Grimstrup Reported On: 1/23/2001 For: Version 2.06 Build 1 |
DROP TABLE CUSTOMERS; DROP TABLE ORDERS; CREATE TABLE CUSTOMERS ( CustomerID INTEGER, Name VARCHAR(20), Balance MONEY ); CREATE TABLE ORDERS ( CustomerID INTEGER, OrderID INTEGER, OrderDate TIMESTAMP, ItemCode VARCHAR(20), Narration VARCHAR(20) ); INSERT INTO CUSTOMERS VALUES(1, 'Bob the Builder', 0); INSERT INTO CUSTOMERS VALUES(2, 'Pete the Plumber', 499.99); INSERT INTO CUSTOMERS VALUES(3, 'Eric the Electrician', 599.98); INSERT INTO CUSTOMERS VALUES(4, 'Paul the PC Guy', 0); INSERT INTO ORDERS VALUES(1, 1, '2000-01-01', 'TIMBER', 'Construction Timber'); INSERT INTO ORDERS VALUES(1, 1, '2000-02-01', 'NAILS', '50mm Nails'); INSERT INTO ORDERS VALUES(4, 1, '2000-03-01', 'PC', 'IBM PC'); INSERT INTO ORDERS VALUES(4, 1, '2000-04-01', 'MOUSE', 'Serial Mouse'); SELECT * FROM Customers C LEFT OUTER JOIN Orders O ON C.CustomerID = O.CustomerID AND O. OrderDate BETWEEN '2000-01-01' AND '2000-01-31' WHERE C.Balance <> 0 OR O.CustomerID IS NOT NULL
This web page was last updated on Tuesday, April 23, 2024 at 08:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |