sql Flashcards
what is database?
database is a collection of data and a method for accessing and manipulating the data.
databases captures and stores the data so that we can use it.
different databases
there are many databases out there because there are different types of data
and every user every company uses data in a different way.
eg:ibm, oracle, my sql, micreosoft sql server,cassandra etc.
what is dbms
database management system is a software it is a program used to manage database .it receives instructions from somebody like us that wants somthing to do with the data or make changes in it.
what is rdbms
relational data base management system is a subest of database management system they are most useful and most common databases.sql , sql lite. oracle uses this kind od database management system .
sql
structured query language is a way to interact with database mangement system
query
query is a type of instruction. queries are the ways that we are goung to put our questions and to which we want answer from the database
what is heirarchial structure in sql
heirarchial structure has a parent and child node relationship .it has drawbacks and every child can only have one parent, and when you delete a parent node child node will be deleted. child node is directly connected to parent node
what is networking modal
networking modal expanded on to heirarchial modal and allows many to many relationships, child entites could have multiple parents
relational modal
it does’t have parent child relationships it organizes data in tables also called relations
crud
create , read , update ,delete these are the things done by sql.its also going to secure the data.
columns
column stores domain and constrains also called as attributes , for ex : this column has this attributes and the collection of columns is called a degree
rows
rows are also called as tuples . tuple is nothing but a singular row of data .
primary key
primary key uniquely identifies the data.
foreign key
foreign key is a key which references prmary key of a different table
oltp
online transaction process . data of tranmsactions on daily basis.these are the databases driving day to day transaction