Use serial datatype for pks
A queries module for running SQL queries