do this in these 2 queries.
> |-----------------------|
> |How to get it in ONE query?|
> |---|
> 1)
> mysql> SELECT count(*) FROM t_what WHERE price<25;
> +--+
> | count(*) |
> +--+
> | 25 |
> +--+
> 1 row
:
>
> I need to get information about number of all rows produced by query 1)
> and information produced by limited query 2).
> I can do this in these 2 queries.
> |-----------|
> |How to get it in ONE query?|
> |---|
> 1)
> mysql>
I need to get information about number of all rows produced by query 1)
and information produced by limited query 2).
I can do this in these 2 queries.
|---|
|How to get it in ONE query?|
|---|
1)
mysql> SELECT count(*) FROM t_what WHERE pr