Select distinc records from a table column but display all columns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JERRYLEGUER
    New Member
    • Oct 2007
    • 1

    Select distinc records from a table column but display all columns

    I want to create a view that has distinc records of one of the five columns of the view i want to create. The view only takes data from one table.
  • jeenajos
    New Member
    • Oct 2007
    • 71

    #2
    Originally posted by JERRYLEGUER
    I want to create a view that has distinc records of one of the five columns of the view i want to create. The view only takes data from one table.
    Hi
    R u trying to say that u want to create a view with distinct values from a table?
    Then try this:
    Create View viewname as select distinct * from tablename

    Thanks jeen

    Comment

    Working...