بسم الله الرحمن الرحيم
الخطأ:
الحل:
الخطأ:
كود:
MySQL Error : Column 'filedata' in field list is ambiguous
الحل:
كود:
SUBSTRING(filedata
و
SUBSTRING(attachment.filedata