
6 réponses
SELECT
Id,CreatedDate, (field API name)
FROM
( Object name) Where (field API name) != null
ORDER BY
CreatedDate DESC
LIMIT 1
This query gets the last record created date in GMT format and recocrd name. You can also use multiple filed names comma separated.
Hope this Helps :)
Regards,
Athith Dsouza