<prompt> Kuandika script kuuliza database.Database Habari: Database yenye habari ya mtumiaji  <response>: python Import necessary librariesimport sqlite3 Connect to the databaseconn sqlite3.connectuser_database.dbc conn.cursor Define function to query user informationdef query_user_infouser_id: Create query statement query SELECT FROM user_info WHERE id ? Execute query c.executequery, user_id, Fetch query result result c.fetchall Close the connection conn.close Return query result return result Example queryuser_id 1user_information query_user_infouser_idprintuser_information 