DATABASE CONCEPTS CUSTOM
DATABASE CONCEPTS CUSTOM
8th Edition
ISBN: 9780134639864
Author: KROENKE
Publisher: PEARSON C
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 3, Problem 3.1RQ

Explanation of Solution

SQL:

  • The full form of SQL is “Structured Query Language”.
  • SQL is not a programming language. It is text-based and it is also called as data sublanguage.
    • In order to get SQL as a complete programming language, it should be included in scripting languages like Java, C#, and so on.
  • Some of the DBMS (Database Management System) products provide GUI (Graphical User Interface) tools in order to perform tasks are as follows:
    • SQL Server
    • Oracle Database
    • MySQL

Importance of SQL:

  • SQL language is used to work with database like defining and processing it. They are executed using DBMS-supplied command prompt.
  • They can control redundant data and also it can restrict unauthorized access.

SQL Commands:

SQL statements are divided into categories. Some of them are given below:

  • Data Definition Language (DDL):
    • It is used for creating tables and other structures. They perform operations like creating tables, modifying database, and removing database.
  • Data Manipulation Language (DML):
    • This is used for manipulation like querying, inserting, updating, and deleting data.
  • SQL / Persistent Stored Module (SQL / PSM):
    • These are which extended by including procedural programming capabilities like variables and control statements.
  • Transaction Control Language (TCL):
    • These statements are used to control transactions. The commands of TCL are: Commit, Rollback, and Savepoint
  • Data Control Language (DCL):
    • They are used to “grant or revoke” permissions for database.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Given the following addresses, which two addresses conflict in the cache: The numb of locations in the cache is 2048, the cahche is indexed by address bits 15 to 5 and the tag bits are from 31 to 16.  (a) 0x0000 0100 (b) 0x0000 1400 (c) 0x0010 0100 (d) 0x0100 0140
5. RetailItem ClassWrite a class named RetailItem that holds data about an item in a retail store. The class should store the following data in attributes: item description, units in inventory, and price. Once you have written the class, write a program that creates three RetailItem objects and stores the following data in them: Description    Units in Inventory    PriceItem #1    Jacket    12    59.95Item #2    Designer Jeans    40    34.95Item #3    Shirt    20    24.95
Write a class named Patient that has attributes for the following data: First name, middle name, and last name Address, city, state, and ZIP code Phone number Name and phone number of emergency contact The Patient class’s _ _init_ _ method should accept an argument for each attribute. The Patient class should also have accessor and mutator methods for each attribute. Next, write a class named Procedure that represents a medical procedure that has been performed on a patient. The Procedure class should have attributes for the following data: Name of the procedure Date of the procedure Name of the practitioner who performed the procedure Charges for the procedure The Procedure class’s _ _init_ _ method should accept an argument for each attribute. The Procedure class should also have accessor and mutator methods for each attribute. Next, write a program that creates an instance of the Patient class, initialized with sample data. Then, create three instances of the Procedure class,…

Chapter 3 Solutions

DATABASE CONCEPTS CUSTOM

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY