Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL join with empty data in one table
Message
From
14/07/2000 16:37:00
 
 
To
14/07/2000 16:28:21
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392660
Message ID:
00392674
Views:
10
>I think that you need to try:
>
>SELECT * FROM sales Sa RIGHT JOIN...
>
>or INNER JOIN, depending on what you are trying to accomplish.

Sorry, I forgot to mention what I want to get as result: The companies without corresponding records in the Sales table should get one record which the sales data is just empty. Because of the Where expression Sales.Price>0 this cannot be, because empty data is always null, so the sql cannot include this record in the cursor.
I fear I cannot do this in one SQL line, and I have to do some tricks, unless someone comes up with a good idea!

Thanks for help.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform