insert into webmail_address_book (user_id, contact_id, email_address, first_names, last_name, nick) values (:user_id, :contact_id, :email_address, :first_names, :last_name, :nick) update webmail_address_book set email_address = :email_address, first_names = :first_names, last_name = :last_name, nick = :nick where contact_id = :contact_id and user_id = :user_id select * from webmail_address_book where contact_id = :contact_id and user_id = :user_id select nick from webmail_address_book where user_id = :user_id and nick = :nick select nick from webmail_address_book where user_id = :user_id and contact_id <> :contact_id and nick = :nick