--------------------------------------------------------------------------------
I have a problem concerning a join statement query, the two table are called PublicHouse & PublicHouseBeer, below are the following tables are there attributes;
PublicHouse Table
Expand|Select|Wrap|Line Numbers
- create table "PublicHouse"
- (PublicHouseID char (20),
- PubName Char (20),
- Address varchar (20),
- Town char (20),
- County varchar (20));
Expand|Select|Wrap|Line Numbers
- create table "Brewer"
- (BrewerName char (20),
- Address varchar (20),
- Town char (20),
- County char (20));
Below is my attempt at the query;
Expand|Select|Wrap|Line Numbers
- Select PublicHouse.PublicHouseID, PublicHouseBeer.BeerName, PublicHouse.Address
- From "PublicHouse", "PublicHouseBeer"
- Where (PublicHouse.PublicHouseID = PublicHouseBeer.PublicHouseID)
- AND PublicHouseBeer.BeerName = 'Ten';
Any help would be very much appreciated