INSERT IGNORE INTO dklog_urls (url) VALUES ('www.nejm.org');

SELECT id FROM dklog_urls WHERE url='www.nejm.org';

INSERT INTO dklog_offsiteclicks (url_id, user_id, click_when) VALUES (85, 0, NOW());