postgresql error: parser

wxdqz

New Member
Can anyone explain to me what the following error means:
Error parser: parse error at or near "friend_id"

I typed the following code:
create table friend_info (friend_id char(5), full_name char(100), birth_date date, fav_color char(25), unique friend_id(friend_id));

Please help!
 
Back
Top