Assuming you meant to create the view, then select everything from it, you need two separate statements.
You'll also want to use the proper JOIN syntax, rather than the ancient and obsolete pre-ANSI-92 syntax you've currently got.
CREATE VIEW buy
As
SELECT
Fname,
Lname,
Branch_Name,
Hrs
FROM
customer
INNER JOIN Branch ON Branch.Branch_id = customer.Customer_id2
INNER JOIN Buysfrom ON Buysfrom.Bid = Branch.Branch_id
GO
select *
from buy