DML Flashcards

1
Q

INSERT DATA INTO TABLES

A

INSERT INTO tablename (collumnname1,collumnname2,…)

VALUES (‘value1,’value2’,…),(‘value1’,value2’,…);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UPDATE DATA IN TABLES

A

UPDATE tablename
SET columnname = ‘value’
WHERE columnname = ‘value’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DELETE DATA FROM TABLES

A

DELETE FROM tablename
WHERE columnname = value

DELETE FROM tablename
(διαγραφει ολα)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly