dbTalk Databases Forums  

Help me, please!!

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Help me, please!! in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mathasu78
 
Posts: n/a

Default Help me, please!! - 05-06-2004 , 10:55 AM






Hello!

This frame of code get sintax error.
Which is the correct sintax ?

SELECT Tipo__CF,;
CodiceCF,;
CodiceAR,;
DataUlAV AS DataUAcq,;
ValoreAV;
FROM UAV A;
INNER JOIN (SELECT CodiceAR, MAX(DataUlAV) FROM UAV GROUP BY CodiceAR) B ;
ON A.CodiceAR = B.CodiceAR ;
INTO CURS _UAV_Ultimo_ ;
ORDER BY A.CodiceAR

Thanks
Hi



Reply With Quote
  #2  
Old   
Alexandre Peshansky
 
Posts: n/a

Default Re: Help me, please!! - 08-18-2004 , 12:34 PM






On Thu, 6 May 2004 17:55:10 +0200, "mathasu78" <wendynet (AT) libero (DOT) it> wrote:
[ Courtesy cc'ed through e-mail to the quoted author ]

Quote:
Hello!

This frame of code get sintax error.
Which is the correct sintax ?

SELECT Tipo__CF,;
CodiceCF,;
CodiceAR,;
DataUlAV AS DataUAcq,;
ValoreAV;
FROM UAV A;
INNER JOIN (SELECT CodiceAR, MAX(DataUlAV) FROM UAV GROUP BY CodiceAR) B ;
ON A.CodiceAR = B.CodiceAR ;
INTO CURS _UAV_Ultimo_ ;
ORDER BY A.CodiceAR

Thanks
I believe it should be "SELECT <fields> FROM <source> INTO <target>" and _then_
all other stuff.
Quote:
Hi

--
[ When replying, remove *'s from address ]
Alexandre Peshansky, Systems Manager, RUH, NY


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.