DELETE Operation

1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€85.31
List Price:  €119.44
You save:  €34.13
£73.93
List Price:  £103.51
You save:  £29.57
CA$137.38
List Price:  CA$192.33
You save:  CA$54.95
A$152.49
List Price:  A$213.50
You save:  A$61
S$128.32
List Price:  S$179.66
You save:  S$51.33
HK$779.61
List Price:  HK$1,091.49
You save:  HK$311.87
CHF 79.92
List Price:  CHF 111.90
You save:  CHF 31.97
NOK kr1,001.53
List Price:  NOK kr1,402.19
You save:  NOK kr400.65
DKK kr636.88
List Price:  DKK kr891.66
You save:  DKK kr254.77
NZ$169.27
List Price:  NZ$236.99
You save:  NZ$67.71
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,129.61
List Price:  ৳16,981.94
You save:  ৳4,852.32
₹8,820.96
List Price:  ₹12,349.69
You save:  ₹3,528.73
RM422.45
List Price:  RM591.45
You save:  RM169
₦153,119.68
List Price:  ₦214,373.68
You save:  ₦61,254
₨28,298.07
List Price:  ₨39,618.43
You save:  ₨11,320.36
฿3,229.82
List Price:  ฿4,521.88
You save:  ฿1,292.06
₺4,110.80
List Price:  ₺5,755.29
You save:  ₺1,644.48
B$544.74
List Price:  B$762.66
You save:  B$217.92
R1,757.93
List Price:  R2,461.17
You save:  R703.24
Лв166.73
List Price:  Лв233.43
You save:  Лв66.70
₩139,315.16
List Price:  ₩195,046.79
You save:  ₩55,731.63
₪334.96
List Price:  ₪468.96
You save:  ₪133.99
₱5,718.72
List Price:  ₱8,006.44
You save:  ₱2,287.71
¥14,711.57
List Price:  ¥20,596.79
You save:  ¥5,885.22
MX$1,860.71
List Price:  MX$2,605.07
You save:  MX$744.36
QR363.54
List Price:  QR508.98
You save:  QR145.43
P1,342.87
List Price:  P1,880.08
You save:  P537.20
KSh12,918.70
List Price:  KSh18,086.70
You save:  KSh5,168
E£4,858.40
List Price:  E£6,801.95
You save:  E£1,943.55
ብር14,207.39
List Price:  ብር19,890.91
You save:  ብር5,683.52
Kz91,186.38
List Price:  Kz127,664.58
You save:  Kz36,478.20
CLP$97,077.66
List Price:  CLP$135,912.62
You save:  CLP$38,834.95
CN¥713
List Price:  CN¥998.24
You save:  CN¥285.23
RD$6,289.01
List Price:  RD$8,804.87
You save:  RD$2,515.85
DA12,972.12
List Price:  DA18,161.49
You save:  DA5,189.37
FJ$225.10
List Price:  FJ$315.15
You save:  FJ$90.05
Q764.55
List Price:  Q1,070.41
You save:  Q305.85
GY$20,859.58
List Price:  GY$29,204.24
You save:  GY$8,344.66
ISK kr12,234.77
List Price:  ISK kr17,129.17
You save:  ISK kr4,894.40
DH899.20
List Price:  DH1,258.92
You save:  DH359.71
L1,662.76
List Price:  L2,327.94
You save:  L665.17
ден5,253.59
List Price:  ден7,355.25
You save:  ден2,101.65
MOP$800.90
List Price:  MOP$1,121.29
You save:  MOP$320.39
N$1,770.60
List Price:  N$2,478.91
You save:  N$708.31
C$3,675.04
List Price:  C$5,145.20
You save:  C$1,470.16
रु14,078.16
List Price:  रु19,709.99
You save:  रु5,631.82
S/353.04
List Price:  S/494.27
You save:  S/141.23
K420.89
List Price:  K589.26
You save:  K168.37
SAR375.22
List Price:  SAR525.32
You save:  SAR150.10
ZK2,352.53
List Price:  ZK3,293.64
You save:  ZK941.10
L432.72
List Price:  L605.83
You save:  L173.10
Kč2,084.93
List Price:  Kč2,918.98
You save:  Kč834.05
Ft33,719.57
List Price:  Ft47,208.75
You save:  Ft13,489.17
SEK kr940.77
List Price:  SEK kr1,317.11
You save:  SEK kr376.34
ARS$134,685.39
List Price:  ARS$188,564.93
You save:  ARS$53,879.54
Bs689.25
List Price:  Bs964.97
You save:  Bs275.72
COP$401,007.86
List Price:  COP$561,427.04
You save:  COP$160,419.18
₡50,407.82
List Price:  ₡70,572.96
You save:  ₡20,165.14
L2,619.12
List Price:  L3,666.88
You save:  L1,047.75
₲721,152.50
List Price:  ₲1,009,642.35
You save:  ₲288,489.85
$U4,000.21
List Price:  $U5,600.46
You save:  $U1,600.24
zł363.06
List Price:  zł508.30
You save:  zł145.24
Already have an account? Log In

Transcript

Hello, in this video we are going to cover the Delete operation, which I'm sure you can guess what it does allow you to delete a row or a selection of rows. So what we're going to do is delete the row which has a name of font, and first create a SQL query. Delete. Table, top left the table name. And now we're going to say where name equals So this is the condition for when the name equals home. Now, do you think you need to run it?

Troy to make sure we can delineate reporting and the main error that we would handle if something goes wrong, that we just rolled back the database, you can obviously print something out here as well. If you want to But the main thing is back cursor dot execute to actually run the query. So this just give the green light to go ahead and run it. And now we just make the changes to the database, save it, run it again, go to database add feed that row has now gone. So that's it for this video on the Delete operation. If you have any more questions, feel free to reach out and I look forward to seeing you in the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.