SELECT n.id, n.isPrimary, n.isFax, n.phoneNumber, n.extension FROM contact_number n WHERE n.phoneNumber = '212-555-1234'' OR true -- ' ORDER BY n.isPrimary DESC, n.id ASC ;