基础用法
print语句可以向屏幕上输出指定的文字
例如:
print 'Hello World!'
If you query data and then insert or update related data within the same transaction, the regular SELECT statement does not give enough protection. Other transactions can update or delete the same rows you just queried. InnoDB supports two types of locking reads that offer extra safety:
select ... for shareselect ... for updateIt has the potential to produce a deadlock, depending on the isolation level of the transaction. The opposite of a non-locking read.
...