Ignoring tables with no primary key