SQL SELECT By Content Lenght

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