Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering without Group By and Having ?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00590837
Message ID:
00590914
Views:
24
>Thanks to all. Jim, I started out trying it your way and threw it out. So I looked at it again and Jay's stuph and came up with this:
>
>Select Top 1 iBatchID , cFileName , cStatusDesc From table Order by iBatchID ;
>WHERE cFileName like '\\vanbustest\sccf$\01102301.120%' ;
>AND iBatchID NOT IN (SELECT iBatchID from  table WHERE cStatusDesc like 'Processing comp%')
>
>And that gives me just the rows where a file does not have a "Processing complete" entry in the table. And Rushmore likes it because I just have simple left-to-right expressions in my Where clause. :)

Steve --

Glad you got it!

Couldn't help noticing but I think you implemented Jim's pseudocode precisely!

Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform