file_path
, file_name
이 각각 저장되어 있는데 결과값으로 file_path + file_name
의 값을 배열로 받고 싶다.CONCAT
사용CONCAT
함수는 가변 파라미터를 활용하여 내부의 모든 파라미터를 합친 결과를 반환한다.select CONCAT(file_path, file_name)
from tb_file
where file_seq=2
or
의 뜻을 가진 ||
를 사용하여 쉽게 합성할 수 있다고 한다