add primary key constraint sql

pre: defining relative
next: free books