Sql help please!

Qwerty8989

Registered User.
Local time
Today, 14:33
Joined
Oct 17, 2006
Messages
11
Hey

In my database I am wanting to combine two fields within my sql. To ellaborate:

SELECT PLANTEN.PLANTNAAM, PLANTEN.BL_B, PLANTEN.BL_E
FROM PLANTEN;

This results in three columns:

PlantNaam Bl-B BL-E

Tulip 4 7

I am wanting to combine the two columns, BL_B and BL_E via sql so it is displayed as:

Plantnaam flower period (alias)

tulip 4-7

I am just unsure how to do this, perhaps an IIF statement? thankyou =)
 
try this

SELECT PLANTEN.PLANTNAAM, PLANTEN.BL_B & " - " & PLANTEN.BL_E as planten_full
FROM PLANTEN;
 
Thankyou =)
 

Users who are viewing this thread

Back
Top Bottom