sql - SQLite delete with table alias -


this question has answer here:

i trying alias table in sqlite, example following command: (it book reading"database management systems ramakrishnan")

delete students s s.sid=12546 

this code gives syntax error. without aliasing, following code works:

delete students sid=12546 

but, if want alias table, should do? can help?

thanks

the delete statement operates on single table , not use table alias. have use query :

delete students sid=12546 

update: sqlite apparently doesn't support joins delete statement, can see on syntax diagrams. in short in sqlite, 1 delete command deletes 1 table. aliasing of no use


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -