Possible Duplicate:
How to enforce a constraint of foreign key on columns of same table in SQL
Table1
Column1 Column2 Column3
1 value 1
2 value 1
3 value 2
here in a same table column 1 is primary key, but column3 value must be from column1. How to create table like this.