This document provides an introduction to structured query language (SQL). It outlines the basic commands and functions of SQL for data administration and manipulation. SQL functions are divided into two categories: data definition language for creating database objects and tables, and data manipulation language for inserting, updating, deleting, and retrieving data. The document also covers topics such as data types, constraints, indexes, joins, and aggregate functions.
Advanced PLSQL Optimizing for Better PerformanceZohar Elkayam
A Presentation from Oracle Week 2015 in Israel
Agenda:
• Developing PL/SQL:
o Composite Data Types: Records, Collections and Table type
o Advanced Cursors: Ref cursor, Cursor function, Cursor subquery in PL/SQL
o Bulk Binding
o Dynamic SQL – SQL Injection
o Tracing PL/SQL Execution
o Design patterns for PL/SQL: Autonomous Transactions, Invoker and Definer rights, serially_reusable code
o Triggers Improvements
• Compiling PL/SQL:
o PL/SQL Fine-Grain Dependency Management
o PLSQL_OPTIMIZE_LEVEL parameter
o PL/SQL Compile-Time Warnings and Using DBMS_WARNING package
• Tuning PL/SQL:
o Handling Packages in Memory
o Global Temporary Tables
o PL/SQL Function Result Cache and pitfalls
• Oracle Database 12c PL/SQL new features: What is new in Oracle 12c
o Language Usability Enhancements
o New Limitations
• Additional useful features, Tips and Tricks for better performance
Advanced PLSQL Optimizing for Better PerformanceZohar Elkayam
A Presentation from Oracle Week 2015 in Israel
Agenda:
• Developing PL/SQL:
o Composite Data Types: Records, Collections and Table type
o Advanced Cursors: Ref cursor, Cursor function, Cursor subquery in PL/SQL
o Bulk Binding
o Dynamic SQL – SQL Injection
o Tracing PL/SQL Execution
o Design patterns for PL/SQL: Autonomous Transactions, Invoker and Definer rights, serially_reusable code
o Triggers Improvements
• Compiling PL/SQL:
o PL/SQL Fine-Grain Dependency Management
o PLSQL_OPTIMIZE_LEVEL parameter
o PL/SQL Compile-Time Warnings and Using DBMS_WARNING package
• Tuning PL/SQL:
o Handling Packages in Memory
o Global Temporary Tables
o PL/SQL Function Result Cache and pitfalls
• Oracle Database 12c PL/SQL new features: What is new in Oracle 12c
o Language Usability Enhancements
o New Limitations
• Additional useful features, Tips and Tricks for better performance
SQL Training Centre in Ambala ! Batra Computer Centrejatin batra
Batra Computer Centre is An ISO certified 9001:2008 training Centre in Ambala.
We Provide SQL Training in Ambala. BATRA COMPUTER CENTRE provides best training in C, C++, S.E.O, Web Designing, Web Development and So many other courses are available.
SQL Training Centre in Ambala ! Batra Computer Centrejatin batra
Batra Computer Centre is An ISO certified 9001:2008 training Centre in Ambala.
We Provide SQL Training in Ambala. BATRA COMPUTER CENTRE provides best training in C, C++, S.E.O, Web Designing, Web Development and So many other courses are available.
Consists of the explanations of the basics of SQL and commands of SQL.Helpful for II PU NCERT students and also degree studeents to understand some basic things.
Compensation And Benefits (Pay structure)Faisal Anwar
Learn about Compensation And Benefits (Pay structure) in Details but rapidly. A great source of information for those who really want to learn or establish their careers in this area
This is very helpful technical guide to learn the complete process of Payroll in Oracle HRMS pertaining to following steps,
1. Running the Payroll and Reviewing the Results
2. Running the Prepayments,
3. Running the Costing,
4. Transferring the Payroll to General Ledger (GL)
5. Importing the Journals and Posting them
Thanks,
Faisal Anwar
firstfaisal@yahoo.com
+971 555749650
+92 335 0979700
GridMate - End to end testing is a critical piece to ensure quality and avoid...ThomasParaiso2
End to end testing is a critical piece to ensure quality and avoid regressions. In this session, we share our journey building an E2E testing pipeline for GridMate components (LWC and Aura) using Cypress, JSForce, FakerJS…
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!SOFTTECHHUB
As the digital landscape continually evolves, operating systems play a critical role in shaping user experiences and productivity. The launch of Nitrux Linux 3.5.0 marks a significant milestone, offering a robust alternative to traditional systems such as Windows 11. This article delves into the essence of Nitrux Linux 3.5.0, exploring its unique features, advantages, and how it stands as a compelling choice for both casual users and tech enthusiasts.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
2. 2
Objectives
• Explore basic commands and functions of
SQL
• How to use SQL for data administration (to
create tables, indexes, and views)
• How to use SQL for data manipulation (to
add, modify, delete, and retrieve data)
• How to use SQL to query a database to
extract useful information
3. 3
Introduction to SQL
• SQL functions fit into two broad
categories:
– Data definition language
• SQL includes commands to:
– Create database objects, such as tables, indexes, and
views
– Define access rights to those database objects
– Data manipulation language
• Includes commands to insert, update, delete, and
retrieve data within database tables
4. 4
Introduction to SQL (continued)
• SQL is relatively easy to learn
• Basic command set has vocabulary of
less than 100 words
• Nonprocedural language
• American National Standards Institute
(ANSI) prescribes a standard SQL
• Several SQL dialects exist
8. 8
Data Definition Commands
• Examine simple database model and
database tables that will form basis for
many SQL examples
• Understand data environment
10. 10
Creating the Database
• Following two tasks must be completed:
– Create database structure
– Create tables that will hold end-user data
• First task:
– RDBMS creates physical files that will hold
database
– Tends to differ substantially from one RDBMS
to another
11. 11
The Database Schema
• Authentication
– Process through which DBMS verifies that
only registered users are able to access
database
– Log on to RDBMS using user ID and
password created by database
administrator
• Schema
– Group of database objects—such as tables
and indexes—that are related to each
other
12. 12
Data Types
• Data type selection is usually dictated by
nature of data and by intended use
• Pay close attention to expected use of
attributes for sorting and data retrieval
purposes
14. 14
Creating Table Structures
• Use one line per column (attribute)
definition
• Use spaces to line up attribute
characteristics and constraints
• Table and attribute names are capitalized
• NOT NULL specification
• UNIQUE specification
15. 15
Creating Table Structures
(continued)
• Primary key attributes contain both a NOT
NULL and a UNIQUE specification
• RDBMS will automatically enforce
referential integrity for foreign keys
• Command sequence ends with semicolon
16. 16
SQL Constraints
• NOT NULL constraint
– Ensures that column does not accept nulls
• UNIQUE constraint
– Ensures that all values in column are unique
• DEFAULT constraint
– Assigns value to attribute when a new row is added to
table
• CHECK constraint
– Validates data when attribute value is entered
17. 17
SQL Indexes
• When primary key is declared, DBMS
automatically creates unique index
• Often need additional indexes
• Using CREATE INDEX command, SQL
indexes can be created on basis of any
selected attribute
• Composite index
– Index based on two or more attributes
– Often used to prevent data duplication
19. 19
Adding Table Rows
• INSERT
– Used to enter data into table
– Syntax:
• INSERT INTO columnname
VALUES (value1, value2, … , valuen);
20. 20
Adding Table Rows (continued)
• When entering values, notice that:
– Row contents are entered between parentheses
– Character and date values are entered between
apostrophes
– Numerical entries are not enclosed in
apostrophes
– Attribute entries are separated by commas
– A value is required for each column
• Use NULL for unknown values
21. 21
Saving Table Changes
• Changes made to table contents are not
physically saved on disk until, one of the
following occurs:
– Database is closed
– Program is closed
– COMMIT command is used
• Syntax:
– COMMIT [WORK];
• Will permanently save any changes made
to any table in the database
22. 22
Listing Table Rows
• SELECT
– Used to list contents of table
– Syntax:
• SELECT columnlist
FROM tablename;
• Columnlist represents one or more
attributes, separated by commas
• Asterisk can be used as wildcard
character to list all attributes
23. 23
Updating Table Rows
• UPDATE
– Modify data in a table
– Syntax:
• UPDATE tablename
SET columnname = expression [, columname =
expression]
[WHERE conditionlist];
• If more than one attribute is to be updated
in row, separate corrections with commas
24. 24
Restoring Table Contents
• ROLLBACK
– Used to restore database to its previous
condition
– Only applicable if COMMIT command has not
been used to permanently store changes in
database
• Syntax:
– ROLLBACK;
• COMMIT and ROLLBACK only work with
data manipulation commands that are
used to add, modify, or delete table rows
25. 25
Deleting Table Rows
• DELETE
– Deletes a table row
– Syntax:
• DELETE FROM tablename
[WHERE conditionlist ];
• WHERE condition is optional
• If WHERE condition is not specified, all
rows from specified table will be deleted
26. 26
Inserting Table Rows with a
Select Subquery
• INSERT
– Inserts multiple rows from another table
(source)
– Uses SELECT subquery
• Query that is embedded (or nested) inside
another query
• Executed first
– Syntax:
• INSERT INTO tablename SELECT columnlist
FROM tablename;
27. 27
Selecting Rows with
Conditional Restrictions
• Select partial table contents by placing
restrictions on rows to be included in
output
– Add conditional restrictions to SELECT
statement, using WHERE clause
• Syntax:
– SELECT columnlist
FROM tablelist
[ WHERE conditionlist ] ;
30. 30
Arithmetic Operators:
The Rule of Precedence
• Perform operations within parentheses
• Perform power operations
• Perform multiplications and divisions
• Perform additions and subtractions
32. 32
Special Operators
• BETWEEN
– Used to check whether attribute value is
within a range
• IS NULL
– Used to check whether attribute value is null
• LIKE
– Used to check whether attribute value
matches given string pattern
33. 33
Special Operators (continued)
• IN
– Used to check whether attribute value
matches any value within a value list
• EXISTS
– Used to check if subquery returns any rows
34. 34
Advanced Data Definition
Commands
• All changes in table structure are made by
using ALTER command
– Followed by keyword that produces specific
change
– Following three options are available:
• ADD
• MODIFY
• DROP
35. 35
Changing a Column’s Data
Type
• ALTER can be used to change data type
• Some RDBMSs (such as Oracle) do not
permit changes to data types unless
column to be changed is empty
36. 36
Changing a Column’s Data
Characteristics
• Use ALTER to change data characteristics
• If column to be changed already contains
data, changes in column’s characteristics
are permitted if those changes do not alter
the data type
37. 37
Adding a Column
• Use ALTER to add column
– Do not include the NOT NULL clause for new
column
38. 38
Dropping a Column
• Use ALTER to drop column
– Some RDBMSs impose restrictions on the
deletion of an attribute
40. 40
Copying Parts of Tables
• SQL permits copying contents of selected
table columns so that the data need not
be reentered manually into newly created
table(s)
• First create the PART table structure
• Next add rows to new PART table using
PRODUCT table rows
41. 41
Adding Primary and Foreign
Key Designations
• When table is copied, integrity rules do not
copy, so primary and foreign keys need to
be manually defined on new table
• User ALTER TABLE command
– Syntax:
• ALTER TABLE tablename ADD
PRIMARY KEY(fieldname);
• For foreign key, use FOREIGN KEY in place of
PRIMARY KEY
42. 42
Deleting a Table from the
Database
• DROP
– Deletes table from database
– Syntax:
• DROP TABLE tablename;
43. 43
Advanced Select Queries
• SQL provides useful functions that can:
– Count
– Find minimum and maximum values
– Calculate averages
• SQL allows user to limit queries to only
those entries having no duplicates or
entries whose duplicates may be grouped
52. 52
Virtual Tables: Creating a View
• View is virtual table based on SELECT
query
– Can contain columns, computed columns,
aliases, and aggregate functions from one or
more tables
• Base tables are tables on which view is
based
• Create view by using CREATE VIEW
command
54. 54
Joining Database Tables
• Ability to combine (join) tables on common
attributes is most important distinction
between relational database and other
databases
• Join is performed when data are retrieved
from more than one table at a time
• Join is generally composed of an equality
comparison between foreign key and
primary key of related tables
55. 55
Joining Tables with an Alias
• Alias can be used to identify source table
• Any legal table name can be used as alias
• Add alias after table name in FROM
clause
– FROM tablename alias
56. 56
Summary
• SQL commands can be divided into two
overall categories:
– Data definition language commands
– Data manipulation language commands
• The ANSI standard data types are
supported by all RDBMS vendors in
different ways
• Basic data definition commands allow you
to create tables, indexes, and views
57. 57
Summary (continued)
• DML commands allow you to add, modify, and
delete rows from tables
• The basic DML commands are SELECT,
INSERT, UPDATE, DELETE, COMMIT, and
ROLLBACK
• INSERT command is used to add new rows to
tables
• SELECT statement is main data retrieval
command in SQL
58. 58
Summary (continued)
• Many SQL constraints can be used with
columns
• The column list represents one or more
column names separated by commas
• WHERE clause can be used with
SELECT, UPDATE, and DELETE
statements to restrict rows affected by the
DDL command
59. 59
Summary (continued)
• Aggregate functions
– Special functions that perform arithmetic
computations over a set of rows
• ORDER BY clause
– Used to sort output of SELECT statement
– Can sort by one or more columns and use
either an ascending or descending order
• Join output of multiple tables with SELECT
statement
60. 60
Summary (continued)
• Natural join uses join condition to match
only rows with equal values in specified
columns
• Right outer join and left outer join used to
select rows that have no matching values
in other related table