r/learnprogramming • • May 12 '15

Khan Academy releases new interactive SQL course

1.7k Upvotes

118 comments sorted by

135

u/Masterlyn May 12 '15

Well, I guess it's time for me to go learn SQL

51

u/psyFungii May 12 '15

Do it!

SQL is a great language to know.

  • It's Declarative rather than Imperative (like C#, Java etc). This gets you a step closer to Functional.

  • You see (mostly) instant results so you get great feedback while you're developing a query/procedure. Write/tweak, Alt-X..."ok, let's add the currency"... repeat.

  • You can make people happy. In business, someone always wants to know some random fact about the system. Eg: A client is being audited and wants to know "how many customers did X last month compared to same period last year" or some other one-off query that isn't already built-in or worth developing a full report for. 20 lines and ... "Ta-da" you send them the Excel export of the 736 / 13,073 customers who did.

  • It's strongly-typed, but has the ease-of-use / feel of an uncompiled scripting language. (That said, preparing SQL releases is a whole 'nuther thing)

7

u/rockyrainy May 12 '15

Thank you. It is mostly for database or are there additional uses for it?

10

u/psyFungii May 12 '15 edited May 12 '15

SQL: Structured Query Language is for databases. Microsoft SQL, Oracle, etc all use flavours of it.

But other systems also have "Query Languages", so once you have the hang of one, you get the gist of the others:

WMI (Windows Management Instrumentation) records (or can record) ANYTHING that happens on a Windows PC/Server, has a query language.

ActiveDirectory which controls "Domain" networks, (usually bigger than 2-10 "Workgroup" setups), has a query language.

LINQ (Language Integrated Query) in MS .Net is... well... look at it's name.

LINQ also introduces you to Lambda's where in C# it looks a bit like (pseudocode)

....V this bit, the "=>"

(f => f.IssueDate < "2008-07-01")

And that, a Lambda, is yet another step closer to Functional programming.

*Edit: That is a

  • "Declared" (written)

  • "Function" (if IssuedDate < "2008-07-01")

to be applied to whatever "f" we find, or in SQL: WHERE f.IssuedDate < "2008-07-01"

3

u/[deleted] May 12 '15

It's a programming language for managing data. Don't confuse it with Object oriented programming language like Java and Python.

0

u/[deleted] May 12 '15

[deleted]

10

u/MrPopinjay May 12 '15

SQL is used for asking a database for data. You say "I want data on x and y and z", and the database will work out the best way to get that information, and then return it to you.

With imperative object oriented programming languages (the ones you write applications in) you say "here is some data, now do x and y and z to it", and your compiler will make an application that will do (more or less) exactly as you say.

2

u/tivooo May 12 '15

more or less?

5

u/MrPopinjay May 12 '15

If you're using a compiled language your compiler might do some tricks behind the scenes to make your code faster- i.e. identifying bits that it can skip and get the same result. As far as you're concerned it does exactly what you say.

10

u/zylo4747 May 12 '15

Remember those Ven diagrams you had to do in 8th grade math that you had no idea when you'd actually use it in real life and forgot about? Well, that's how you need to think when working with SQL. It's writing a bunch of statements that represent sets of data and you're joining them together (making circles overlap) to get what you want.

12

u/buckhenderson May 13 '15

at my work, just about everyone has this picture hanging up in their cubicle.

4

u/[deleted] May 13 '15

You know the funny thing is I took stat classes in college, biostats, and then bioinformatics which has some stats math in it in graduate school and I STILL occasionally find myself looking at Ven diagrams on occasion to keep track of it all at times lol. I completely understand why you guys keep stuff like that at every cubicle! haha!

2

u/[deleted] May 14 '15

I need to tattoo this on my arm.

1

u/psyFungii Jul 24 '15

Needs CROSS JOIN

3

u/[deleted] May 13 '15

