Some underrated usage of chatGPT for SQL. 1. Refactoring the syntax from one database into another database. 2. Migrating the tables into a new version or use case. 3. Generating procedure and functions for specific purpose. 4. Optimizing the query or table structure.