BestPromptFinderBelow is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Create a Python function to select all rows from a table where the 'status' is 'approved' ### Input: ### Output: def select_approved_rows(): sql = "SELECT * FROM table WHERE status = 'approved'" cur.execute(sql) return cur.fetchall()Find similar in the app →