Hi All.
How to convert this Select statement to Access query
Code:
select
RequestID
, RequestDate
, Department
, FirstName
, LastName
, TicketNo
, Amount
, DeviceType &' '& Brand & ' '& Model as Device
, Facility & ' ' & Building & ' ' & Wing & cast(Floor as varchar(10)) & '-' & Room as Location
from tblRequests r
left join (
select
DeviceID
, DeviceType
, Brand
, Model
from tblDevices d
left join tblBrands b
on d.BrandID=b.BrandID
left join tblDeviceTypes dt
on d.DeviceTypeID=dt.DeviceTypeID
left join tblModels m
on d.ModelID=m.ModelID) as d
on r.DeviceID=d.DeviceID
left join (
select
LocationID
, Facility
, Building
, Wing
, Floor
, Room
from tblLocations l
left join tblFacilities fa
on l.FacilityID=fa.FacilityID
left join tblBuildings b
on l.BuildingID=b.BuildingID
left join tblWings w
on l.WingID=w.WingID
left join tblFloors fl
on l.FloorID=fl.FloorID) as l
on r.LocationID=l.LocationID
I will appreciate for help. Thanks.