Backboards: 
Posts: 152
In response to "STIF: looking for some sql help" by zork

doing that sort of meta-query in Postgres and MySQL is a bit painful ... but the first part can be easy

SELECT dial_number, count(*) as attempts FROM call_table WHERE call_datetime = '2012-06-11' GROUP BY dial_number HAVING attempts < 3

Responses:
Post a message   top
Replies are disabled on threads older than 7 days.