another simple SQL question

Поиск
Список
Период
Сортировка
От Joshua
Тема another simple SQL question
Дата
Msg-id 467FDF28.8000108@joshuaneil.com
обсуждение исходный текст
Ответы Re: another simple SQL question
Re: [SQL] another simple SQL question
Список 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 по дате отправления: