1
回答
sql语句的django实现

现在有这样一条sql语句

想用django自带的model实现,不知如何编写

select * from (select * from api_wifiphone order by datetime desc) as t where wifi_mac='xx:EE:07:0B:9D:xx' group by phone_mac;

举报
王洪旭
发帖于3年前 1回/162阅
顶部