valueComputed विशेषता का उपयोग करें:
<changeSet author="unknown" id="insert-example-2">
<insert tableName="StudentClassMap">
<column name="studentId" valueComputed="(SELECT sId from StudentMaster where studentName='Jay Parikh')"/>
<column name="studentClass" value="McSc. 1st Year"/>
</insert>
</changeSet>