Hello, can anyone tell me if subselects are allowed in MySQL - i am trying to do something like ...
SELECT file_name,
access_timestamp,
(SELECT max(access_timestamp)
FROM web_page_visitors w2
WHERE w2.file_name = w1.file_name)
FROM web_page_visitors w1
WHERE access_timestamp >= (now() - INTERVAL 1 DAY )
thanks
steve








Bookmarks