Hello
I've written the following SQL which works fine;
select members.FIRSTNAME, members.LASTNAME, bookings.REF, bookings.EVENTNO
from members
inner join bookings on members.REF = bookings.REF
I'd like to add one more field from another table. The name of the field is DESC and I had intended it look like this in the statement;
events.DESC
I get an 'incorrect syntax near 'DESC'' error because it is a reserved word. Is there anyway around this except for renaming the field?
Thanks.
I've written the following SQL which works fine;
select members.FIRSTNAME, members.LASTNAME, bookings.REF, bookings.EVENTNO
from members
inner join bookings on members.REF = bookings.REF
I'd like to add one more field from another table. The name of the field is DESC and I had intended it look like this in the statement;
events.DESC
I get an 'incorrect syntax near 'DESC'' error because it is a reserved word. Is there anyway around this except for renaming the field?
Thanks.