SQL: JOIN, LIKE, бұғаттау (locking)