Jak zdobyć ostatni rząd tabeli w SQL
mysql> select *from getLastRecord ORDER BY id DESC LIMIT 1;
Powerful Puffin
mysql> select *from getLastRecord ORDER BY id DESC LIMIT 1;
Select Distinct names.xyz
From nameList names
LEFT JOIN nameList idNum
ON idNum.xyz > names.xyz AND idNum.xyz IS NOT NULL
WHERE idNum.xyz IS NULL