I am no expert, but I will also attempt to add to put it simply... Object oriented is imperative programming style. It basically is programming that has a specific flow. It has flow, and is typically running things like subroutines (or what you'd call functions or methods). However, declarative is more like say, HTML for the web. It doesn't necessarily have a "FLOW" to it, it has more a directive where the HTML code you added is just telling it where you want something to be. You typically will find most programs written imperatively, because it is easy to manage and break apart, and compartmentalize pieces of the projects, or different actions you want the program to take. That doesn't make a whole lot of sense when dealing with building a database, so you wouldn't need that. You'd need something else, hence, SQL.

Anyway, I am no SQL expert, and I don't even know all the advanced features they are incorporating into these things nowadays, as I hear some of the newer stuff is actually a bit of a hybrid approach, but in regards to imperative vs declarative styles of a programming language, that is kind of how I understand em.

1

u/DQGURU Oct 23 '15

Main use is foundational knowledge of databases, data warehousing, queries, ETL, data analysis skills and eventually into BI. Basically: Get Money.

1

u/rockyrainy Oct 23 '15

I like money, we should be friends..

1

u/DQGURU Oct 23 '15

Do you know informatica? or are a good data analyst? I'm hiring.

2

u/dmce01 May 12 '15

Dumb question -

In your opinion, what should be the order of learning these Declarative languages? VBA -> SQL -> ?

4

u/thisisfor_fun May 12 '15

From someone who is fairly new to it: SQL if you will be directly working with databases, VBA if you will be working with Excel and Access directly. However the way it was described to me was that learning SQL first will make VBA a breeze to learn, it also opens up opportunities outside of the Microsoft sphere.

7

u/[deleted] May 12 '15

If VBA is declarative, it's news to me and I work with MS Office regularly. No, VBA is similar to other scripting languages like Python, Ruby, etc and I'm 97% certain it's imperative.

A declarative language doesn't issue commands like VBA or Java does. It defines a result and then "asks" for it. You can see this in any markup/markdown language (XML, HTML, Wiki syntax), SQL, ML and derivatives, Haskell, Racket and the list goes on and on.

As for which is better to learn first...learn SQL for real, and then "learn" VBA. I just look up the bits I need, it's too inconsistent and limited in use to be worth the effort.

2

u/thisisfor_fun May 12 '15

I should have put a disclaimer that I wanted someone to expand on my answer exactly as you have.

As for which is better to learn first...learn SQL for real, and then "learn" VBA.

This is the advice I have heard from multiple sources.

1

u/vznary May 13 '15

Do you know of any good sources to learn VBA?

2

u/[deleted] Jun 04 '15 edited Sep 30 '16

[deleted]
0.8624

What is this?

2

u/[deleted] May 12 '15

You see (mostly) instant results so you get great feedback while you're developing a query/procedure. Write/tweak, Alt-X..."ok, let's add the currency"... repeat.

By far one of my favorite ways to write anything.

Actually, all of your points are reasons I like SQL.

1

u/Espiritu13 May 29 '15

Do they do testing here? I have worked with SQL for 3 years now (MSSQL and Postgres) and I am very amatuer at best due to a lack of challenges. I have no formal education, but I would like some so that I can understand the tests better.

2

u/psyFungii May 29 '15

No idea. I don't know much about Khan Academy, but I expect they might. If not, I'm sure Google could find you plenty of resources.

Test #1: Put these keywords in the correct order:

GROUP BY, WHERE, SELECT, HAVING, ORDER BY, FROM

If you can do that you're better than 50% of candidates I've seen for a mid-level position!

3

u/Espiritu13 May 29 '15

select

from

where

group by

order by

having

The last two I wasn't sure on because having is usually only used with aggregate functions. But that's how I understand it.

2

u/psyFungii May 29 '15

Fell at the last hurdle, but 4/6, good effort.

ORDER BY is always last.

As you say, HAVING is only applicable when there's a GROUP BY. It effectively becomes the aggregate's WHERE.

Good luck in your SQL travels and PM me if you ever have questions. :)

1

u/Espiritu13 May 29 '15

I'll remember that, though you get a bit lazy when you have error checks on your SQL manager.

36

u/Tyler1986 May 12 '15

Anyone know a good place/way to learn advanced SQL?

