And why that http://db.apache.org/derby/docs/10.5/ref/ref-single.html#rrefsistabs23241 table showing some columns, not defined as primary or foreign keys, appear as primary their?! John