i tested chatgpt for sql and pl/sql code optimization and is not working so well. i think the main issue is chatgpt don't know how big the tables are, what kind of data tables contain and how the data is spread, indexes and so on.