Howdy list!

Get in trouble with:
SELECT COUNT (DISTINCT V_CODE) FROM INVENTRY;
- SYNTAX ERROR

The SQL numeric functions that don't seem to work:
COUNT
MIN
SUM

Nesting doesn't seem to work either:
SELECT P_CODE, P_DESCRIPT, PRICE
    FROM INVENTRY
        WHERE PRICE = (SELECT MAX(PRICE))
            FROM INVENTRY);

- syntax error
This is really weird. Why do You think it can happen?

Regards

Tobias Bohlin
    

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to