I know the basics, the w3schools stuff. I can select all day, join, insert, whatever. But I got sent a screener test for a SQL dev job today and it's way over my head.

21

u/quitelargeballs May 12 '15

The last few exercises in http://sol.gfxile.net/g3/ might be useful to you.

Otherwise I'd check out the (free) Stanford Intro to Databases course - I found it offered a near complete education in SQL. For advanced stuff take a look at the later modules.

6

u/gakule May 12 '15

Are you able to post the questions, or inbox them to me? I can definitely point you in the right direction or help you relate things back to the basics. 'Advanced SQL' can mean a lot of things, programming oriented or more administration oriented? It's easy to be overwhelmed but it's also very likely that you know the fundamentals and just need a push in the right direction.

4

u/opwejt May 12 '15

Not OP but I think I am a bit pass beginner and are having trouble with updating table from another table, optimizing database and triggers

7

u/gakule May 12 '15

When you reference updating tables from other tables, can you give me a specific? Triggers are the old way of doing this, but with SQL Server 2014 (Thanks for the reminder /u/euric) there is something called 'computed columns' that should be the primary way to achieve this going forward.

As for database optimization, http://www.codeproject.com/Articles/34372/Top-steps-to-optimize-data-access-in-SQL-Server is a great guide. The number one thing you can do is learn how to utilize indexes. It's like swapping out a mechanical hard drive for a solid state drive - a simple swap that doesn't require an entire reconfiguration of the server and makes a huge immediate impact on overall performance.

2

u/pohatu May 12 '15

Be aware that in some systems, special systems, getting data is the optimization and indexes make it analyze each row so massively moving data around is way slower of it is indexed. I don't know what the name of this class of system is, but I kbow at NY last job the database was indexed, but the meta-database was not indexed for this reason.

1

u/molon May 12 '15

I'd be interested in this too, I believe I'm already passed the beginner stage

2

u/gakule May 12 '15

1

u/molon May 18 '15

Hi Gakule,

I forgot about your comment until just recently when I about Khan Academy's SQL course again.

