For example:
SELECT MAX(sid) FROM {webform_submission} table0 WHERE table0.uid = 1;
It would be handy to support GROUP BY as well.
SELECT MAX(sid) FROM {webform_submission} table0 WHERE table0.uid = 1 GROUP BY table0.webform_id;
For example:
SELECT MAX(sid) FROM {webform_submission} table0 WHERE table0.uid = 1;
It would be handy to support GROUP BY as well.
SELECT MAX(sid) FROM {webform_submission} table0 WHERE table0.uid = 1 GROUP BY table0.webform_id;
Comments
Comment #3
imclean commentedMin/Max sid is now supported with an optional GROUP BY field.
For example, to retrieve the latest submissions by user 1 of 3 different forms:
Currently it only really makes sense with something like the above example. Grouping by form submission values isn't properly supported.