SQL is Structured Query Language, which is a computer language for storing, manipulating and retrieving data stored in a relational database. SQL is the standard language for Relational Database System.
It is a domain-specific language used in programming and designed for managing data held in a relational database management system, or for stream processing in a relational data stream management system.
Sun Trainings is one of the best coaching center in Hyderabad. Join our online training sessions with our real time faculty of Informatica. Practical sessions will also be provided for hands on experience. We provide training courses ideal for software and data management professionals. Our training sessions covers all information from basic to advanced level. Don’t wait anymore and mail your queries on contact@suntrainings.com / (M) 9642434362 .
OUG Harmony 2012 - Using SQL Plan Baselines for Performance TestingMaris Elsins
My presentation (OUG Harmony 2012 in Tallin) on how to use SQL Plan baselines to assess the completeness of testing. I also have a white-paper on this topic, see the whitepapers section.
Learn SAP HANA Administration Training. NBITS provides best Sap HANA Admin Training with real time scenarios for India, USA, USE, Canada, Malaysia, and Bangalore. It can provide online and classroom training by real time industrial expert faculty.
The Query Service is the new platform solution for querying a variety of data sources. The goal of Query Service is that administrators can configure a metadata description of the data source that can then be used by end users without detailed knowledge of the underlying data source. This session explains how to configure Query Service data sources and use them with the RESTful API or component collection.
Sun Trainings is one of the best coaching center in Hyderabad. Join our online training sessions with our real time faculty of Informatica. Practical sessions will also be provided for hands on experience. We provide training courses ideal for software and data management professionals. Our training sessions covers all information from basic to advanced level. Don’t wait anymore and mail your queries on contact@suntrainings.com / (M) 9642434362 .
OUG Harmony 2012 - Using SQL Plan Baselines for Performance TestingMaris Elsins
My presentation (OUG Harmony 2012 in Tallin) on how to use SQL Plan baselines to assess the completeness of testing. I also have a white-paper on this topic, see the whitepapers section.
Learn SAP HANA Administration Training. NBITS provides best Sap HANA Admin Training with real time scenarios for India, USA, USE, Canada, Malaysia, and Bangalore. It can provide online and classroom training by real time industrial expert faculty.
The Query Service is the new platform solution for querying a variety of data sources. The goal of Query Service is that administrators can configure a metadata description of the data source that can then be used by end users without detailed knowledge of the underlying data source. This session explains how to configure Query Service data sources and use them with the RESTful API or component collection.
SQL is a database computer language designed for the retrieval and management of data in a relational database. SQL stands for Structured Query Language. This tutorial will give you a quick start to SQL. It covers most of the topics required for a basic understanding of SQL and to get a feel of how it works.
#saurabhupadhyay
AWS June 2016 Webinar Series - Amazon Redshift or Big Data AnalyticsAmazon Web Services
Analyzing big data quickly and efficiently requires a data warehouse optimized to handle and scale for large datasets. Amazon Redshift is a fast, petabyte-scale data warehouse that makes it simple and cost-effective to analyze big data for a fraction of the cost of traditional data warehouses. By following a few best practices, you can take advantage of Amazon Redshift’s columnar technology and parallel processing capabilities to minimize I/O and deliver high throughput and query performance. This webinar will cover techniques to load data efficiently, design optimal schemas, and tune query and database performance.
Learning Objectives:
Get an inside look at Amazon Redshift's columnar technology and parallel processing capabilities
Learn how to migrate from existing data warehouses, optimize schemas, and load data efficiently
Learn best practices for managing workload, tuning your queries, and using Amazon Redshift's interleaved sorting features
Watch the full webinar at: http://embt.co/1pb4Zb4
This presentation is a must-see for anyone interested in Oracle 12! Dan is an Oracle ACE Director and has assembled this presentation with fresh and inside information from Oracle Corp and OOW13. Dan has pulled his top Oracle 12 features from the plethora of new features available and documented in his user group presentations "Oracle 12c New Features for Developers" and "Oracle 12c New Features for DBA's".
Top 10 features will include:
New SQL Syntax
New SQL and PL/SQL Limits
Pluggable Database
New Packages
Deprecated Features
New SQL Tuning Features
This presentation covers new SQL & PL/SQL syntax and options, the container DB of course, new SQL optimizer features, deprecated features, hints, and more. If you're supporting applications, then you won't want to miss this webinar!
This presentation explains all of the new features that are relevant for developers in Oracle 12c. It's been out for a couple of years, but many companies haven't updated to 12c. So, if you're looking to update soon, or are just interested in what the new features are, look at this presentation.
The full post is available at http://www.completeitprofessional.com/oracle-12c-new-features-for-developers
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.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...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.
SQL is a database computer language designed for the retrieval and management of data in a relational database. SQL stands for Structured Query Language. This tutorial will give you a quick start to SQL. It covers most of the topics required for a basic understanding of SQL and to get a feel of how it works.
#saurabhupadhyay
AWS June 2016 Webinar Series - Amazon Redshift or Big Data AnalyticsAmazon Web Services
Analyzing big data quickly and efficiently requires a data warehouse optimized to handle and scale for large datasets. Amazon Redshift is a fast, petabyte-scale data warehouse that makes it simple and cost-effective to analyze big data for a fraction of the cost of traditional data warehouses. By following a few best practices, you can take advantage of Amazon Redshift’s columnar technology and parallel processing capabilities to minimize I/O and deliver high throughput and query performance. This webinar will cover techniques to load data efficiently, design optimal schemas, and tune query and database performance.
Learning Objectives:
Get an inside look at Amazon Redshift's columnar technology and parallel processing capabilities
Learn how to migrate from existing data warehouses, optimize schemas, and load data efficiently
Learn best practices for managing workload, tuning your queries, and using Amazon Redshift's interleaved sorting features
Watch the full webinar at: http://embt.co/1pb4Zb4
This presentation is a must-see for anyone interested in Oracle 12! Dan is an Oracle ACE Director and has assembled this presentation with fresh and inside information from Oracle Corp and OOW13. Dan has pulled his top Oracle 12 features from the plethora of new features available and documented in his user group presentations "Oracle 12c New Features for Developers" and "Oracle 12c New Features for DBA's".
Top 10 features will include:
New SQL Syntax
New SQL and PL/SQL Limits
Pluggable Database
New Packages
Deprecated Features
New SQL Tuning Features
This presentation covers new SQL & PL/SQL syntax and options, the container DB of course, new SQL optimizer features, deprecated features, hints, and more. If you're supporting applications, then you won't want to miss this webinar!
This presentation explains all of the new features that are relevant for developers in Oracle 12c. It's been out for a couple of years, but many companies haven't updated to 12c. So, if you're looking to update soon, or are just interested in what the new features are, look at this presentation.
The full post is available at http://www.completeitprofessional.com/oracle-12c-new-features-for-developers
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.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...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.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
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.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
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.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
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:
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
SQL - Structured Query Language
1.
2. 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
- GEETIKA
3. INTRODUCTION TO SQL
• 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
- GEETIKA
7. DATA DEFINITION COMMANDS
• EXAMINE SIMPLE DATABASE MODEL AND DATABASE TABLES THAT WILL FORM BASIS FOR MANY SQL
EXAMPLES
• UNDERSTAND DATA ENVIRONMENT
- GEETIKA
9. 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
- GEETIKA
10. 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
- GEETIKA
11. 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
- GEETIKA
13. 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
- GEETIKA
14. CREATING TABLE STRUCTURES
• 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
- GEETIKA
15. 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
- GEETIKA
16. 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 BASISOF ANY
SELECTED ATTRIBUTE
•COMPOSITE INDEX
• INDEX BASED ON TWO OR MORE ATTRIBUTES
• OFTEN USED TO PREVENT DATA DUPLICATION
- GEETIKA
18. ADDING TABLE ROWS
• INSERT
• USED TO ENTER DATA INTO TABLE
• SYNTAX:
• INSERT INTO COLUMNNAME
VALUES (VALUE1, VALUE2, … , VALUEN);
- GEETIKA
19. ADDING TABLE ROWS
•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
- GEETIKA
20. 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
- GEETIKA
21. 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
- GEETIKA
22. 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
- GEETIKA
23. 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- GEETIKA
24. 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
- GEETIKA
25. 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;
- GEETIKA
26. 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 ] ;
- GEETIKA
29. ARITHMETIC OPERATORS:
THE RULE OF PRECEDENCE
• PERFORM OPERATIONS WITHIN PARENTHESES
• PERFORM POWER OPERATIONS
• PERFORM MULTIPLICATIONS AND DIVISIONS
• PERFORM ADDITIONS AND SUBTRACTIONS
- GEETIKA
31. 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
- GEETIKA
32. SPECIAL OPERATORS
• IN
• USED TO CHECK WHETHER ATTRIBUTE VALUE MATCHES ANY VALUE WITHIN A VALUE LIST
• EXISTS
• USED TO CHECK IF SUBQUERY RETURNS ANY ROWS
- GEETIKA
33. 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
- GEETIKA
34. 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
- GEETIKA
35. 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
- GEETIKA
36. ADDING A COLUMN
• USE ALTER TO ADD COLUMN
• DO NOT INCLUDE THE NOT NULL CLAUSE FOR NEW COLUMN
- GEETIKA
37. DROPPING A COLUMN
• USE ALTER TO DROP COLUMN
• SOME RDBMSS IMPOSE RESTRICTIONS ON THE DELETION OF AN ATTRIBUTE
- GEETIKA
39. 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
- GEETIKA
40. 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
- GEETIKA
41. DELETING A TABLE FROM THE DATABASE
• DROP
• DELETES TABLE FROM DATABASE
• SYNTAX:
• DROP TABLE TABLENAME;
- GEETIKA
42. 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
- GEETIKA
51. 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
- GEETIKA
53. 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
- GEETIKA
54. 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
- GEETIKA
55. 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
- GEETIKA
56. SUMMARY
•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
- GEETIKA
57. SUMMARY
• 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
- GEETIKA
58. SUMMARY
• 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
- GEETIKA
59. SUMMARY
• 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
- GEETIKA