Thanks to visit codestin.com
Credit goes to postgrespro.com

another simple SQL question - Mailing list pgsql-general

Ok here is another simple question from a novice....

Here is what my table looks like

firstname         lastname         fullname
----------       ----------       -----------
                                              smith, john
                                              green, susan
                                              white, jeff


How can I break the fullname field into firstname lastname fields so it
looks like the following:

firstname      lastname      fullname
---------     ---------       ---------
john             smith             smith, john
susan           green             green, susan
jeff               white             white, jeff

Please let me know. Sorry for such simple novice questions, I appreciate
your support.

THANKS!

pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: simple SQL question
Next
From: Adrián Ribao Martínez
Date:
Subject: Move a database from one server to other