I'm sitting here since a while trying to figure out what exactly is Wrong with this SQL query.
It's on Android and it says something is wrong near "From". Actually all Words are sepperated (no space missing at the end of a line. I don't have any other ideas.
SQL - UPDATE Table SET pictureID=SOURCE.belongsTo 
      FROM Table AS TARGET 
      INNER JOIN pictureRelTable SOURCE 
      ON SOURCE._id = TARGET.pictureID 
      WHERE TARGET._id IN ( SELECT childID FROM RelTable WHERE parentID=?) 
      AND SOURCE.belongsTo<>TARGET._id
Thanks in advance, Dornathal
 
     
    