Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Assertion failed with large join #2924

@PThorpe92

Description

@PThorpe92

Another one from of the saga of the larger testing database ™️

  select u.first_name, o.id as order_id, oi.quantity, p.name, r.rating, 
           it.transaction_type, t.ticket_number
    from users u
    left join orders o on u.id = o.user_id
    left join order_items oi on o.id = oi.order_id
    left join products p on oi.product_id = p.id
    left join reviews r on p.id = r.product_id and r.user_id = u.id
    left join inventory_transactions it on p.id = it.product_id
    left join customer_support_tickets t on u.id = t.user_id and o.id = t.order_id
    where u.id <= 3
    limit 10;
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions