Update a column based on a field from another table

Posted by Sergio on Stack Overflow See other posts from Stack Overflow or by Sergio
Published on 2010-05-17T23:26:13Z Indexed on 2010/05/17 23:30 UTC
Read the original article Hit count: 205

Filed under:
|
|

Hi:

I'd like to update values in one table based on corresponding values from other tables. Say you want to update prices of pieces provided by one specific manufacturer whose name is in the table Manufacturers with the Pieces table containing only the id of the manufacturer.

I've seen several solutions for MySQL here and for MS SQL Server here but none of them seems to work in SQLite.

Any suggestion?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sqlite