UserID
-
Can’t get query to filter based on userID. Here is my code. Please help. Results in 0 records.
SELECT
MAX(IF(field_name=’number-Glucose’, field_value, NULL )) AS ‘Glucose’,
MAX(IF(field_name=’date-glucose’, field_value, NULL )) AS ‘Date1’
FROM wp_cf7dbplugin_submits
WHERE UserID = {{{user_ID}}}
form_name = ‘Blood Glucose’
GROUP BY submit_time
ORDER BY Date1https://www.ads-software.com/plugins/wp-business-intelligence-lite/
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘UserID’ is closed to new replies.