摘要:
1)、临时表 select * from (select * from tb where id< 10) as B; select id, name, 1, (select count(1) from tb) from tb2 SELECT student_id, (select num from 阅读全文
摘要:
1.信号量(Semaphore)愿意是旗语,控制一个时刻可以多个进程一起访问 被保护的代码(或数据),是锁的升级版本! 以进ktv包房举例: 1 import time, random 2 from multiprocessing import Process, Semaphore 3 4 5 de 阅读全文