This is a Shared SQL Query

Shlomi decided to share this query with you.
You can generate, save, and share your own queries easily, too! Click here to get started.

>  Advice for this Query

Your query is private by default, but you can share it if you wish.

Your query is now shared

Do you need help resolving the problems with this query? Here are some resources:

  • If this tool provided bad advice, use the feedback form at left to report a bug.
    Please mention your query ID: #PLUQIJmg.
  • Ask your friends to look at it
  • Paste the link in a forum, such as Percona's performance forums
  • Percona offers expert MySQL support services to help you optimize and rewrite problematic queries. You can contact us as follows:
    • Sales USA +1-888-316-9775 M-F 8-5 Pacific time
    • Sales UK +44-208-133-0309 M-F 8-5 London time