From: | manchicken <manchicken(at)notsosoft(dot)net> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: another simple SQL question |
Date: | 2007-06-25 17:10:37 |
Message-ID: | 200706251210.37707.manchicken@notsosoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice pgsql-sql |
On Monday 25 June 2007 10:28:40 Joshua wrote:
> 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!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
You may want to consider breaking those out into individual columns. It's
much easier to put those together later on than it is to separate them out.
--
~ manchicken <><
(A)bort, (R)etry, (I)nfluence with large hammer.
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
From | Date | Subject | |
---|---|---|---|
Next Message | Wm.A.Stafford | 2007-06-25 17:30:16 | was is the normal number of postgres.exe? |
Previous Message | Gunther Mayer | 2007-06-25 17:02:42 | Re: minimum function |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua | 2007-06-25 17:44:25 | yet another simple SQL question |
Previous Message | Jean-David Beyer | 2007-06-25 16:40:42 | Re: [SQL] another simple SQL question |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua | 2007-06-25 17:44:25 | yet another simple SQL question |
Previous Message | manchicken | 2007-06-25 17:09:27 | Re: simple SQL question |