Anonymous interview question

Define some functions of java and sql