General information
Category:
Coding, syntax & commands
>I have the following SQL statement:
>
>SELECT pricelist.ITEM, pricelist.REPL, pricelist.price, pricelist.DATE;
>FROM price!pricelist;
>GROUP BY pricelist.ITEM;
>INTO TABLE temp.DBF
>
>The results do not show an item number:
>
>T97000-503
>
>but it will show an item number:
>
>T97000-503R
>
>What may I be doing wrong?
What kind of results are you looking for? Usually you don't group unless you are using aggregate funcitons like SUM() or AVG() or COUNT().
Also, I have had trouble with continued selects when I didn't put a space prior to the semi-colon.
SELECT * ;
FROM thistable ;
where this=that
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only