Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Descriptor test
CREATE TABLE person12 ( id integer, first_name VARCHAR(30), last_name VARCHAR(30), las_name VARCHAR(50), descriptor VARCHAR(100) ); INSERT INTO person12 VALUES ('1', 'Ivan', 'Ivanov', 'Ivanovich', null); INSERT INTO person12 VALUES ('2', 'Ivana', 'Ivanova', null, null); INSERT INTO person12 VALUES ('3', 'Ivans', null, 'Ivanovichs', null); INSERT INTO person12 VALUES ('3', null, null, 'Ivanovichs', null); update person12 set descriptor = TRIM(both ' ' from concat(last_name, ' ', first_name, ' ', las_name)); select * from person12
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Ankit
PostreSQL: Left Join
conditionally add “another row” in SQL Server?
Persy_Jackson
1097. Game Play Analysis V
1
Movie Rating SQL Analysis Project
SQL social network practice by Han Wang 20200720 - 2
postgresql: working days
OLA
stackse - search stackoverflow differently
Please log in to post a comment.