You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE NOT EXISTS(SELECT * FROM qq_player_acc WHERE SteamID='name')' at line 20 ( INSERT INTO qq_player_acc(
Login,
SteamID,
qqCoin,
Rep,
Persons,
PersonsCreate,
DateCreate,
LastVisit)
SELECT
'0 ',
'name',
'50',
'0',
'0',
'2',
'17:14:33 - 09/12/2024',
'17:14:33 - 09/12/2024'
WHERE NOT EXISTS(SELECT * FROM qq_player_acc WHERE SteamID='name');
)
tonumber убирал чтоб получить точное значения под любой тип данных нно все равно nil