MySQL
MySQL is a popular open-source relational database management
system (RDBMS) that is widely used for managing and organizing
data. Developed by Oracle Corporation, MySQL is known for its
performance, reliability, and ease of use. It follows the client-server
model and is a key component of the LAMP (Linux, Apache,
MySQL, PHP /Python/Perl) stack, which is widely used for web
development.
Key features of MySQL include:
Relational Database: MySQL organizes data in tables with rows and
columns, adhering to the principles of a relational database.
SQL Support: It uses Structured Query Language (SQL) for defining
and manipulating the data. This makes it easy for developers to
interact with and manage databases.
Open Source: MySQL is an open-source software, which means its
source code is freely available. This has contributed to its widespread
adoption and continuous community-driven development.
Scalability: MySQL is scalable, allowing users to handle large
amounts of data and support high-traffic websites and applications.
Multi-Platform: MySQL is compatible with various operating
systems, including Linux, Windows, and macOS, making it versatile
for different development environments.
Security: MySQL provides robust security features, including user
authentication, access control, and encryption, to ensure the
confidentiality and integrity of data.
MySQL is used by businesses of all sizes for a wide range of
applications, from small websites to large-scale enterprise systems,
making it one of the most popular relational database management
systems in the world.
54
MySQL Queries
1. To see the data base and use it.
2. To create a table.
55
3. To insert the values in table.
4. To see the description of created table.
56
5. To see the data inserted in table.
6. To update the values of columns.
7. To delete the record/row.
57
8. To use ORDER BY clause.
9. To use DISTINCT clause.
10. To use GROUP BY and COUNT clause.
58
11. To use IN and NOT IN clause.
12. To use AND & OR clause.
59
13. To use IS NULL and IS NOT NULL.
14. To use BETWEEN clause.
60
15. To use LIKE clause.
61
16. To use of ‘sum()’, ‘max()’, ‘min()’,‘avg()’ function.
17. To add column(s) in table.
62
18. To rename the table name.
19. To display length of name.
63
20. To print the name in upper case and lower case.
21. To print some of the letters from left and right side
of name.
64
22. To use mid() and substr() function.
23. To use instr() and concat() function.
65
24. To use some of the numeric function.
66
25. To use Date and Time functions.
67
68