🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #82555

Re: Wiele do wielu

#82555
From: Borneq
Date: Sun, 16 Aug 2015 08:55
40 lines
1552 bytes
W dniu 16.08.2015 o 10:30, Borneq pisze:
> Jedna książka może mieć wielu autorów, jeden autor wiele książek. Oprócz
> tabel BOOKS i AUTHORS potrzebna tabela BOOKS_AUTHORS, ale jak to będzie
> wyglądało dla:
> book1 - auth1
> book2 - auth2,auth3
> book3 - auth1,auth3
> book4 - auth1,auth4
> book5 - auth2,auth3,auth4
>
> BOOKS ma 5 pozycji , AUTHORS 4 a BOOKS_AUTHORS?

BOOKS
1,book1
2,book2
3,book3
4,book4
5,book5

AUTHORS
1,auth1
2,auth2
3,auth3
4,auth4

BOOKS_AUTHORS
1,1
2,2
2,3
3,1
3,3
4,1
4,4
5,2
5,3
5,4

Coś takiego.
Jak wypełniać BOOKS_AUTHORS za pomocą komponentów DevArt i jak potem 
wyświetlać autorów dla książki?
Technical Details
Message-ID: <mqpj5e$hus$1@node2.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <mqphmf$gio$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Borneq <borneq@antyspam.hidden.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: Wiele do wielu
Date: Sun, 16 Aug 2015 10:55:10 +0200
Organization: ATMAN - ATM S.A.
Lines: 41
Message-ID: <mqpj5e$hus$1@node2.news.atman.pl>
References: <mqphmf$gio$1@node2.news.atman.pl>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1439715310 18396 91.239.205.105 (16 Aug 2015 08:55:10 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Sun, 16 Aug 2015 08:55:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
In-Reply-To: <mqphmf$gio$1@node2.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit