这是我的 php sql 代码如何在 laravel 7 中实现它......请任何人帮助我......
$results = $mysqli->query("SELECT a.ID,a.nm,b.nm as under,IFNULL(a.openingbalance,'0') AS openingbalance,a.drcr,a.bankacno, a.bankifsccode,a.address,a.workphone,a.mobile,a.email,a.contactperson FROM maccountgroup a, maccountgroup b WHERE a.parent_id=b.ID AND a.GL='L' and a.ACTIVE='Y' AND b.natureid = 1 AND a.comp_code = '".$_SESSION['comp_code']."'");
隔江千里