Skip to content

Commit ea249b3

Browse files
authored
Update basic_sql.sql
1 parent 7464a5e commit ea249b3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

basic_sql.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ SELECT *(EVERYTHING) OR WHATEVER U WANNA SELECT FROM table_name WHERE (CONDITION
2929
UPDATE table_name
3030
SET column1 = value1, column2 = value2, ...
3131
WHERE condition;
32+
33+
--DELETING
34+
DELETE FROM table_name WHERE condition;
35+
36+
ALTER TABLE table_name ADD COLUMN/DROP column_name ; --(MANY MORE THINGS CAN BE DONE USING ALTER)
37+
38+
DROP TABLE table_name;
39+
DROP DATABASE database_name;
40+
41+

0 commit comments

Comments
 (0)