Hi,
I have a complex query that I place into the SQL section and I get the result "no error", but no results... can DB Plumber take SQL like the following:
SELECT bi.ID,bi.Quantity,bi.Cost, BookingItemGroupID,abi.ActivityID,a.Name,abi.ScheduleID,s.StartDate,s.StartTime
FROM BookingItem bi, CourseBookingItem abi ,Activity a,Schedule s
WHERE bi.ClassName = 'CourseBookingItem' AND bi.ID = abi.ID AND a.ID = abi.ActivityID AND s.ID = abi.ScheduleID
AND bi.BookingItemGroupID IN (
SELECT big.ID FROM BookingItemGroup big
WHERE big.BookingID = (
SELECT ID FROM Booking WHERE OrderRefNumber = 'EGS200006'
)
)
ORDER BY bi.BookingItemGroupID ASC;
And if not, what would the limits be?