Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic SQL clause question
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00700804
Message ID:
00700830
Views:
9
>select....
>group by Clients.ClientName..
>UNION
>select....
>group by Clients.ClientName..
>order by 1

Tried that one, got a "Missing ) parenthesis" error, wich only disapears when i remove the order by clause

>
>OR
>
>select....
>UNION
>select....
>group by 1
>order by 1

With this one, i kept receiving "Syntax error" all the time.
The weird thing is that i have in other apps much more complicated UNIONS in views, wich also have the group by and order by in the end, and work perfectly! I think i'm going to double-check i'm getting the right data in those views, before i get killed by my client...
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform