$ 0 0 Use correct case for table alias in case of case sensitive collation setting on database. Thanks to Luoti.