Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub Query anyone?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00253101
Message ID:
00253110
Views:
18
>SELECT lv_icitem_desc.item , lv_icitem_desc.itmclss ;
> FROM lv_icitem_desc WHERE item NOT IN ;
> (SELECT DISTINCT item_no as item FROM lv_inv_count) ;
> order by 2,1 having val(itmclss) > 5


You can only use the HAVING clause in conjunction with a GROUP BY. It is like a WHERE for a group. Is there a reason you're not just using WHERE VAL(itmclss) > 5?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform