Infosys Interview Question

How Binary search works? Few easy SQL and Java questions.