<prompt> Tengeneza hati ya chatu inayounganishwa na hifadhidata ya PostgreSQL, huunda jedwali la kuhifadhi habari kuhusu filamu kichwa, mwongozaji, mwaka wa kutolewa, na hutoa vipengele vya kuongeza, kusasisha, na kufuta rekodi za filamu. PLINFORMAT  <response>: kuagiza psycopg2def create_table: conn psycopg2.connectdbnameyour_database useryour_user passwordyour_password hostlocalhost port5432 cur conn.cursor cur.executeCREATE TABLE IKIWA HAIPO id SERIAL PRIMARY KEY, title TEXT, director TEXT, release_year INTEGER conn.commit conn.closedef add_moviekichwa, mkurugenzi, mwaka_wa_kutolewa: conn psycopg2.connectdbnameyour_database useryour_user passwordyour_password hostlocalhost port5432 cur conn.cursor cur.executeWEKA INGIA sinema jina, mwongozaji, mwaka_kutolewa VALUES s, s, s, kichwa, mwongozaji, mwaka_wa_kutolewa conn.commit conn.closedef update_moviekitambulisho, kichwa, mkurugenzi, mwaka_wa_kutolewa: conn psycopg2.connectdbnameyour_database useryour_user passwordyour_password hostlocalhost port5432 cur conn.cursor cur.executeUSASISHA filamu SET titles, directors, release_years WHERE ids, kichwa, mwongozaji, mwaka_kutolewa, kitambulisho conn.commit conn.closedef delete_movieid: conn psycopg2.connectdbnameyour_database useryour_user passwordyour_password hostlocalhost port5432 cur conn.cursor cur.executeFUTA KUTOKA KWA sinema WHERE ids, id, conn.commit conn.closecreate_table 