|
|
От: | WolfHound | |
| Дата: | 13.08.03 04:32 | ||
| Оценка: | |||
select *
from
(
select *
from ValInt
where (pid in (20,145,555,9834,876235))
)a
where
(
point in
(
select max(point)
from
(
select *
from ValInt
where (point in (select point from points where uid=46 and point<=100000))
)b
where b.pid = a.pid
)
)