in reply to Right Number DB

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Right Number DB
by Anonymous Monk on Dec 10, 2003 at 20:37 UTC
    You can add a COUNT(*) to your SQL and get the normal data AND a count.

    Nonsense. If you put a COUNT(*) in your SELECT you get one line only.

    If you add a COUNT(*) to normal data, then you need to put a GROUP BY clause, thus getting a count for each group, not the total.

    You cannot get detailed data AND its count in one single SQL statement.

    A reply falls below the community's threshold of quality. You may see it by logging in.