- What is the difference between SQL and MySQL?
- What do you mean by DBMS? What are its different types?
- What are the types of joins in SQL? Give an example for each one.
- What is a Primary key?
- What are the different operators available in SQL?
- What is the need for group functions in SQL?
- What is a Relationship and what are they?
Please discuss these questions with your partners and post your answers as a comment on this gist when you are finished.
0- sql is the language that we use to fetch data from the database, and mysql is the database where we store data
1- dbmx is a software systems used to store, retrieve, and run queries on data.
2- we have four types of joins, inner, right, left and full join
(INNER) JOIN: Returns records that have matching values in both tables
LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records from the right table
RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records from the left table
FULL (OUTER) JOIN: Returns all records when there is a match in either left or right table
3- the column or columns that contain values that uniquely identify each row in a table
4-
There's 5 operators
SQL Arithmetic Operators
SQL Bitwise Operators
SQL Comparison Operators
SQL Compound Operators
SQL Logical Operators
5- These functions are useful for summarizing data and providing insights at a higher level.
6-
A relationship between two database tables presupposes that one of them has a foreign key that references the primary key of another table
Rawan Mustafa, Yousra Yaarob, Halwest Abubakir, Ahmed arif