Database Concepts (7th Edition)
Database Concepts (7th Edition)
7th Edition
ISBN: 9780133544626
Author: David M. Kroenke, David J. Auer
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 3, Problem 3.9RQ
Program Plan Intro

SQL:

  • SQL stands for “Structured Query Language”.
  • The current version of SQL is “ANSI SQL – 92”.
  • 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.
  • It contains constructs which are used to define and process database. They are executed using DBMS-supplied command prompt.
  • Some of the DBMS products provide GUI tools in order to perform tasks are as follows:
    • SQL Server
    • Oracle Database
    • MySQL

Table Creation:

Creating table comes under Data Definition Language (DDL). Syntax for creating table is as follows:

CREATE TABLE TABLE_NAME (

Column1 datatype,

Column2 datatype,

);

Blurred answer
Students have asked these similar questions
Give major types of integrity constraints?
Create a referential integrity constraint on OwnerID in PET. Assume that deletions should not cascade
true /false              The system-defined database used as a template for all “to be created” databases is the tempdb database. The entire contents of this database, including database options, are copied to the new database. Thus, if you modify this database, all databases created afterward will inherit those changes.              OUTER JOIN types return only non-matching tuples.              When we create a primary key (PK) some Database Management Systems (DBMS) automaticallly create a Foreign Key constraint on the attributes of the PK. SQL Server DBMS is one of these DBMSs.              If a relation has more than one candidate key, we can implement this by creating a Primary Key constraint for one of the candidate keys, and a UNIQUE constraint for each and every one of the alternate keys.              Using the Query Editor Window, “select TOP 1000 Rows” retrieves the first 1000 tuples of a relation (assuming that the relation has 1000 or more tuples).              If there is…

Chapter 3 Solutions

Database Concepts (7th Edition)

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
    A Guide to SQL
    Computer Science
    ISBN:9781111527273
    Author:Philip J. Pratt
    Publisher:Course Technology Ptr
    Text book image
    Oracle 12c: SQL
    Computer Science
    ISBN:9781305251038
    Author:Joan Casteel
    Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning