Problem query: select pictures.pkey, pfile, linktx, details text, phead from pictures, pages where skey=156980 and pictures.pkey = pages.pkey and pictures.mkey = pages.mkey