I have two tables
First one: Offers
id user_id user_data
The second one: Orders
id user_id
order_data
Now, the goal is, to get the list of the OFFERS including the count of the orders table, where orders.user_id == offers.user_id
the result must be:
id user_id orders_count
Thank you in advance!