🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #111

join to a table with different values in the same row

#111
From: Isaac
Date: Thu, 05 Jun 2008 22:18
19 lines
1357 bytes
Hello,
I need to make select sql to get me the following

tabl1: inventories
fields: inv_code, inv_name

table2: items
fields: inv_code, item_code, item_name

table3: transfer_items
fields: original_inv_code, item_code, new_inv_code(for new inventory)

as you might guessed this is for transferring items quantities between 
inventories the sql I need is for table3

my question can I display two different inventories names in the same 
row with join ? if not please advice

Thanks
Technical Details
Message-ID: <484865c2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,7e8a00cfc7e3cb68,start
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 06 Jun 2008 01:18:57 +0300
From: Isaac <no@no.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.interbase.sql
Subject: join to a table with different values in the same row
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 41.234.198.84
Message-ID: <484865c2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212704194 41.234.198.84 (5 Jun 2008 15:16:34 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail