r/SQLServer • • Jul 20 '22

You can practice with AI to learn SQL.

http://app.ai2sql.io/
40 Upvotes

13 comments sorted by

4

u/JohnSpikeKelly Jul 20 '22

That actually looks pretty neat, the few goes I did, gave what looked like correct SQL

1

u/mergisi Jul 20 '22

I am glad you find it useful, Thanks

3

u/rockchalk6782 Jul 20 '22

Just connect it to your data and go nuts!

/s

But seriously that’s pretty cool.

2

u/mergisi Jul 20 '22

That's it! We're working on it. Thank you so much!

2

u/negrolara Jul 21 '22

wow. its really cool!

1

u/mergisi Jul 21 '22

Thanks so much! I'm glad you like it.

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

u/real-x64 Aug 09 '22

How to check the output of the query.