Complete the code to select all feedback entries from the feedback table.
SELECT [1] FROM feedback;The asterisk (*) selects all columns from the table.
Complete the code to insert a new feedback comment into the feedback table.
INSERT INTO feedback (user_id, comment) VALUES ([1], 'Great service!');
The user_id is usually a number, so 123 is correct here.
Fix the error in the query to update a feedback comment by id.
UPDATE feedback SET comment = 'Updated comment' WHERE id = [1];
The id is numeric, so it should not be in quotes.
Fill both blanks to select feedback comments with rating greater than 3.
SELECT comment FROM feedback WHERE rating [1] [2];
The condition rating > 3 selects feedback with rating higher than 3.
Fill all three blanks to create a dictionary of user_id to comment for feedback with rating above 4.
SELECT [1], [2] FROM feedback WHERE rating [3] 4;
Select user_id and comment where rating is greater than 4.
