CST 363 Week 4 Journal Entry
Summary of what I have learned so far
1. SQL can select items from a table and filter them by using WHERE/HAVING and then group them and order them.
2. Different SQL tables can be joined together if they share a common column. These joining can also be filtered and only choose select columns depending of which join you do.
3. If there is already a table and you have new data you can INSERT new rows to the table and specify what values they are.
4. There are also different kinds of custom tables. There is a view which is a query that is stored in the database that can be used in other queries. Then there is also a Common Table Expression where a table is made and has a single query after it.
5. SQL can also alter stables using CREATE ALTER or DROP. These can make tables, add or fix columns, and then even remove database object. It is a great way to manage database architecture.
Some questions I have are...
1. I understand what normalization does and splitting it up, but is it really necessary? Couldn't the same task be accomplished without needing the extra steps to normalize the table?
2. How is it possible to implement already made files and data like from an excel file to be used in SQL? And then is it possible to make these databases and queries secure and safe from the public?
3. How are the files corporations are using created to be able to be used with SQL? Is it automatically put into a database or is there someone having to manage it all and transferring files?
Comments
Post a Comment