SELECT customers.id, customer_operations.created, count(customer_actions.action_type_id) FROM ((customer_operations INNER JOIN customer_actions ON customer_actions.operation_id=customer_operations.id) INNER JOIN customers ON customers.id=customer_operations.customer_id) WHERE customer_actions.action_type_id=302
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter