Thanks for sharing these steps! I was struggling with setting up virtual hosts on Ubuntu 22.04 for a while, and this guide really helped clear up some confusion. The part about setting the correct permissions and enabling the site was key for me.
By the way, if you’re also looking to set up a database for your projects, you might want to *https://docs.vultr.com/install-apache-kafka-on-ubu... to handle the back-end. It’s pretty straightforward, and combining it with Apache for your virtual hosts gives you a great setup. Appreciate the detailed steps here, I’ll give it a go!
select a.*
from (
select s.*,
row_number() over (partition by `customer_id` order by unit_importance, updated_at desc) rn
from stream s
) a
where a.rn = 1
Единственное, у вас MySQL должен быть 8+ версии. А если 5-ой версии, то ищите аналог оконной функции.