correct tyop
add queries for postgresql.