Results 1 to 2 of 2

Thread: SQL (how to?)

  1. #1
    Join Date
    Oct 2003
    Location
    santa clara
    Posts
    25

    Unanswered: SQL (how to?)

    Can I insert into a new table information from a query like below?

    Insert into mytable (field1) values (select distinct field1 from table1)

    I keep getting a syntax error. How can I get this query to work?

    thanks.

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    drop the "values" part. Values is used when inserting one row of static values.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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