Okay
  Public Ticket #3236593
SQL Script Error
Closed

Comments

  • Wendy started the conversation

    I get a Error for the following SQL Query

    SELECT horses.`id`,
           horses.`horse_name`,
           concat(horses.owner_firstname, ' ', horses.owner_lastname) as owner,
           horses.`owner_company`,
           horses.`sire`,
           horses.`dam`,
           horses.`damsire`,
           horses.`birth_year`,
           horses.`previous_earnings`,
           horses.`sex`,
           r.totalPoints,
           r.totalEarned
           FROM horses
    LEFT JOIN (Select show_results.horse_id, sum(show_results.points) as totalPoints, sum(show_results.prize) as totalEarned FROM show_results GROUP BY show_results.horse_id) AS r on horses.id = r.horse_id
    ORDER BY horses.horse_name



  •  1,849
    Miloš replied

    Hi, Wendy.

    Sorry for the delay.

    I can see that this is a duplicate ticket, and we already covered this topic in another ticket:

    https://tmsplugins.ticksy.com/ticket/3236575

    For future reference, please don't open multiple tickets with the same topic, as it wastes your and our time trying to either find a response twice (if, for example, my colleague responded on another ticket already) or inform you that the ticket has been submitted more than once.

    We go through tickets in the order in which they are received and/or responded to, so creating multiple tickets will only increase our queue, it will not speed anything up. We try to be as fast as possible, so thank you for your patience.

    If you have any questions or concerns about another topic, please feel free to open a new ticket, and we'll gladly help you out.

    Thank you for your understanding.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Scott replied

    hi Wendy back Mr bill