Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

C170 Performance Assessment QUESTION AND ANSWER

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
01-12-2023
Written in
2023/2024

Syntax for updating a specific column in a specific row - UPDATE table SET atrribute = value WHERE primary key = value; Syntax for deleting a row - DELETE FROM TableName WHERE PrimaryKey = #; Syntax for creating a view - CREATE VIEW name AS SELECT columnname CONCAT (attribute, ' ', attribute) AS newname, attributes FROM tablename Syntax to create an Index - CREATE INDEX indexname ON table (attribute); Syntax for inserting rows into a table - INSERT INTO TableName (ColumnName1, ColumnName2, ColumnName3) VALUES (Column1Value, Column2Value); Syntax for updating a value in a specific row - UPDATE TableName SET Attribute = NewValue WHERE PrimaryKey = #; Syntax for deleting a row from table - DELETE FROM TableName WHERE PrimaryKey = #; Going from Unnormalized to 1NF - Add a primary key

Show more Read less
Institution
Module

Content preview

C170 Performance Assessment QUESTION
AND ANSWER

Syntax for updating a specific column in a specific row - ✔✔UPDATE <table>

SET <atrribute> = <value>

WHERE <primary key> = <value>;



Syntax for deleting a row - ✔✔DELETE FROM <TableName>

WHERE <PrimaryKey> = <#>;



Syntax for creating a view - ✔✔CREATE VIEW <name>

AS SELECT <columnname>

CONCAT (<attribute>, ' ', <attribute>) AS <newname>, <attributes>

FROM <tablename>



Syntax to create an Index - ✔✔CREATE INDEX <indexname>

ON <table> (<attribute);



Syntax for inserting rows into a table - ✔✔INSERT INTO <TableName> (ColumnName1,
ColumnName2, ColumnName3)

VALUES (Column1Value, Column2Value);



Syntax for updating a value in a specific row - ✔✔UPDATE <TableName>

SET <Attribute> = <NewValue>

WHERE <PrimaryKey> = <#>;



Syntax for deleting a row from table - ✔✔DELETE FROM <TableName>

WHERE <PrimaryKey> = <#>;



Going from Unnormalized to 1NF - ✔✔Add a primary key

Written for

Module

Document information

Uploaded on
December 1, 2023
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

£6.62
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
eustacemaina122

Get to know the seller

Seller avatar
eustacemaina122 USIU
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 year
Number of followers
1
Documents
519
Last sold
1 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions