Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Range grouping
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Range grouping
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01472288
Message ID:
01472288
Views:
94
Hi all,

I have a table (wwrequestlog) of web hits with the corresponding ip-addresses (field remoteaddr).
Another table (iptocountry) contains two numeric fields (field1, field2), a range of ip-addresses with the corresponding country (field3).

I want to make a query where for each hit in wwrequestlog where the corresponding country is searched. For example:

field1 field2 country
411303936 411369471 NL
540711936 540712447 NL
1042299392 1042300159 SP

..

table wwrqeustlog

remoteaddr ...
540711938
..
result of query
540711938 NL

Thanks beforehand
Zakaria al Azhar
My blog on Actuaris.net
Next
Reply
Map
View

Click here to load this message in the networking platform