Results 1 to 2 of 2

Thread: New table as

  1. #1
    Join Date
    Sep 2013
    Posts
    14

    Unanswered: New table as

    SQL> CREATE TABLE Book_Pricing
    2 AS (SELECT ISBN, COST, RETAIL, CATEGORY,
    3 FROM Books);
    ERROR at line 3:
    ORA-00936: missing expression
    help

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Quote Originally Posted by tlhcpuguy View Post
    SQL> CREATE TABLE Book_Pricing
    2 AS (SELECT ISBN, COST, RETAIL, CATEGORY,
    3 FROM Books);
    ERROR at line 3:
    ORA-00936: missing expression
    help

    remove the extraneous comma to the right of "CATEGORY"
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •