If your terrain will be perfectly flat and you never change the value of amount yes. If amount changes then that if will cause you troubles.
You would need to do this.
static int amount = 1;
if (dbCameraPositionY()> amount ||dbCameraPositionY()<amount )
{
dbPositionCamera( dbCameraPositionX(), dbCameraPositionY() - amount, dbCameraPositionZ() );
}
other wise just use a static number. Also you really dont need the < check since you r only gong to be subtracting by 1. Will you even be under ground?
if (dbCameraPositionY()> 1)
{
dbPositionCamera( dbCameraPositionX(), dbCameraPositionY() - 1, dbCameraPositionZ() );
}