Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select problem
Message
From
16/05/2007 14:23:49
 
 
To
16/05/2007 14:17:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01226113
Message ID:
01226116
Views:
18
How many does lcCompanyInfo that matches RawData?

>Given the following code sequence
>
>lnYear = 2005
>lcRawData = fileloc + 'surveys\RawData' + transform(lnYear)
>lcCompanyInfo = fileloc + 'surveys\companyinfo'
>
>select * ;
>	from (lcRawData) rd, ;
>	(lcCompanyInfo) ci ;
>	where rd.permid = ci.permid and ci.yearproduced = lnYear
>
>
>The RawData table contains 98274 records. If the WHERE clause of the select creates an inner join (does it not?) how can the result set contain 98511 records?
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform