Live data from Hacker News

Show HN: SQL Police Department – Learn SQL while solving crimes

sqlpd.com

41–50 of 91 posts

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#41
Pretty cool! One piece of feedback: > An illegal site's servers were siezed in a recent operation. Please submit all users number of posts' details. Please make sure there are no duplicates.

There's no declaration of what attribute should be used for considering distinct users. After guessing it gave a hint to the effect of "there are duplicate Given Name values". This is rather counter intuitive since many people share a given name.

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#42

Here are some other SQL Learning resources I have collected in my note taking TiddlyWiki (mostly from HN itself). Interactive SQL Tutorials : ▪ Chartio Interactive PostgreSQL SQL Tutorial - https://chartio.com/learn/sql/ ▪ Select STAR SQL - https://selectstarsql.com/ ▪ SQL Bolt - Learn SQL with simple, interactive exercises - https://sqlbolt.com/ ▪ SQL Window functions - https://www.windowfunctions.com/ ▪ PostgreSQL…

Great collection thanks! Has anyone used them or have any comment on the difficulty of the sources above?

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#44
post #5

It's great! I would buy a licence but I don't know how many cases do you have altogether?

Currently the first rank is 11 cases, and the second rank is 20 additional cases. The second rank covers WHERE with numbers, strings, dates and timestamps, IN, BETWEEN, AND and OR. Check out the guide tab in the game - it covers everything supported so far. Once you finish that, you go into practice mode where you're randomly asked the same kind of cases like the previous ones.

I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

And the 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#45
post #19

Nice concept but I really hate clicking on the buttons to form my statements... Is it possible to allow typing? Also, not ending my statement with a semicolon feels incomplete.

Yeah, the semicolon bothers me too. I'll see how I can incorporate that in. The clicking around was meant to make life easier on mobile phone users. I'll see if I can add a keyboard support without undermining this.

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#46
post #42

Here are some other SQL Learning resources I have collected in my note taking TiddlyWiki (mostly from HN itself). Interactive SQL Tutorials : ▪ Chartio Interactive PostgreSQL SQL Tutorial - https://chartio.com/learn/sql/ ▪ Select STAR SQL - https://selectstarsql.com/ ▪ SQL Bolt - Learn SQL with simple, interactive exercises - https://sqlbolt.com/ ▪ SQL Window functions - https://www.windowfunctions.com/ ▪ PostgreSQL…

Great collection thanks! Has anyone used them or have any comment on the difficulty of the sources above?

I've used sqlbolt.com! It's great. Very easy to follow and it's interactive. They have a resource for regex: https://regexone.com/, which I've gone through as well!

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#47
post #23

Perhaps I'm missing something but I can't seem to find what I get for my money, what concepts and commands are covered? How many "cases" are there?

Currently the first rank is 11 cases, and the second rank is 20 additional cases. The second rank covers WHERE with numbers, strings, dates and timestamps, IN, BETWEEN, AND and OR. Check out the guide tab in the game - it covers everything supported so far. Once you finish that, you go into practice mode where you're randomly asked the same kind of cases like the previous ones. I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

And the 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#48
post #26

Earlier quoted context omitted.

I agree. I work in Microsoft's SQL Server (incl. variations, e.g. Azure SQL DW) quite a bit. Based on my experience, I am the only person using semicolons in T-SQL.

I always try to use them. It's going to be mandatory says MS: "Although the semicolon isn't required for most statements in this version of SQL Server, it will be required in a future version."

That has been the guidance for a loooooong time.

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#49
post #29

Earlier quoted context omitted.

Everything is randomised, nothing is based real data. It's auto generated from popular first names, last names, changing patterns and random years or numbers attached at the end. Domains are real, but randomised as well.

It's kinda risky in my opinion. I just checked a few of the addresses (mostly the one's without any numbers at the end), some of them do actually belong to real people.

What's the risk? Your email address isn't exactly a secret...

Re: Show HN: SQL Police Department – Learn SQL while solving crimes

#50

Cool concept but the license seems kind of weird to me. 20 bucks for six months? Will anything change in that time? You might want to add a bit of info on what the license gets you.

Thanks! The game is still in development. It covers SELECT, DISTINCT, FROM (with one table), ORDER BY, LIMIT in the free part. After buying a license, WHERE, IN, BETWEEN, AND and OR are also covered. Check out the guide tab in the game - it covers everything supported so far. I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

The 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

Post reply on HN