Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This SQL sentence doesn't work ,help me
Message
 
To
10/04/2002 02:55:12
Lu Ping
Zhuhai Tec Co.
Zhuhai, China
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00643027
Message ID:
00643034
Views:
17
Try this:
SELECT GCBW, BHQK, BCHT, ADD_CLJE, BCHTQK, LEFT(STATION,4) ;
    FROM KYGCGL GROUP BY 6 ORDER BY 6 ;
    WHERE 'U'$UPPER(GCBH)
>
>
>SELECT KYGCGL.GCBW ,KYGCGL.BHQK ,KYGCGL.BCHT ,KYGCGL.ADD_CLJE ,KYGCGL.BCHTQK ,;
> SUBSTR(KYGCGL.STATION,1,4) FROM KYGCGL GROUP BY (SUBSTR(KYGCGL.STATION,1,4));
> ORDER BY (SUBSTR(KYGCGL.STATION,1,4)) WHERE AT(UPPER('U']),UPPER(GCBH))>0
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform