sql 数据查询

1.数据查询

#select * 查询所有字段 from xad_app_log 从这个表中 where 1=1条件始终成立  and  event_type="xad_impression" 为条件
sql = 'select * from xad_app_log where 1=1 and event_type="xad_impression" and package_name="com.ss.android.article.lite" and ngx_date="%s"' % '20180508'

猜你喜欢

转载自www.cnblogs.com/zhaoyingjie/p/9015999.html