CREATE TABLE AS - ️️Creates a new table based on a query in the user's
database schema
SELECT Syntax - ️️Command to list the content
SELECT columnlist FROM tablename;
Data definition language - ️️DDL
Data manipulation language - ️️DML
CREAT SCHEMA AUTHORIZATION - ️️Creates...
UTA INSY 3304 - Exam 2 - Chapter 7&9
CREATE TABLE AS - ✔️✔️Creates a new table based on a query in the user's
database schema
SELECT Syntax - ✔️✔️Command to list the content
SELECT columnlist FROM tablename;
Data definition language - ✔️✔️DDL
Data manipulation language - ✔️✔️DML
CREAT SCHEMA AUTHORIZATION - ✔️✔️Creates a database schema
CREATE TABLE - ✔️✔️Creates a new table in the user's databse schema
NOT NULL - ✔️✔️Ensures that a column will not have null values
UNIQUE - ✔️✔️Ensures that a column will not have duplicate values
PRIMARY KEY - ✔️✔️Defines a primary key for a table
FOREIGN KEY - ✔️✔️Defines a foreign key for a table
DEFAULT - ✔️✔️Defines a default value for a column ( when no value is give)
CHECK - ✔️✔️validates data in an attribute
CREATE INDEX - ✔️✔️Creates an index for a table
CREATE VIEW - ✔️✔️Creates a dynamic subset of rows and column from on or more
tables
ALTER TABLE - ✔️✔️Modifies a table's definition (adds, modifies, or deletes attributes
or constraints)
DROP INDEX - ✔️✔️Permanently deletes an index
DROP VIEW - ✔️✔️Permanently deletes a view
Authentications - ✔️✔️the process DBMS uses to verify that only registered users
access the database
, Numeric - ✔️✔️Number( L, D) or Numeric(L, D)
Character - ✔️✔️Char (L)
Date (DATE) - ✔️✔️Stores dates in the Julian format
iNSERT: Command to insert data into table - ✔️✔️INSERT INTO tablename
VALUES();
COMMIT Syntax - ✔️✔️COMMIT [WORK];
UPDATE - ✔️✔️Command to modify data
Syntax - UPDATE tablename SET columnname = expression [, columnname =
expression] [WHERE conditionlist];
ROLLBACK - ✔️✔️Syntax -ROLLBACK;
Undoes the changes since last COMMIT
command
DELETE - ✔️✔️Command to delete
Syntax - DELETE FROM tablename
Subquery - ✔️✔️Query embedded/nested inside another query
= - ✔️✔️Equal to
< - ✔️✔️Less than
<= - ✔️✔️less than or equal to
> - ✔️✔️greater than
>= - ✔️✔️Greater than or equal to
<> or != - ✔️✔️Not equal to
Alias - ✔️✔️Alternate name given to a column or table in any SQL statement to
improve the readability
The Rule of Precedence - ✔️✔️Establish the order in which computations are
completed
Performed in this order:
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller PatrickKaylian. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.39. You're not tied to anything after your purchase.