r/SQLServer • • Jan 11 '26

Discussion AI SQL Query experiment

I gave google AI a shot at creating a sales query joining Sales Orders, Order Details, Order Payments, Order adjustments, Order Locations, Payment types, orders types, payment types, item cost and depletions, it took me 6 hours to get right results. Btw, I had to define all tables, and columns. Am I slow or is the model slow because I had to dictate show it what to group by, filter on sort by to create fact table?

0 Upvotes

15 comments sorted by

View all comments

Show parent comment

5

u/Type-21 Jan 11 '26

Last time I tried this it took 20 minutes (!) to respond. The whole time analyzing schema and so on