(1):

(adv.) By what; how; - used interrogatively.

(2):

(adv.) By which; - used relatively.