🔍 Tìm kiếm trên Nosomovo Tech

Danh mục: IT Zone

Hàm nối chuỗi trong mysql

Hàm nối chuỗi trong mysql

Để nối chuỗi trong mysql, chúng ta sử dụng hàm CONCAT. CONCAT(‘chuoi_1’, ‘chuoi_2’, ‘…’, ‘chuoi_n’) Ví dụ: CONCAT(‘no’,’so’,’mo’,’vo’) // Ket quả: nosomovo…

Nosomovo

How to get sub string in mysql?

In mysql, to get sub string of the string we use SUBSTRING function. This substring function syntax below: SUBSTRING(string,start_position,length) Example: SUBSTRING(“nosomovo”,3,4) The…