摘要:
1.同一个表下多次查询: sql语句: select b.* ,(select name from exh_common.medicine_type a where b.p_id = a.id) as p_name from exh_common.medicine_type b; 获取表medici 阅读全文
摘要:
三种主要的写法有: 第一种:if X is None; 第二种:if not X; 当X为None, False, 空字符串"", 0, 空列表[], 空字典{}, 空元组()这些时,not X为真,即无法分辨出他们之间的不同。 第三种:if not X is None; 在Python中,None 阅读全文