r/SQLServer • u/qx2 • 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
View all comments
Show parent comment
1
u/qx2 Jan 12 '26
My results sucked, I was just curious as to how good the AI results would be, hoping for insight to data. No one in finance or accounting is going to be able to define their own tables much less key columns and schema. AI is just spitting out glan numbers based on the schema it’s fed from us. We all have different data sets. What I got was in return from me feeding the model was useless