- 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.
SQL is stand for structure query language, and mySql is a database management system where you can manage your data
DBMS means database management system , Relational Database Management System (RDBMS), NoSQL Database Management System,Object-Oriented Database Management System (OODBMS)
inner join, => SELECT employees.name, departments.department_name
FROM employees
INNER JOIN departments ON employees.department_id = departments.department_id;
left join => SELECT customers.name, orders.order_number
FROM customers
LEFT JOIN orders ON customers.customer_id = orders.customer_id;
right join => SELECT orders.order_number, order_items.quantity
FROM orders
RIGHT JOIN order_items ON orders.order_id = order_items.order_id;
full join => SELECT customers.name, orders.order_number
FROM customers
FULL JOIN orders ON customers.customer_id = orders.customer_id;
A Primary key is a unique identifier for each record in a database table.
A. Arithmetic Operators
B. Comparison Operators
C. Logical Operators
D. Concatenation Operator
E. NULL Comparison Operators
F. Pattern Matching Operators
G. IN Operator
H. BETWEEN Operator
I. EXISTS Operator
J. ANY, ALL Operators
K. Assignment Operator
5.Overall, group functions play a crucial role in SQL by enabling us to summarize, analyze, and gain insights from data efficiently, which is essential for decision-making, reporting, and ensuring data integrity.
Ali, Hanan , Shinak, Sarah