先给表:
如图:表1 phome_ecms_news 里面的:id,classid,newspath,titleurl,title,newstime 等等字段表2phome_ecms_news_data_1 里面有:id,classid,newstext 等等字段
表3phome_ecms_news_index 里面有: id,classid,newstime 等等字段
上面是帝国cms的新闻栏目的数据库。
如果用python采集了数据。
想直接用mysql语句入库。
应该怎么写这样的mysql语句? 只会写插入一个表的语句。一条信息同时插入三个表,而且里面有一个phome_ecms_news 里面的titleurl 是  栏目名 /年月日/id.html 如: /xxx/2017-12-01/2.html 这样的形式。不知怎么样处理好?