MySQL Forums
Forum List  »  Russian

Re: Подскажите как реализовать выборку из БД?
Posted by: Alexander Lunyov
Date: December 02, 2014 05:51AM

Попробовал таким запросом:
select p2.* from table as p1, table as p2 where p1.src=p2.dst and timestampdiff(SECOND, p2.date, p1.date) < 600;
Но очень долго работает, не знаю даже правильно или нет, запрос прервал.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Подскажите как реализовать выборку из БД?
1685
December 02, 2014 05:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.