Re: Table setup question

2002-12-05 Thread John Coder
On Thu, 2002-12-05 at 14:42, Beauford.2003 wrote: > Adolfo, > > Thanks for the info, but can you elaborate on it, 'cause basically I am just > not getting the concept. No way no how can I get these joins to work. > > mysql> describe songs; (this contains an ID field and the title of the song > a

Re: Table setup question

2002-12-04 Thread Beauford.2003
: "Adolfo Bello" <[EMAIL PROTECTED]> To: "'Beauford.2003'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 4:28 PM Subject: RE: Table setup question > Let's assume you want the entire albums list which the song >

RE: Table setup question

2002-12-04 Thread Adolfo Bello
uld show the all the albums a particular song were on. > (from the example above what would I need to do to show the > album name and song title for song ID # 1 above). > > Sorry if this is long, I just wanted to make sure there is > enough info. > > TIA > > Beauford > > --

Re: Table setup question

2002-12-04 Thread Beauford.2003
MAIL PROTECTED]> Sent: Monday, December 02, 2002 7:33 AM Subject: RE: Table setup question > Try something like > CREATE TABLE album( ida int primary key , title varchar(n) not null ) ; > CREATE TABLE songs( ids intprimary key, song varchar(m) not null ) ; > CREATE TABLE albumsongs

Re: Table setup question

2002-12-03 Thread Beauford.2003
t;[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 7:56 AM Subject: Re: Table setup question > Beauford, > > > OK, I get it now. I thought there would need to be duplication in the > > AlbumSonglist DB. > > =indeed, the process of 'normal

Re: Table setup question

2002-12-03 Thread DL Neil
ks again, Beauford =hope it helps you along your way to MySQL expertise, =dn > - Original Message - > From: "DL Neil" <[EMAIL PROTECTED]> > To: "Beauford.2003" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, December 02, 2002 10:41 AM

RE: Table setup question

2002-12-02 Thread Adolfo Bello
The other difference is that it works (BTW, a huge benefit) Adolfo > -Original Message- > From: Beauford.2003 [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 02, 2002 11:24 AM > To: DL Neil; [EMAIL PROTECTED] > Subject: Re: Table setup question > > > DL,

Re: Table setup question

2002-12-02 Thread Beauford.2003
- From: "DL Neil" <[EMAIL PROTECTED]> To: "Beauford.2003" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 02, 2002 10:41 AM Subject: Re: Table setup question > Beauford, > [please reply to the list - there are always others 'lurking&

Re: Table setup question

2002-12-02 Thread DL Neil
? >? > ? > > > > - Original Message - > From: "DL Neil" <[EMAIL PROTECTED]> > To: "Beauf

RE: Table setup question

2002-12-02 Thread Adolfo Bello
ord.2003 [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 01, 2002 9:59 PM > To: [EMAIL PROTECTED] > Subject: Table setup question > > > Hi, > > I have a database of albums by a group and I want to be able > to search on this table to find out what songs are duplicate

Re: Table setup question

2002-12-02 Thread DL Neil
Hi Beauford, You are on the right track. Yes you should remove the songs to a separate table. If you merely duplicate the first example (below) in two tables you have created a "one-to-many" relationship between the Album table and the Songs table - one album has many songs on it. Your query code

Table setup question

2002-12-01 Thread Beauford.2003
Hi, I have a database of albums by a group and I want to be able to search on this table to find out what songs are duplicated on what albums (there are 36+ albums). The problem is how do I set up the database. Example: Album1 has 3 songs. 1.song, 2.song, 3.song, 4.song Album2 has 4 songs. 4.s

RE: A table setup question.

2002-05-14 Thread Roger Baklund
* "al butler" <[EMAIL PROTECTED]> > I have the MySQL book and I am trying to come to terms on how > to setup a column that is based on another one. > > Let me try and explain. > > Each row has a string (unique) and indexed. > This string is catergorized by anothe column defined as a SET , > le

A table setup question.

2002-05-14 Thread @Basebeans.com
Subject: A table setup question. From: "al butler" <[EMAIL PROTECTED]> === I have the MySQL book and I am trying to come to terms on how to setup a column that is based on another one. Let me try and explain. Each row has a string (unique) and indexed. This string is