摘要:
sql语句博大精深理解好sql语句,就能用好thinkphp等框架中的数据库操作原sqlSELECT a.*,b.* from (SELECT a.id as opener_id,a.name,sum(c.money) as bonus_money,c.year,c.month from sh_op... 阅读全文
摘要:
语句SELECT a.id as item_id,a.name as item_name,a.intro as item_intro,b.id,b.money FROM sh_incentive_item a left join ( SELECT * FROM `sh_incentive` WHER... 阅读全文