SQL SELECT BY Content Lhenght

$query = ("SELECT * FROM $db WHERE conditions AND LENGTH(col_name) = 3");
ZigmaS