DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: simple view

  1. #1
    Join Date
    May 2005
    Location
    Frankfurt
    Posts
    2

    simple view

    Hi guys,
    please don't start laugh but I'm not an SQL developer. I have get a request to create a view which should list user which have completed a renewal of certification. There are two tables involved and user could be in one or in both.
    The variables are equal in both table.
    user_id
    certification_id
    status_id
    I get it work with one table but not with both.
    I would thank you in advance for your help.
    JB

  2. #2
    Join Date
    Nov 2001
    Location
    UK
    Posts
    152
    What is the structure of the two tables involved in the query ? You only seem to have given one here.

  3. #3
    Join Date
    May 2005
    Location
    Frankfurt
    Posts
    2
    I have found what I need. I have created 2 views and created an other one who unioned the result of both.
    cheers

  4. #4
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Why 2 views?
    One view with 2 tables is enough.

    Tamil

Posting Permissions

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


Click Here to Expand Forum to Full Width