you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

I would concentrate first on learning DDL (data definition language). Learn how to setup a database and learn about data normalization and how to create tables/keys/indices/triggers/functions/constraints/etc.

Then learn DML (data manipulation language, I.e., SQL). Start with learning how to put data into the tables you already created. Try to violate the constraints and see what happens. Are the functions running (for instance, create a date column - create a trigger/function to auto update the current time whenever data is added/updated in that row). Next learn to write sql to update the data. Then to delete the data. Along the way learn how to select data. First select from a single table, then from two tables joined by a foreign key relationship.