An upper sealing ring and a lower sealing ring are adhered by sealing
solder. The width of tip end of sealing projection is narrower than the
width of the lower sealing ring. Therefore, the sealing solder is placed
on lower sealing ring and on the side surface of upper sealing ring.
Further, an upper connection pad and a lower connection pad are adhered
by connecting solder. The width of a tip end of a connection projection
is narrower than the width of lower connection pad. Therefore, the
connecting solder is placed on the lower connection pad and on the side
surface of upper connection pad. Thus, a package is provided, which
attains satisfactory electrical connection and hermetic seal after solder
joint of the upper and lower substrates.