delete N.* from Tbl_Nodes N, Data_Tree DT WHERE N.Part = DT.Part
for this command I am getting following error.
System.Data.SQLite.SQLiteException: SQLite error near "N": syntax error
Above command works fine for MSAccess.
Is there any alternative to use table shortcut in Sqlite?
The DELETE statement operates on a single table and does not use a table alias. Therefore, your FROM clause must read
FROM Tbl_Nodes.You’re probably looking for:
Note that this will remove all nodes from Tbl_Nodes that have a corresponding
Partvalue inData_Treebut does not remove any records fromData_Treeitself.While SQL varies somewhat among vendors, as a general principle it’s a mistake to learn SQL from MS Access and try to apply it to other products. MS Access features some very non-standard constructions.