Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting records from two different tables in one query
Message
From
15/03/2010 11:38:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01454516
Message ID:
01454563
Views:
50
>>>It depends, but in most cases I tried LEFT JOIN was the fastest method.
>>
>>What is that most case and how it depends? In all cases I tried it was the slowest.
>>Cetin
>
>I think it depends on number of records in each table.

You think:) Ok I understand that. My tests were with large tables,
PS: If you check excution plan of 'in', exists and left join, the latter adds an extra step to other plans.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform