Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 9F4459FBA1C; Mon, 25 Jun 2007 12:28:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 20195-04; Mon, 25 Jun 2007 12:28:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 1188B9FBA27; Mon, 25 Jun 2007 12:28:45 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from randymail-a3.g.dreamhost.com (sd-green-bigip-177.dreamhost.com [208.97.132.177]) by svr4.postgresql.org (Postfix) with ESMTP id 627EB5AF861; Mon, 25 Jun 2007 15:28:45 +0000 (GMT) Received: from [10.37.75.125] (unknown [204.252.154.241]) by randymail-a3.g.dreamhost.com (Postfix) with ESMTP id CA667185AC3; Mon, 25 Jun 2007 08:28:43 -0700 (PDT) Message-ID: <467FDF28.8000108@joshuaneil.com> Date: Mon, 25 Jun 2007 10:28:40 -0500 From: Joshua User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: pgsql-sql@postgresql.org, pgsql-novice@postgresql.org, pgsql-general@postgresql.org Subject: another simple SQL question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.238 tagged_above=0 required=5 tests=AWL=0.237, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/1440 X-Sequence-Number: 116263 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!