Does CONCAT change the database table? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Does CONCAT change the database table?

Does CONCAT change the database columns? So if you did a SHOW columns FROM tablename would you see the newly created column resulting from the CONCAT function? -Thanks

22nd Feb 2020, 8:44 PM
task
1 Antwort
+ 1
No, if you do- SHOW columns FROM table_name; It will display the actual column name which was given to it at the time of table creation. When you use the CONCAT function, it results a temporary change in the column name which is only at the time of display of your result.
22nd Feb 2020, 8:59 PM
Avinesh
Avinesh - avatar