SlideShare a Scribd company logo
1 of 4
Download to read offline
Introduction to SQL – Ch 1


                             An Introduction to SQL
1.     What is SQL?
       (i)   SQL is a tool for organizing, managing, & retrieving data stored in a database.
       (ii)    The name "SQL" is the short form of Structured Query Language.
       (iii)   SQL is a computer language that you use to interact with a database.
       (iv)    SQL works with one specific type of database, called relational database.



2.     How does SQL work?
       Consider a computer system that has a database.
       (i)     If the computer system is in a business, the database may store inventory,
               production, sales, or payroll data. On a personal computer, the database might store
               data about the checks you have written, lists of people and their phone numbers, or
               data extracted from a larger computer system.
       (ii)    The computer program that controls the database is called a database management
               system, or DBMS.
       (iii)   When we need to retrieve data from a database, we use the SQL language to make
               the request. The DBMS processes the SQL request, retrieves the requested data,
               and returns it to us.
       (iv)    This process of requesting data from a database and receiving back the results is
               called a database query—hence the name Structured Query Language.

3.     What are the functions of SQL?                OR
       What are the tasks carried out by SQL?
       SQL provides the following facilities / functions:

       (i)     Data definition. SQL lets a user define the structure and organization of the stored
               data and relationships among the stored data items.

       (ii)    Data retrieval. SQL allows a user or an application program to retrieve stored
               data from the database and use it.

       (iii)   Data manipulation. SQL allows a user or an application program to update the
               database by adding new data, removing old data, and modifying previously stored
               data.

       (iv)    Access control. SQL can be used to restrict which users can perform which
               operations on a database. E.g., certain users may be allowed only to retrieve data,
               while others can only add data, and still others may have permission to modify

Prof. Mukesh N. Tekwani                                                                Page 1 of 4
Introduction to SQL – Ch 1

              data. Thus, SQL can prevent unauthorized access.

      (v)     Data sharing. SQL allows many users to share the same data, ensuring that they
              do not interfere with one another.

      (vi)  Data integrity. SQL defines integrity constraints in the database, protecting it from
            corruption due to inconsistent updates or system failures.
4     Is SQL similar to programming languages like C, C++, or Java? Justify (or explain)
      your answer
      SQL stands for Structured Query Language but SQL is not a programming language in the
      same category as C, C++ or Java. This is because:


      (i)     SQL does not contain an “if” statement for testing conditions.
      (ii)    SQL does not have control transfer statement such as the “goto” statement of C
              and C++.
      (iii)   SQL does not have looping structures such as “for” statement.
      (iv)    SQL is strictly speaking, a database sub-language. It contains about 40 statements
              which can be only used for database management tasks.
      (v)     SQL statements can be embedded in programs written in other languages such as
              C, C++, or even in Excel spreadsheet so that it can access a database.
      (vi)    SQL commands can also be sent directly to a database management system for
              processing.
      (vii)   SQL is not structured like high level languages such as C or Java. SQL statements
              look like English sentences and a few words are even added to SQL statements
              only to make them more readable.



5     What is the role of SQL in a database management system?
      (i)   SQL is not a database management system. It is a part of the database management
              software. It is a tool for communicating with the DBMS.
      (ii)    The typical components of a DBMS are Report Writer, database front-end, forms
              facility, and application programs. The heart of the DBMS is the database engine.
              It is responsible for structuring, storing and retrieving data in the database.
      (iii)   The database engine accepts SQL requests from other DBMS components.
      (iv)    SQL can be thought of as the glue that links together the various components of a
              DBMS.

Page 2 of 4                                                              mukeshtekwani@hotmail.com
Introduction to SQL – Ch 1

       (v)      SQL is an interactive query language. Users type SQL commands into an
                interactive SQL program to retrieve data and display it on the screen.
       (vi)     SQL is a database programming language. SQL commands can be put into
                application programs to access the data in a database.
       (vii)    SQL is a database administration language. The database administrator
                responsible for managing a database uses SQL to define the database structure and
                control access to the stored data.
       (viii)   SQL is a client/server language. SQL is sued to communicate over a network with
                database servers that store shared data.
       (ix)     SQL is an Internet data access language. Internet web servers and Internet
                applications servers use SQL for accessing databases.
       (x)      SQL is a distributed database language. In a distributed database, data is spread
                out among many computer systems. SQL is used in such distributed database
                systems. The DBMS software on each system uses SQL to communicate with the
                other systems, sending requests for data access.
       (xi)     SQL is a database gateway language. Computer networks use different DBMS
                products. SQL is used to access data form heterogeneous databases. (i.e., databases
                of different brands).



