hi guys.. i am designing a brand new car database system.. I create entity-relationship model but it seems garbage.i uploaded the model.

When i want select something in database i write lots of absurd codes like
'SELECT
brand_name,model_name,fuel_type,car_type,engine_lt ,price FROM
brand,model,fuel,cartype,engine WHERE
car.brand_id=model.brand_id and
car.model_id=model.model_id and
car.fuel_id=fuel.fuel.id and
car.cartype_id=cartype.cartype_id and
car.engine_id=engine.engine_id; '
Is this right way or are there any easy ways to do that database..?