Earlier quoted context omitted.
Why did you continue for 20 minutes if it disturbs you so much, little snow flake?
Why did you choose executions over something mundane like blogs or comments? Reading last statements isn't exactly something I want to be distracted by. The data is interesting sure and if this just happened to be based on something you did recently, I get it. It's not something I'd recommend to students doing data science or getting acquainted with SQL when there's less morbid source material out there. The interact…
Show HN: Select Star SQL, an interactive SQL book
81–90 of 121 posts
Re: Show HN: Select Star SQL, an interactive SQL book
#82Building a site for Google Chrome is like building for IE ActiveX back in the day. I'm surprised this isn't the main topic discussed here.If it doesn't work in Firefox, it isn't worth supporting. We need an open web.
Re: Show HN: Select Star SQL, an interactive SQL book
#83Re: Show HN: Select Star SQL, an interactive SQL book
#84Why did you use death sentence cases as data? I've spent around 20 minutes just reading the last words of various executed people. It's... disturbing and distracting.
Re: Show HN: Select Star SQL, an interactive SQL book
#85This is good intiative. We need to simplify pedagogy. On a related note, I always found the syntax of SQL to be great. Someone told me that simplicity of SQL made relational databases even more popular. It is one of the best designed language where even someone new to the field won't feel intimidated. I'm surprised designers of SQL haven't won the Turing Award yet.
I agree except one thing: SELECT cols FROM table. This should really be FROM table SELECT cols as every modern SQL editor will then be able to show you a list of available columns. See LINQ. There they had the opportunity to fix it and it works just great.
Re: Show HN: Select Star SQL, an interactive SQL book
#86Re: Show HN: Select Star SQL, an interactive SQL book
#87Why did you use death sentence cases as data? I've spent around 20 minutes just reading the last words of various executed people. It's... disturbing and distracting.
Re: Show HN: Select Star SQL, an interactive SQL book
#88Re: Show HN: Select Star SQL, an interactive SQL book
#89Re: Show HN: Select Star SQL, an interactive SQL book
#90This is good intiative. We need to simplify pedagogy. On a related note, I always found the syntax of SQL to be great. Someone told me that simplicity of SQL made relational databases even more popular. It is one of the best designed language where even someone new to the field won't feel intimidated. I'm surprised designers of SQL haven't won the Turing Award yet.
I agree except one thing: SELECT cols FROM table. This should really be FROM table SELECT cols as every modern SQL editor will then be able to show you a list of available columns. See LINQ. There they had the opportunity to fix it and it works just great.
However,
SELECT a1,a2,... FROM Table AS t WHERE Condition
is syntactically equivalent to Python list comprehension: [(t.a1,t.a2,...) for t in Table if Condition]
Here the use of attributes (SELECT) is also written before the iterator.SELECT is also analogous to normal loops:
foreach t in Table
if not Condition: continue
# Use t.a1, t.a2 etc.
Here we first provide the loop specification while the usage of elements is written only in the body.