SQLCONCATstringtutorial
What is CONCAT in SQL? String concatenation for beginners
CONCAT means "join strings together". Plain words: three forms (||, CONCAT, CONCAT_WS), how each treats NULL differently, and why CONCAT_WS is the best choice for addresses and names. With tables and common pitfalls.
1 perc olvasásSQL · CONCAT · string · tutorial
Gyakorolj valós feladatokon
Oldj meg feladatokat az SQL-trénerben azonnali értékeléssel és tippekkel.
Tréner megnyitása
CONCATis "join several strings together". Looks impossible to mess up, but SQL has three concatenation forms that handle NULL differently. Inattention leads to "a third of users have NULL full names" bugs.This article is currently in Russian. The full English translation is on the way.