sql query ..

Results 1 to 2 of 2

Thread: sql query ..

  1. #1
    Join Date
    Dec 1969

    Default sql query ..

    I have 2 tables <BR>table 1 : table2 :<BR>code code description<BR>s001 s001 cd<BR>s002 s001 audio<BR> s002 cd <BR> s002 audio<BR><BR>with a left join query i get the result as <BR>s001<BR>s001 cd<BR>s001 audio<BR>s002 <BR>s002 cd<BR>s002 audio<BR>i.e all rows from first table and all matching rows from second. <BR>I am trying to display the result as<BR><BR>S001<BR>cd audio<BR>s002<BR>cd audio<BR><BR>i hope you get what i am trying to say . Are there any work arounds ?<BR><BR>thnxx<BR>brij <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default ASPFAQs, category Databases, General

    The link to the ASPFAQs is at the top right corner of most every page on this site, including this one.<BR><BR>In this case,<BR>http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=154<BR><BR>

Posting Permissions

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