6      State the major features of SQL OR State the reasons for success of SQL as a
       database language.
       The major features which are responsible for the success of SQL are:
       (i)      Easy to understand and learn; the learning curve is not very steep.
       (ii)     SQL statements look like simple English statements. These statements are easy to
                learn and understand. E.g. SELECT .. FROM .. clause
       (iii)    It is an interactive query language. It is easy to write simple and small queries in
                SQL to access data rather than write complicated programs in a high-level
                programming language.
       (iv)     It can be used with ad-hoc queries. Because of this, data is more accessible.
       (v)      It can be used to programmatically access data. The same SQL statements can be
                used both interactively and through a program to access data in a database.
       (vi)     SQL is a language for relational databases. The row/column structure of a database
                is easy to understand.
Prof. Mukesh N. Tekwani                                                                  Page 3 of 4
Introduction to SQL – Ch 1

      (vii)    SQL is portable among different computer systems. SQL-based computer systems
               can run on different types of computers from mainframe to desktop PCs.
      (viii)   It can offer multiple views of data. The database administrator can offer different
               views of the same database to different users. Data from several databases can be
               combined and presented to the user as a simple row/column table.
      (ix)     SQL is a complete database language. SQL can be used for creating a database,
               updating it, sharing data among users, retrieving data, and managing its security.
      (x)      Using SQL, the structure of a database can be changed and expanded dynamically,
               even while users are accessing database contents. Thus, SQL has a dynamic data
               definition.
      (xi)     It has the client/serer architecture.
      (xii)    SQL permits access to Internet databases.
      (xiii)   It is closely integrated with Java through JDBC (Java Data Base Connectivity).
               Through JDBC, Java programs can use SQL for accessing a database.
      (xiv)    It is vendor independent. All database systems support SQL.
      (xv)     SQL has the support of industry leaders IBM and Microsoft. Through ODBC,
               Microsoft products can access databases.




Page 4 of 4                                                            mukeshtekwani@hotmail.com

More Related Content

What's hot

Steps towards of sql server developer
Steps towards of sql server developerSteps towards of sql server developer
Steps towards of sql server developerAhsan Kabir
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005rainynovember12
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuingGurpreet singh
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of dataDimara Hakim
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functionsfarwa waqar
 
SQL Queries Information
SQL Queries InformationSQL Queries Information
SQL Queries InformationNishant Munjal
 
Relational database management system
Relational database management systemRelational database management system
Relational database management systemPraveen Soni
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)pptGowarthini
 

What's hot (20)

SQL Overview
SQL OverviewSQL Overview
SQL Overview
 
Sq lite module6
Sq lite module6Sq lite module6
Sq lite module6
 
Steps towards of sql server developer
Steps towards of sql server developerSteps towards of sql server developer
Steps towards of sql server developer
 
Using T-SQL
Using T-SQL Using T-SQL
Using T-SQL
 
Introduction to-sql
Introduction to-sqlIntroduction to-sql
Introduction to-sql
 
Ankit
AnkitAnkit
Ankit
 
Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005Optimizing Data Accessin Sq Lserver2005
Optimizing Data Accessin Sq Lserver2005
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuing
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
SQL Queries Information
SQL Queries InformationSQL Queries Information
SQL Queries Information
 
Sq lite module8
Sq lite module8Sq lite module8
Sq lite module8
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
Sql commands
Sql commandsSql commands
Sql commands
 
Sql fundamentals
Sql fundamentalsSql fundamentals
Sql fundamentals
 
Sql - Structured Query Language
Sql - Structured Query LanguageSql - Structured Query Language
Sql - Structured Query Language
 
MySQL and its basic commands
MySQL and its basic commandsMySQL and its basic commands
MySQL and its basic commands
 
Sq lite module5
Sq lite module5Sq lite module5
Sq lite module5
 
Relational database management system
Relational database management systemRelational database management system
Relational database management system
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)ppt
 

Viewers also liked (7)

Sql ch 15 - sql security
Sql ch 15 - sql securitySql ch 15 - sql security
Sql ch 15 - sql security
 
C sharp chap5
C sharp chap5C sharp chap5
C sharp chap5
 
Ajax chap 5
Ajax chap 5Ajax chap 5
Ajax chap 5
 
Perl Chapter 1
Perl Chapter 1Perl Chapter 1
Perl Chapter 1
 