Looking through your list I feel I am comfortable with most of the concepts you named, save for begin tran and rollback tran and commit tran( has not come up in the resources I've sued to learn), stored procedures and triggers. Are does more revelant depending on the product that you are using?

As for the administrative side, I know next to nothing. This is where I feel the biggest hurdle lies from me, after learning SQL commands and syntax, I feel like i will forget everything without applying it to something with context.

I'd love to hear your feedback and advice for getting better with SQL and working towards a career in it.

-Molon

3

u/gakule May 18 '15

I'll give you a quick and dirty on the programming side you listed.

Begin/commit/rollback tran: Essentially, the idea is that MSSQL is transaction based (Hence T-SQL being the base of MSSQL). Tran stands for transaction. There exists a way when making modifications to SQL data by hand scripts that could really save your bacon. You can begin a temporary transaction before committing a permanent change to the database and see if you get the desired results.

BEGIN TRAN is used to declare that you wish to begin a transaction that you want to later commit or rollback. Should be used when doing update or delete statements by hand in the query editor window. Execute a begin tran line, execute your update or delete statement, and then query your dataset to ensure you have achieved the desired results.

If you are satisfied with the results, you will want to execute a COMMIT TRAN command. This will commit the transaction as a permanent transaction within the database.

If you are not satisfied with the results, you will want to execute a ROLLBACK TRAN command, which will undo any changes and close out the transaction.

Think of it like an undo feature that you have to invoke.

Stored procedures: Stored procedures (or sprocs) are essentially very long SQL update / insert / delete / select statements that are built within the database itself and able to be invoked within a program, have variables passed into them, and pull data out. The idea is that if you have to do a complicated query, you don't have to type it out in your program. Additionally, you can simply make a modification within the database to return different results instead of having to redeploy an application or make a change in-code. http://www.codeproject.com/Articles/126898/Sql-Server-How-To-Write-a-Stored-Procedure-in-SQL use that resource for some practice.

Triggers: Regarded by some as the most evil thing in the world, and by others as a gift from the programming gods. Triggers have essentially been deprecated, as there are more advanced features that do a better job of doing what they are intended to do - but they are important to know. Triggers are attached to a table, and are 'triggered' based upon certain conditions. Think of them as a conditional stored procedure that you don't have to execute, but happen automatically in the event of an insert, update, or delete. So, for instance, if you update something in one of your data tables, and you want that piece of information to update something somewhere else - you would use a trigger. A lot of times it is used to create a transaction log to keep track of who is updating what information in a table. Say you have a table that holds a bunch of information on your customers. You'd want to see a history of what changes were made if someone were to maliciously delete or change information, and you would want to see who it was. This is a good use of a trigger, but again more advanced and modern features are available as a much better alternative - but triggers are important to understand because you will undoubtedly encounter them at some point especially on legacy systems. http://www.codeproject.com/Articles/25600/Triggers-SQL-Server that is a good resource to learn from.

Administrative Unfortunately I don't have much to offer in the way of guidance on the admin side of things, simply because I learned trial by fire. However, start googling and maybe pick up a book to get started. Do a few installs and follow a guide on what every option in the install process means. Create new database instances and read what every option means. There is a lot to learn and a lot to dig into, and it all is pretty easy to follow once you get going.

I hope all of that helped, please let me know if you have any additional questions!

1

u/molon May 22 '15

Thank you, this did help and I enjoyed the read. Which is easier to install and learn on? SQL server or Oracle? It seems you learn towards MS, correct? I've learned A lot more Java so from what I understand it might be better to learn Oracle?

1

u/gakule May 22 '15

MS has far more resources available but Oracle will pay big money as well.

1

u/wetoij May 13 '15

Would you be so kind to cover sharding? how do you usually shard when using postgres or mysql

3

u/dang_hillary May 12 '15

Really advanced as in real world situations?

I'd say find an open source application that has a db, find a dataset you can massage in there, and figure out what to do with the data.

3

u/Tallain May 12 '15

Find yourself a book, like O'Reilly's Microsoft SQL Server 2012 SQL Fundamentals. It says "fundamentals" but it gives you a very broad base to start from. Also head over to SQL Server Cental, sign up, and look at their Stairway articles. Other than that, the best way to learn is by starting or contributing to a project with SQL.

What kind of questions were on there? That might help in pointing where to go.

2

u/blasto_blastocyst May 13 '15

Usetheindexluke is a great site for understanding optimization and index usage.

Explainextended.com has some really clever uses of SQL to do really tricky stuff.

23

u/RisingBlackHole May 12 '15

I'd really like to have SQL as my career. I took a database class this semester and fell in love with databases. Can anybody tell me how can I make it as my career? What's the work environment like?

20

u/gakule May 12 '15

The way I broke into the career field was by getting into development. This lead to a huge exposure to databases. I picked up a book and read it front yo back. I then took a hop over to doing application support (on the database side) and working with database integrations between various business systems.

Beyond knowing how to build a database, table structures etc, and knowing how to run basic queries - you need to learn how to sift through a new database while looking at an application to find out where you can extract certain pieces of data from. Being able to learn and make sense of database structures, even poorly designed ones, is something I've found isn't a normal 'god-given' ability. I find it surprising how many people in development have very little SQL knowledge and interaction, but at the same time your developers and DBA's being separate were a lot more commonplace until probably the last decade or so.

Important to learn (in my opinion): [Programming-side] insert / update / delete / select queries, BEGIN TRAN AND ROLLBACK TRAN AND COMMIT TRAN!!!!!, joins, proper table structure (primary keys, identities, etc etc), logical naming conventions for tables - stored procedures - triggers - etc, writing and using stored procedures, writing and using triggers, commenting stored procedures and triggers to make things easier for people coming after you to make sense of, writing and understanding cursors, database mail, indexes.

[Administrative-side] database maintenance jobs via the SQL agent, how logging works, different types of recovery modes and what they do, database backup routines via the SQL agent, database mail, indexes, database restore from backup, moving databases to new database server.

There is so much more to learn, but if you feel confident in all of that you have a good jump-start to breaking into it as a career. It might be a daunting list, but start at the beginning of the lists I made and move on to understanding the next. That should (loosely) be a good building block path. Indexes and stuff should probably come in around the proper table structure, though.

0

u/[deleted] May 12 '15

writing and using triggers

No. Use computed columns or change tracking.

5

u/gakule May 12 '15

Those are still fairly new features. Definitely worth learning, but if an application you will be working on is older / made by people who have never utilized or been exposed to those features - you will still need to know and understand triggers. People stuck on developing for SQL Server 2005 won't have either feature, and anyone still on 2008 won't have computed columns if I'm not mistaken. There is a lot of legacy software out there, and companies that refuse to upgrade or can't afford to upgrade. Not knowing triggers will leave you at a disadvantage, while the features you listed I would put in 'more advanced' not the basics.

Good suggestion on other things to learn, though.

4

u/[deleted] May 12 '15

I've lost months of my life to developers using triggers as a crutch to get around shitty app or database design. Ptooey.

I'd rather suggest OP learn how to do scalar functions, constraints, casting, conversion and a couple of other fundamentals over triggers.

And don't ever update or delete unless you're certain your where clause is correct.

4

u/gakule May 12 '15

I've lost months of my life to developers using triggers as a crutch to get around shitty app or database design. Ptooey.

Oh, me too man! I definitely agree that it is no replacement for that. I prefer to use stored procedures myself, personally.

And don't ever update or delete unless you're certain your where clause is correct.

That's why I always advocate selecting with the where and making sure you get the proper results - no matter how sure you are that it is correct!

1

u/[deleted] May 12 '15

I always write my where clause first when writing updates and deletes. I learned this the hard way.

1

u/[deleted] May 12 '15

I've argued this before but sometimes I think you should have to add something to a DELETE or UPDATE statement that affects all rows in order to indicate that, yes, you really do want to delete/update all of them. Something like DELETE FROM x YEPTHATSRIGHTALLOFTHEMIMQUITESURETHANKYOU.

3

u/gakule May 12 '15

BEGIN TRAN

[Nasty delete statement that would screw you for life]

ROLLBACK TRAN

1

u/[deleted] May 12 '15

Now I'm ashamed for not thinking of that.

3

u/gakule May 12 '15

I've conditioned myself to never do anything but select unless it's prefaced with a BEGIN TRAN after a very rookie mistake.. I was trying to trim company names by one under certain circumstances and somehow hit f5 before my where clause was written and I trimmed one letter off every company name in the database. From then on I followed what I call the Select - Begin - Update or Delete - Select - Commit or Rollback order of operations.

5

u/[deleted] May 12 '15

I would also like to know the importance of SQL in today's industries.

16

u/nightlily May 12 '15

Think about all the companies today that are handling a lot of data. They're not all tech companies, but they need a good way to manage that data anyway. This is where SQL comes in. SQL creates a database with custom schema for that company, and allows you to update your database or retrieve information from it. Most of the time you'll be using existing information and querying that. Many interactions on the web are driven by SQL queries. Looking for flights, browsing an online store, or looking for content in a social site like reddit all involve sending requests to a server, that sends its results based on database queries.

9

u/gakule May 12 '15

Exactly right. I once went into my high school to speak to the programming classes about the importance of databases. My old teacher explained that he was having a hard time getting the kids interested in using databases or understanding the importance of them.

I started off by asking the kids to explain what got them interested in programming, and what they are interested in doing with their programming skills - if anything. The overwhelming response was 'I want to make MMO video games' or 'I want to create the next big social media website'. From there I went on to explain how databases drive all of those things and why without them you can't create a functional application to support what they hope to achieve. I also explained that in the time we are living in, 'big data' rules everything. Data drives everything. Data is even also a relatively new booming currency, if you think about it. The more meaningful data a company can collect about something or someone, the more the have the ability to drive marketing campaigns, business decisions, manufacturing processes.. literally everything in the world can have its data captured and utilized to drive some sort of angle for someone. Capture the right data for the right person, and you can become very wealthy.

1

u/serefemme May 12 '15

Data Science is the "IT" technology. Knowing how to organize and analyze that data is important. Not to mention, any sort of form-driven or CMS website is more than likely database-driven. SQL helps you understand the related technologies, as well as how to build those sites.

1

u/ryanknapper May 12 '15

I know a guy who used to work for the US Social Security Administration. If you're in a first-world country there are probably some government positions that maintain and protect some massive and important databases. In the USA, federal government jobs that haven't been outsourced probably have tenure and a pension.

1

u/Cheehos May 12 '15

I work in database marketing and use SQL every day. It's an incredibly useful tool, and when combined with some sort of statistics knowledge, and excel skills, you'll have your pick of well-paying jobs.

21

u/Elethor May 12 '15

I had considered learning SQL, guess now there is no excuse.

19

u/kota1 May 12 '15 edited May 12 '15

Another reason to love khan academy!!

2

u/[deleted] May 12 '15

KHAAAAAAAAAAAN

46

u/[deleted] May 12 '15

Gahh khan academy helped me pass biology and calc i

34

u/NewAnimal May 12 '15

im starting my cs degree this fall, and to get up to speed i had to take college algebra before precal, which goes before calc which i plan to start in the fall. thanks to khanacademy i did well enough on the placement exam to skip alegbra and go straight to precal. saves money, and a month of extra classes i would've had to cram in with a maymester

2

u/[deleted] May 12 '15

Congrats, man. I'm in comp e, which is close to cs but with more electrical engineering classes. You're gunna like the cs field, its been really rewarding for me

1

u/[deleted] May 12 '15

As someone who took college algebra before precalc, its not vital but its VERY helpful. My school does quarters so we have precalc 1/precalc2 and I scored into precalc 2.

I am terrible at math but my knowledge of algebra really helped with formulas in the world of precalc. Just something to keep in mind (not saying keep it in mind, just don't think that it won't bebuseful)

0

u/[deleted] May 12 '15

[deleted]

3

u/[deleted] May 12 '15

Eh. I placed into intermediate algebra. Then, after a few months of Khan academy, placed into Calc I. I got an A in it.

5

u/[deleted] May 12 '15

It really depends on the individual person and how good your high school math is. Most people, in particular those that want to get into CS or engineering should start off in Calc one or precalc and have a manageable time. You don't NEED to take college algebra but I can understand it helps some people.

I'm saying this as someone with 3 years of TA experience and a math degree.

1

u/[deleted] May 12 '15

College math tutor here. Totally agree with you.

We see plenty of people that skim PreCal and would have done better off with Algebra/Trig, and we see people that did Algebra/Trig and would have been fine in PreCal. I personally failed HS math, then used Khan Academy to CLEP through PreCalc. There were rough times in calc because my trig was barely enough to get by but it was doable.

My opinion is that if you would do well in a CS/Math program, you are probably dedicated enough to skip sub-Calc classes and still be able to keep up in Calc and above, assuming you actually know the material.

16

u/Achtelnote May 12 '15

Physics.. They explained shit so well, I was wondering why all the money gets wasted on schools.

6

u/SecondaryLawnWreckin May 12 '15

Exactly. Education has adapted. Most educational institutions have not

-2

u/robi2106 May 12 '15

because there are large unions dedicated to perpetuating the belief that they are necessary, nay, that they are the best and only way to learn.

4

u/blasto_blastocyst May 13 '15

Because the only thing stopping kids learning is that school boards can't pay teachers less.

1

u/robi2106 May 13 '15

an assertion does not mean the opposite is the intended consequence, and vice versa.

3

u/nogoodliar May 12 '15

I took summer school calculus from a teacher with a very thick Asian accent. I learned everything from khan academy that semester and got a B+.

7

u/[deleted] May 12 '15

Coincidentally, I needed to learn the basics of SQL by Friday. Praise Khan.

3

u/[deleted] May 12 '15

Woohoo!

3

u/kamoflash May 12 '15

Honestly I tried khan Academy before and thought it was a bit over rated. I am going to try this because I have been wanting to learn SQL.

I personally really like Educator.com when I was taking all of my math and physics courses because the lectures were all professors with phds and they were clear and concise.

1

u/Jah_Ith_Ber May 30 '15

I tried Khan Academy for math three or four years ago and found it really lacking and unhelpful. I went back a year and a half ago and everything is clicking for me. They have a philosophy of "ship it now and make it good later" that I disagree with.

I went through the SQL course and found it kinda shitty. I used SQL daily for my last job and breezed through most of it, but a couple exercises had me completely stumped and I fault the lessons for that not myself.

2

u/vladtheinpaler May 12 '15

bookmarked, thanks! I actually just made an app that used SQLite, I really wanna learn as much database knowledge as I can

2

u/pohatu May 12 '15

I really hope it gets in to the complicated stuff.

2

u/Will_Power May 12 '15

I think I'll wait for the sequel.

2

u/jamie-livecodingtv May 12 '15

Great resource KA

2

u/overfloaterx May 13 '15

Well hell.

Apparently a recent VBA course gave me a taste for learning again. I've only bookmarked, what... 7 different courses I over the last 10 week? And registered for 4 online education sources.

I'm not going to see the light of day until 2018 at this rate.

Stop being so damn helpful, /r/learnprogramming !!

2

u/theseyeahthese May 12 '15

Awesome bookmarking this

2

u/SolidScorpion May 12 '15

awesome

1

u/RoachOnATree0116 May 12 '15

2

u/SolidScorpion May 13 '15

You sincerely spooked me. I did not expect to see a picture of my dog here

1

u/AMRAAM_Missiles May 12 '15

I just did like the final on SQL like ... 5 days ago...

WHHYYYYYYYYY

1

u/DangerRangerous May 12 '15

Anyone have experience going from NoSQL to SQL? Is SQL basically the "excel spreadsheet" of databases - as in the relational part generally means rows and columns?

1

u/CloseToLightSpeed May 12 '15

Nice! I absolutely love Khan Academy. I was thinking about asking here where I could learn SQL, but I guess I don't have to now.

1

u/metallidog May 12 '15

Nice, it's about time I learned SQL.

1

u/[deleted] May 12 '15

Does anyone know where can one go forward with SQL/plsql knowledge? I am a sql/plsql developer looking to learn something new that can go along with sql/plsql.

1

u/Ravenhaft May 12 '15

Thanks for pointing this out, I just started refreshing myself on SQL yesterday, what a happy coincidence!

1

u/BlakeBurna May 12 '15

I have been waiting for them to do something like this.

1

u/LogicalFailure May 12 '15

Yay for learning

1

u/twocoffeespoons May 12 '15

I was looking for something like this a week ago. All of the SQL tutorials I could find looked like they were designed on Netscape.

This. is. amazing. Thank you so much! :D

1

u/[deleted] May 13 '15

Excuse my ignorance, but is this the same as learning MySQL?

1

u/blasto_blastocyst May 13 '15

No. My SQL is a Relational DataBase Management System (RDBMS) that provides the engine to run a relational database, and the means to run SQL against the data it manages.

SQL will run on a lot of other products from other vendors (e.g. Oracle, Microsoft, Sybase, PostGreSQL)

1

u/supamesican May 13 '15

This is just what I needed! Time to learn sql!

1

u/slrqm Sep 02 '15 edited Aug 22 '16

That's terrible!

1

u/XdrummerXboy May 12 '15

Hmm... Probably would have been useful last semester... But, I'll actually learn something now!

/sarcasm. But for real, this is cool, I love khan academy!

1

u/benkh May 12 '15

Greate! Time to polish my SQL knowledge.

-1

u/op4 May 12 '15

is this windows or linux centric or limited to mysql/maria or is it strictly language based so usable for both sql server/mysql?

1

u/[deleted] May 13 '15

Its sqlite

0

u/[deleted] May 12 '15

[deleted]

6

u/gakule May 12 '15

I learned SQL via a SQL 6 book... in 2009. I learned a LOT that I probably wouldn't have learned otherwise simply due to having to manually do a lot of things back then. It was boring, and I fell asleep a few times at work reading the thing cover to cover, but once I got through it I was better for it.