更新时间:2023-02-04 14:35:40
使用连接
SELECT * FROM table1 LEFT JOIN table2 ON table1.tool_owners_id=table2.tool_owners_id WHERE table1.user_id=1 AND table2.tool_name='hammer'
当涉及两个表时如何检查一行是否存在?
如何在使用python检查是否存在的同时在sqlite3表中插入数据