Oracle的to_char格式语句放java的String里怎么转
String sql = "select id,name,typename,health,love,to_char(birthday,'YYYY"-"MM"-"DD') from pet2 where owner_ID is null";