0
0
No-Codeknowledge~20 mins

User feedback collection in No-Code - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Feedback Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
Retrieve all feedback entries submitted in the last 7 days
Given a feedback database table with columns id, user_id, comment, and submitted_at, which query returns all feedback submitted in the last 7 days?
ASELECT * FROM feedback WHERE submitted_at < CURRENT_DATE + INTERVAL '7 days';
BSELECT * FROM feedback WHERE submitted_at >= CURRENT_DATE - INTERVAL '7 days';
CSELECT * FROM feedback WHERE submitted_at <= CURRENT_DATE - INTERVAL '7 days';
DSELECT * FROM feedback WHERE submitted_at > CURRENT_DATE + INTERVAL '7 days';
Attempts:
2 left
💡 Hint
Think about how to select dates from the recent past, not the future.
🧠 Conceptual
intermediate
1:30remaining
Understanding the purpose of a feedback table's user_id column
Why is the user_id column important in a user feedback collection database?
AIt records the date and time when feedback was submitted.
BIt stores the text of the feedback comment.
CIt links feedback to the user who submitted it, enabling personalized follow-up.
DIt counts the total number of feedback entries.
Attempts:
2 left
💡 Hint
Think about how to connect feedback to the person who gave it.
📋 Factual
advanced
1:30remaining
Identify the syntax error in this feedback insertion query
Which option contains a syntax error when inserting a new feedback entry with user_id 5 and comment 'Great app!'?
ANSERT INTO feedback (user_id, comment) VALUES (5, 'Great app!');
BINSERT INTO feedback (user_id, comment) VALUES (5, 'Great app!');
C;)'!ppa taerG' ,5( SEULAV )tnemmoc ,di_resu( kcabdeef OTNI TRESNI
DINSERT INTO feedback user_id, comment VALUES (5, 'Great app!');
Attempts:
2 left
💡 Hint
Check the syntax for specifying columns in an INSERT statement.
optimization
advanced
2:00remaining
Optimize query to count feedback per user efficiently
Which query efficiently counts the number of feedback entries per user?
ASELECT user_id, COUNT(*) FROM feedback GROUP BY user_id;
BSELECT user_id, COUNT(*) FROM feedback;
CSELECT COUNT(user_id) FROM feedback GROUP BY user_id;
DSELECT user_id, COUNT(user_id) FROM feedback WHERE user_id IS NOT NULL;
Attempts:
2 left
💡 Hint
Think about grouping results by user to get counts per user.
🔍 Analysis
expert
2:30remaining
Find the cause of missing feedback entries in query result
A query to select feedback with comments containing 'bug' returns no rows, but there are entries with 'Bug' and 'BUG'. What is the cause?
No-Code
SELECT * FROM feedback WHERE comment LIKE '%bug%';
AThe query is case-sensitive and misses 'Bug' and 'BUG' due to letter case differences.
BThe query syntax is incorrect and causes no results.
CThe feedback table is empty.
DThe LIKE operator does not support wildcards.
Attempts:
2 left
💡 Hint
Consider how SQL handles text matching and case sensitivity.