Ajax chap 3
Ajax chap 3Ajax chap 3
Ajax chap 3
 
C sharp chap6
C sharp chap6C sharp chap6
C sharp chap6
 
OSI Model
OSI ModelOSI Model
OSI Model
 

Similar to Sql ch 1

SQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfSQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfNiravPanchal50
 
Database management-system
Database management-systemDatabase management-system
Database management-systemkalasalingam
 
SQL Injection Attacks
SQL Injection AttacksSQL Injection Attacks
SQL Injection AttacksHTS Hosting
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3YOGESH SINGH
 
Database management system
Database management systemDatabase management system
Database management systemRizwanHafeez
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentationkaashiv1
 
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingSQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingUncodemy
 
Dbms & prog lang
Dbms & prog langDbms & prog lang
Dbms & prog langTech_MX
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6kaashiv1
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6kaashiv1
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6kaashiv1
 

Similar to Sql ch 1 (20)

SQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfSQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdf
 
Database management-system
Database management-systemDatabase management-system
Database management-system
 
SQL Injection Attacks
SQL Injection AttacksSQL Injection Attacks
SQL Injection Attacks
 
Sqlite
SqliteSqlite
Sqlite
 
Sq lite
Sq liteSq lite
Sq lite
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
 
Database management system
Database management systemDatabase management system
Database management system
 
DBMS Notes.pdf
DBMS Notes.pdfDBMS Notes.pdf
DBMS Notes.pdf
 
Kaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions PresentationKaashiv SQL Server Interview Questions Presentation
Kaashiv SQL Server Interview Questions Presentation
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
 
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingSQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
 
Database
DatabaseDatabase
Database
 
Dbms & prog lang
Dbms & prog langDbms & prog lang
Dbms & prog lang
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview question part 6
Sql interview question part 6Sql interview question part 6
Sql interview question part 6
 
Ebook6
Ebook6Ebook6
Ebook6
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
Sql interview-question-part-6
Sql interview-question-part-6Sql interview-question-part-6
Sql interview-question-part-6
 
Dbms presentation
Dbms presentationDbms presentation
Dbms presentation
 
Data Base
Data BaseData Base
Data Base
 

More from Mukesh Tekwani

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelMukesh Tekwani
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfMukesh Tekwani
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - PhysicsMukesh Tekwani
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion Mukesh Tekwani
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Mukesh Tekwani
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversionMukesh Tekwani
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion Mukesh Tekwani
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversionMukesh Tekwani
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Mukesh Tekwani
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prismMukesh Tekwani
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surfaceMukesh Tekwani
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomMukesh Tekwani
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesMukesh Tekwani
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEMukesh Tekwani
 

More from Mukesh Tekwani (20)

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube Channel
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdf
 
Circular motion
Circular motionCircular motion
Circular motion
 
Gravitation
GravitationGravitation
Gravitation
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - Physics
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversion
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prism
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surface
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrors
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atom
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lenses
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
 
Cyber Laws
Cyber LawsCyber Laws
Cyber Laws
 
XML
XMLXML
XML
 

