In this case, all you have to do is to wait for your friend to arrive, order something that you want to consume and tell the server that another friend should arrive so they can prepare the table for them as well.
Another important thing that you have to do once you get to the restaurant is to consult the menu and make sure that you know exactly what you want to consume when the server is ready to take your order. Don’t tell them that you are ready to order when you don’t know what you want to eat or drink.