Infosys Interview Question

String, strin builder,stringbuffer explain Write SQL query