MySQL is a relational database management system that allows managing many databases simultaneously. Data is stored in tables within databases which can be related. Users communicate with the database using SQL queries like CREATE, SELECT, INSERT, UPDATE and DELETE. Proper user accounts and permissions are important for database security. Fields, tables and databases should be logically named. The mysql client and administration software can be used to execute SQL queries and manage the database.
BITS: Introduction to MySQL - Introduction and InstallationBITS
BITS: Introduction to relational databases and MySQL - Module 1: Introduction and Installation
See
http://www.bits.vib.be/index.php?option=com_content&view=article&id=17204047:green-basics-of-databases&catid=81:training-pages&Itemid=190
BITS: Introduction to MySQL - Introduction and InstallationBITS
BITS: Introduction to relational databases and MySQL - Module 1: Introduction and Installation
See
http://www.bits.vib.be/index.php?option=com_content&view=article&id=17204047:green-basics-of-databases&catid=81:training-pages&Itemid=190
BITS: Introduction to relational databases and MySQL - Schema designBITS
BITS training: Introduction to relational databases and MySQL - Module 3: Schema design.
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17204047:green-basics-of-databases&catid=81:training-pages&Itemid=190
BITS: Introduction to relational databases and MySQL - Schema designBITS
BITS training: Introduction to relational databases and MySQL - Module 3: Schema design.
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17204047:green-basics-of-databases&catid=81:training-pages&Itemid=190
MySql Triggers Tutorial - The Webs Academythewebsacademy
A SQL trigger is a set of SQL statements stored in the database catalog. A SQL trigger is executed or fired whenever an event associated with a table occurs e.g., insert, update or delete.
In today's high technology environment, organizations are becoming more and more dependent on their information systems. The public is increasingly concerned about the proper use of data and information. Most Organizations like banks, airlines, markets, manufactures and universities widely used computer systems to manage, manipulate and process their information. Many of today's most widely used computer systems are database applications, for example, Amazon, which was built on top of MySQL. Database application is involved like everywhere in our world, it touches all aspects of our lives.
A database application is a computer program whose primary purpose is entering and retrieving information from a computerized database. Early examples of database applications were accounting systems and airline reservations systems.
The aim of this course is to explore fundamentals of database application related to MySQL, phpMyAdmin, MySQL command lines, apache server and PHP Maker. It details the relational database principles. It shows how to build and develop database application with web interface.
Upon completion of this course, computer students will have gained knowledge of database application concepts and the ability to:
Must know the basic concepts related relational database application.
Must know how to manage relational database via using MySQL command line and phpMyAdmin.
Must know how to build database application with web interface by using MySQL and PHPMaker.
A combination of lectures and practical sessions will be used in this course in order to achieve the aim of the course.
By MSc. Karwan Mustafa Kareem
A presentation about MySQL for beginners. It includes the following topics:
- Introduction
- Installation
- Executing SQL statements
- SQL Language Syntax
- The most important SQL commands
- MySQL Data Types
- Operators
- Basic Syntax
- SQL Joins
- Some Exercise
This slide will help you to learn dynamic memory allocation, new operator, delete operator, assigning value to pointer, pointer & constant, pointer and constant, constant pointer.
This slide will help you to learn Pointer assignments, Pointer arithmetic,Pointer comparisons, Pointers & arrays, Arrays of pointers, Multiple indirection
Hi friends these array series presentation gives you clear cut knowledge in array in c++ programming, array in c++ tutorial, array in c++ syntax, array in c++ example
in this presentation i will explain you about Statements & block, If Else, ElseI f, Switch, While Loop, For loop, Do while loop, Break & continue in c++
This is the first part of the linux installation on text mode.This presentation contains the snapshot of each and every step of text mode linux installation
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
2. MySql & RDBMS
• MySQL is a Relational Database Management
System (RDBMS).
• server can manage many databases at the same
time.
• In fact many people might have different databases
managed by a single MySQL server.
• Each database consists of a structure to hold the
data and the data itself.
• A database can exist without data.
4. Cont’d ….
• First you create the empty database.
• Then you add empty tables to the database.
• Table is organized with in rows and columns.
• Each row represents an entity in the database
• Each column contains an item of information about
the entity.
• The place where a particular row and column
intersect, the individual cell of the table, is called a
field.
5. Cont’d …..
• Tables in databases can be related.
• Often a row in one table is related to several
rows in another table.
• You include a column in one table to hold data
that matches data in the column of another
table.
7. Communicating with DataBase
• All our interaction with the database is
accomplished by passing messages to the MySQL
server.
• It must be able to understand the instructions that
you send it.
• So we communicate using Structured Query
Language (SQL), which is a standard computer
language understood by most database
management systems
8. Cont’d …..
• To make a request that MySQL can understand,
you build an SQL query and send it to the
MySQL server.
9. Building SQL queries
• The first word of each query is its name name, which is an
action word (a verb) that tells MySQL what we want to do.
• Queries we discuss here:
▫ CREATE
▫ DROP
▫ ALTER
▫ SHOW
▫ INSERT
▫ LOAD
▫ SELECT
▫ UPDATE
▫ DELETE
10. Cont’d ….
• The query name is followed by words and
phrases — some required and some optional —
that tell MySQL how to perform the action.
• For insntace we have to tell the table name to
which we want to insert the data.
11. Don’t forget
• SQL language words in all caps.
• SQL words must be separated by one or more
spaces.
• Put the string within double quote.
12. Sending SQL query
• We can send sql query to do what we desire to do
using:
▫ The mysql client - A text-based mysql client is
automatically installed when we install MYSQL.
▫ Administration software - Separate software
packages that are available can provide a more user-
friendly interface for interacting with MySQL than the
mysql client does.
▫ PHP built in function –we communicate with a
MySQL database from PHP scripts by using PHP built-
in functions designed specifically for this purpose.
13. Using the mysql client
• To send SQL queries to MySQL from the mysql client,
follow these steps:
A. Locate the mysql client(it is in bin of your mysql
directory) we can start it fom Command prompt of
Windows
B. To start command is (mysql -u root -p)
C. If you are in network then you need command (mysql -h
mysqlhost.mycompany.com -u root -p)
D. At the mysql prompt, type your SQL query followed by a
semicolon (;) and then press Enter.
E. To leave the mysql client, type quit at the prompt and
then press Enter.
14. Using Administration software
• To work with mySql using admin software We need
these steps as follow:
A. Open your browser and access the phpMyAdmin
main page.(localhost:Portnumber/phpmyadmin)
B. Click the down arrow in the databases field in the
left pane of the phpMyAdmin page. Click the name
of the database you want to open.
C. Click the SQL link near the top center of the page.
D. Type your SQL query in the text area
E. Click Go below the query text area.
15. Protect Ur DB before hacked
• MySQL accounts: No one can access the data in
your database without an account. Sp protect ur
database with a strong password.
• Permissions: MySQL uses account permissions
to specify who can do what. Differentiate the
tasks using different user name and password
for different tasks.
17. Field
• The individual cell in which a particular row and
column intersect is called a field.
18. Better to be organized
• The table name should clearly identify the
objects that it contains with a descriptive word
or term.
• Column name must speaks about hat will be
filled in it.
• Name of column and table is case sensitive.
• Identify the primary key
20. Creating table
• To cretae table we need CREATE TABLE
command as follows.
CREATE TABLE table_name ( column_name NOT NULL PRIMARY
KEY,
column_name VARCHAR(37) NOT NULL,
column_name VARCHAR(2) NULL );
21. SELECT command
• To fetch / read data we need SELECT command.
• We will search the record and show them using
SELECT command.
SELECT * from employee;
• To search something specific we need WHERE
clause. SELECT * from employee WHERE
designation=‘manager’;
23. ORDER BY
• ORDER BY clause is to ensure that the result set produced by
the query is returned in the specified sequence. Simply,
ORDER BY sorts the results.
• Following the ORDER BY keywords is at least one column
with an optional ASC (ascending) or DESC (descending)
keyword; if neither is specified, ascending is the default.
ORDER BY column [ASC | DESC]
[, column [ASC | DESC]] ⋮
24. INSERT command
• The INSERT statement inserts one or more
rows.
INSERT INTO table name (colm1, colm2, colm3..)
VALUES (valu1,value2,value3,vlaue4);
25. UPDATE command
• The UPDATE DML statement is similar to the ALTER DDL
statement in that it produces a change.
• The difference is that, whereas ALTER changes the
structure of a table, UPDATE changes the data contained
within a table, while the table’s structure remains the same.
UPDATE table_name SET column_name = ‘value’;
UPDATE table_name SET column_name = ‘value’
WHERE column_name=‘value’;
26. DELETE command
• The DELETE DML statement is similar to the DROP DDL
statement, in that it removes objects from the database. The
difference is that DROP removes a table from the
database, while DELETE removes entire rows of data
from a table, but the table continues to exist.
DELETE FROM table_name WHERE
column_name = ‘value’;