Sql ch 1

  • 1. Introduction to SQL – Ch 1 An Introduction to SQL 1. What is SQL? (i) SQL is a tool for organizing, managing, & retrieving data stored in a database. (ii) The name "SQL" is the short form of Structured Query Language. (iii) SQL is a computer language that you use to interact with a database. (iv) SQL works with one specific type of database, called relational database. 2. How does SQL work? Consider a computer system that has a database. (i) If the computer system is in a business, the database may store inventory, production, sales, or payroll data. On a personal computer, the database might store data about the checks you have written, lists of people and their phone numbers, or data extracted from a larger computer system. (ii) The computer program that controls the database is called a database management system, or DBMS. (iii) When we need to retrieve data from a database, we use the SQL language to make the request. The DBMS processes the SQL request, retrieves the requested data, and returns it to us. (iv) This process of requesting data from a database and receiving back the results is called a database query—hence the name Structured Query Language. 3. What are the functions of SQL? OR What are the tasks carried out by SQL? SQL provides the following facilities / functions: (i) Data definition. SQL lets a user define the structure and organization of the stored data and relationships among the stored data items. (ii) Data retrieval. SQL allows a user or an application program to retrieve stored data from the database and use it. (iii) Data manipulation. SQL allows a user or an application program to update the database by adding new data, removing old data, and modifying previously stored data. (iv) Access control. SQL can be used to restrict which users can perform which operations on a database. E.g., certain users may be allowed only to retrieve data, while others can only add data, and still others may have permission to modify Prof. Mukesh N. Tekwani Page 1 of 4
  • 2. Introduction to SQL – Ch 1 data. Thus, SQL can prevent unauthorized access. (v) Data sharing. SQL allows many users to share the same data, ensuring that they do not interfere with one another. (vi) Data integrity. SQL defines integrity constraints in the database, protecting it from corruption due to inconsistent updates or system failures. 4 Is SQL similar to programming languages like C, C++, or Java? Justify (or explain) your answer SQL stands for Structured Query Language but SQL is not a programming language in the same category as C, C++ or Java. This is because: (i) SQL does not contain an “if” statement for testing conditions. (ii) SQL does not have control transfer statement such as the “goto” statement of C and C++. (iii) SQL does not have looping structures such as “for” statement. (iv) SQL is strictly speaking, a database sub-language. It contains about 40 statements which can be only used for database management tasks. (v) SQL statements can be embedded in programs written in other languages such as C, C++, or even in Excel spreadsheet so that it can access a database. (vi) SQL commands can also be sent directly to a database management system for processing. (vii) SQL is not structured like high level languages such as C or Java. SQL statements look like English sentences and a few words are even added to SQL statements only to make them more readable. 5 What is the role of SQL in a database management system? (i) SQL is not a database management system. It is a part of the database management software. It is a tool for communicating with the DBMS. (ii) The typical components of a DBMS are Report Writer, database front-end, forms facility, and application programs. The heart of the DBMS is the database engine. It is responsible for structuring, storing and retrieving data in the database. (iii) The database engine accepts SQL requests from other DBMS components. (iv) SQL can be thought of as the glue that links together the various components of a DBMS. Page 2 of 4 mukeshtekwani@hotmail.com
  • 3. Introduction to SQL – Ch 1 (v) SQL is an interactive query language. Users type SQL commands into an interactive SQL program to retrieve data and display it on the screen. (vi) SQL is a database programming language. SQL commands can be put into application programs to access the data in a database. (vii) SQL is a database administration language. The database administrator responsible for managing a database uses SQL to define the database structure and control access to the stored data. (viii) SQL is a client/server language. SQL is sued to communicate over a network with database servers that store shared data. (ix) SQL is an Internet data access language. Internet web servers and Internet applications servers use SQL for accessing databases. (x) SQL is a distributed database language. In a distributed database, data is spread out among many computer systems. SQL is used in such distributed database systems. The DBMS software on each system uses SQL to communicate with the other systems, sending requests for data access. (xi) SQL is a database gateway language. Computer networks use different DBMS products. SQL is used to access data form heterogeneous databases. (i.e., databases of different brands). 6 State the major features of SQL OR State the reasons for success of SQL as a database language. The major features which are responsible for the success of SQL are: (i) Easy to understand and learn; the learning curve is not very steep. (ii) SQL statements look like simple English statements. These statements are easy to learn and understand. E.g. SELECT .. FROM .. clause (iii) It is an interactive query language. It is easy to write simple and small queries in SQL to access data rather than write complicated programs in a high-level programming language. (iv) It can be used with ad-hoc queries. Because of this, data is more accessible. (v) It can be used to programmatically access data. The same SQL statements can be used both interactively and through a program to access data in a database. (vi) SQL is a language for relational databases. The row/column structure of a database is easy to understand. Prof. Mukesh N. Tekwani Page 3 of 4
  • 4. Introduction to SQL – Ch 1 (vii) SQL is portable among different computer systems. SQL-based computer systems can run on different types of computers from mainframe to desktop PCs. (viii) It can offer multiple views of data. The database administrator can offer different views of the same database to different users. Data from several databases can be combined and presented to the user as a simple row/column table. (ix) SQL is a complete database language. SQL can be used for creating a database, updating it, sharing data among users, retrieving data, and managing its security. (x) Using SQL, the structure of a database can be changed and expanded dynamically, even while users are accessing database contents. Thus, SQL has a dynamic data definition. (xi) It has the client/serer architecture. (xii) SQL permits access to Internet databases. (xiii) It is closely integrated with Java through JDBC (Java Data Base Connectivity). Through JDBC, Java programs can use SQL for accessing a database. (xiv) It is vendor independent. All database systems support SQL. (xv) SQL has the support of industry leaders IBM and Microsoft. Through ODBC, Microsoft products can access databases. Page 4 of 4 mukeshtekwani@hotmail.com