Could not perform query: Error #1017 => Can't find file: 't' (errno: 2) Query => select distinct t.bandID, b.name from TourDate t, bands as b where (to_days(t.show_date) - to_days(now())) >= 0 and t.bandID = b.band_id order by b.name ascNo proper query Id: level plane records 5.0