MySQL Forums
Forum List  »  PHP

Re: To Join two tables
Posted by: Manuel marques
Date: May 24, 2005 04:55AM

I have 2 tables : TSOFTWARE e LSOFTWARE, that is in attachement.


**************************************************

The TSOFTWARE table has the next fields: ID and Types with the next dates(4 registers):


TSOFTWARE

ID Types

1 Windows Xp
2 Microsoft Office
3 Autocad 2005
4 AntivĂ­rus Mcafee

*****************************************************
The LSOFTWARE table has the next fields: Aplica1, Aplica2, Aplica3 and Aplica4 with the next dates(1 register):


LSOFTWARE

Aplica1 =1; Aplica2 = 3; Aplica3 = 2; Aplica4 = 4;


******************************************************
The values of table LSOFTWARE are the same ones of the ID field of table TSOFTWARE.


I need, with a select, that show on display :

- Aplica1 = 1 => Windows XP
- Aplica2 = 3 => Autocad 2005
- Aplica3 = 2 => Microsoft Office
- Aplica4 = 4 =>AntivĂ­rus Mcafee


Can you help me?


Best regards


Manuel Marques

Options: ReplyQuote


Subject
Written By
Posted
May 24, 2005 01:54AM
Re: To Join two tables
May 24, 2005 04:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.