mysql - Joining name in SQl -


i new sql , tasked joining first name , last name of actors in mysql.

select first_name ||''|| last_name name actor order actor_id; 

i did not working. string of zeros. like

0 0 0 0 0 0 0 0 0 

if me solve problem. wonderful.

try use concat function

select concat(first_name, last_name) name actor order actor_id; 

further details here


Comments

Popular posts from this blog

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -