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
Posted by
Beryllium (aka grayman)
Jun 11 '12, 14:02
|
SELECT dial_number, count(*) as attempts FROM call_table WHERE call_datetime = '2012-06-11' GROUP BY dial_number HAVING attempts < 3
|
Responses:
|