Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2013
    Posts
    14

    Unanswered: help!!! Please do my homework for me!

    Modify the following SQL command so that the Rep_ID column is the PRIMARY KEY for the
    table and the default value of Y is assigned to the Comm column. (The Comm column
    indicates whether the sales representative earns commission.)
    CREATE TABLE store_reps
    (rep_ID NUMBER(5),
    last VARCHAR2(15),
    first VARCHAR2(10),
    comm CHAR(1) );

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    We won't do your homework for you, but this might help you: http://bit.ly/117GoQ

    Btw: "help!!!" is a very stupid title.
    I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags: http://www.dbforums.com/misc.php?do=bbcode#code

    Tips for good questions:

    http://tkyte.blogspot.de/2005/06/how...questions.html
    http://wiki.postgresql.org/wiki/SlowQueryQuestions
    http://catb.org/esr/faqs/smart-questions.html

  3. #3
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I made the thread title better fit the topic.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

Posting Permissions

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