Is SQL really this easy :gucci:?

Mr Rager

Leader of the Delinquents
Supporter
Joined
Feb 9, 2014
Messages
15,572
Reputation
5,650
Daps
69,884
Reppin
Mars
I'm at the tail end of a SQL course on Udemy and this shyt is not hard at all :gucci:
The syntax is simple and its in plain english...a lot of these BI and data science gigs emphasis proficiency in SQL...is there something more complex about this language that I'm not aware of? It seems pretty common sense to me.
 

greenvale

Superstar
Supporter
Joined
Aug 1, 2017
Messages
5,994
Reputation
1,920
Daps
23,302
Reppin
Delaware
I'm at the tail end of a SQL course on Udemy and this shyt is not hard at all :gucci:
The syntax is simple and its in plain english...a lot of these BI and data science gigs emphasis proficiency in SQL...is there something more complex about this language that I'm not aware of? It seems pretty common sense to me.
The baseline is pretty easy, but depending on the enterprise/data your processing some of the joins and pivots and shyt can be ridiculous. Stored procedures can get a bit complex too.
 

PikaDaDon

Thunderbolt Them Suckers
Joined
Oct 13, 2012
Messages
9,361
Reputation
2,345
Daps
25,317
Reppin
NULL
If you're using ORMs you don't even need to type in any SQL

Code:
class PersonSchema( int id, string name, int age ) ;

class Person extends Table<PersonSchema>()

transaction = tmySuperEasyORMLibraryThingy.createTable( Person.notjava.className ) ;

transaction.insert( new PersonSchema( whatever, "Bob", 19 ) ) ;
transaction.insert( new PersonSchema( whatever, "James", 22 ) ) ;
transaction.insert( new PersonSchema( whatever, "Barbara", 27 ) ) ;

transaction.delete( "Barbara" ) ;

transaction.update( "James", age++ ) ;

Probably the worst psuedocode ever but you get the point.
 

Takerstani

Extraterrestrial
Supporter
Joined
May 1, 2012
Messages
2,480
Reputation
120
Daps
1,787
I found MySQL to be really straight forward, too. I'd still in the back of my mind fear accidentally irreversibly deleting something, even though it hasn't happened with smaller data sets.
 

Regular Developer

Supporter
Joined
Jun 2, 2012
Messages
8,083
Reputation
1,796
Daps
22,832
Reppin
NJ
Compared to programming in general, I think SQL is pretty simple as far as base use cases. The logic is pretty much set theory. Joins and subqueries, though, can start to get a bit crazy depending on the business rules you need to apply to the data.

So the next step is really what will you be doing with sql. Building for Data Warehousing, building an operational data base, just inserting data into an already created database, or pulling data from an already existing database
 

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,476
Reputation
1,377
Daps
21,142
I've been working with SQL daily for a few years now. It is simple enough to wrap your head around, but I think that one of the hardest parts about querying databases is that just because your query returns results, doesn't mean that the results are correct. There is an additional layer of QA that is necessary for most tasks that catch a lot of incorrect assumptions, bad data, and the likes. Remember that good data is the results of a lot of other processes going smoothly since inception and that is rarely the case.

This isn't to say that you aren't well on your way to becoming a skilled SQL user, but more to say that database work can be a very humbling act.
 
Top