r/SQLServer • u/mergisi • Jul 20 '22
You can practice with AI to learn SQL.
http://app.ai2sql.io/3
u/rockchalk6782 Jul 20 '22
Just connect it to your data and go nuts!
/s
But seriously that’s pretty cool.
2
2
1
u/CowboyLost55 Jul 21 '22
I would say, prove it. I write some pretty complex sql code to clean data or to integrate data from different systems. So far, never seen any system that can match it
1
u/mergisi Jul 21 '22
I'd love to hear what kinds of problems you're trying to solve.
2
u/CowboyLost55 Jul 21 '22
We work with Epic EHR. They use Cache on back end, basically an array of strings data store. Lot of bad data. So, to clean it on way to data warehouse, I write SQL code to clean the data.
1
u/mergisi Jul 21 '22
I think you write a lot of data convert (date, time) queries, right ?
2
u/CowboyLost55 Jul 21 '22
Actually … that is not the dirty data. We get a lot of duplicate data for entries that are messed up (especially patient movement data). I will create a staging table setting markers using Case statement logic. Then clean the data using those markers to evaluate the data and then merge it into production tables for reporting. That is a simple explanation for it.
2
u/LorenzoValla Jul 21 '22
You can do the opposite as well - learn AI if you're proficient already with SQL.
1
4
u/JohnSpikeKelly Jul 20 '22
That actually looks pretty neat, the few goes I did, gave what looked like correct SQL