mysql中first()的等效项是什么,我有以下查询需要转换为mysql查询:
SELECT DISTINCTROW stavke.sifra, First(artikli.naziv) AS naziv, Sum(stavke.ulaz) AS ulaz, Sum(stavke.izlaz) AS izlaz, Sum([stavke].[ulaz]-[stavke].[izlaz]) AS stanje, Sum(stavke.dug) AS duguje, Sum(stavke.pot) AS potrazuje,sum(stavke.dug-stavke.pot) as saldo, First(artikli.grupa) AS grupa, First(artikli.proiz) AS proiz,first(artikli.id) as id FROM artikli INNER JOIN stavke ON artikli.sifra = stavke.sifra where stavke.dat>=" & condition& " and stavke.dat<=" & condition & " GROUP BY stavke.sifra